予算とガードレール
請求額に気づくまでループが実行され続けるのを防ぐ仕組みです。
「予算とガードレール」はCoddyKit上の無料AI Agentsレッスンです。 これはレッスン4/4です。 下記で完全なレッスンを無料で読むことができます。その後、ブラウザ内の組み込みコードエディタと24時間対応のAIチューターでハンズオン演習できます。 これはAI Agents学習パスの一部であり、ウェブとCoddyKitアプリ全体で進捗が同期されます。 AI Agentsコースには全4レッスンが含まれています。
このレッスンの一部はまだ翻訳されておらず、英語で表示されています。
An agent with no limits is not ambitious, it is unbilled. Two limits do most of the work: how many steps it may take, and which tools it may touch.
This one has a budget of three steps. Watch it run out.
[{"type":"USER","text":"Find every mention of our product in the last year and summarise the sentiment."},
{"type":"THOUGHT","text":"This is broad. I will start searching."},
{"type":"TOOL_CALL","tool":"docs.search","args":{"query":"product mentions"}},
{"type":"TOOL_RESULT","tool":"docs.search","result":{"results":[{"topic":"evaluation","text":"Agents are judged on task success, cost and guardrail violations."}]}},
{"type":"THOUGHT","text":"One partial hit. I would need many more searches to cover a year."},
{"type":"ERROR","text":"step budget exhausted (3/3)"},
{"type":"ANSWER","text":"I could not finish within my step budget. I found one relevant note; a full year needs a wider search."}]It stopped and said so. That is the desired behaviour: a bounded failure you can read, instead of an unbounded loop you discover on an invoice. Least privilege applies too — give an agent only the tools its task needs, because anything it can reach, an injected instruction can reach.
Last one.
よくある質問
「予算とガードレール」レッスンは無料ですか?
はい。「予算とガードレール」の完全なテキストはこのウェブで無料で読めます。インタラクティブに演習し(組み込みコードエディタと24時間対応のAIチューター)、AI Agentsコースの残りをアンロックするには、CoddyKit PROにアップグレードしてください。 AI Agentsコースには全4レッスンが含まれています。
「予算とガードレール」で何を学びますか?
請求額に気づくまでループが実行され続けるのを防ぐ仕組みです。 ブラウザで直接実行するハンズオンコードでAI Agentsを演習し、24時間対応のAIチューターがレッスンを進める中での質問に答えます。
AI Agentsを始めるのに経験は必要ですか?
事前経験は必要ありません。CoddyKitのAI Agentsは初級者から上級者向けに構成されているため、ここから始めるか最初から始めて、自分のペースで進むことができます。 これはレッスン4/4です。
「予算とガードレール」レッスンにはどのくらい時間がかかりますか?
ほとんどのCoddyKitレッスンは約5~10分かかります。各レッスンはコンパクトでインタラクティブなので、着実に進歩し、ウェブとアプリ全体で正確に前回の場所から再開できます。
このAI Agentsレッスンでコードを書いて実行できますか?
はい。すべてのAI Agentsレッスンに組み込みコードエディタが含まれているため、ブラウザでリアルコードを書いて実行し、即座のAIフィードバックを取得できます。ローカル設定は不要です。
このコースのすべてのレッスン
- ループ
- ツールが拒否したとき
- 根拠があるか、推測か
- 予算とガードレール