Agent Loop
エージェントループ
エージェントループは制御されたサイクルです。エージェントは状態を確認し、許可されたツールで行動し、結果を読み取り、その後停止するか続行します。
もう一つの例
プランナーは、スキーマデータを読んで、安全なチェックを一つ提案して、結果を記録するよ。プロダクションには触れずに、自分のステップ限界で止まるよ。
主な部分
- 01状態と目標
- 02制限されたアクション
- 03観測して停止
以下の場合に使用します
新しい結果ごとに次の行動が変わる場合に使用してください。停止、コスト、許可、失敗のルールを設定してください。
以下の場合は使用しないでください
終わりのないやり直し、あいまいな成功、確認されていないツールの効果、権限や証拠がなくなった後の作業は避けてください。
コードで使用する名前
state → decide → tool → observe → stop/continue 出荷前に
Check the model and prompt versions, source data, versioned evaluation set, and measures. Verify links to evidence, tool permissions, privacy, common failures, decline-to-answer and fallback behavior, human review, monitoring, cost, speed, and rollback.
Outcome:Complete the task with エージェントループ (Agent Loop)。 User context:プランナーは、スキーマデータを読んで、安全なチェックを一つ提案して、結果を記録するよ。プロダクションには触れずに、自分のステップ限界で止まるよ。 AI method or concept:エージェントループ (Agent Loop)。 Why it fits:新しい結果ごとに次の行動が変わる場合に使用してください。停止、コスト、許可、失敗のルールを設定してください。 Do not use it when:終わりのないやり直し、あいまいな成功、確認されていないツールの効果、権限や証拠がなくなった後の作業は避けてください。 AI requirements: Define the input and source evidence. Set model and tool permissions. Use versioned evaluation data and measures. Define failure, decline-to-answer, privacy, speed, and cost limits. Operational safeguards: Keep a clear trace and hide sensitive log data. Show users a safe fallback. Mark steps that need human review. Define how to roll back the model or prompt. Acceptance criteria: Record baseline and target measures on a versioned evaluation set. Test edge cases and hostile inputs. Verify fallback, monitoring, permissions, and rollback. Evidence and limits (evidence boundary):単一の公式標準が全体の用語を管理するわけではありません。その意味はチーム、プラットフォーム、またはフレームワークによって変わる可能性があります。 Unknowns to confirm: Target task, model and version, evaluation owner, source data, risk limit, tool permissions, and production fallback.
このリクエストを確認する
Review how エージェントループ (Agent Loop) is used now. Definition: エージェントループは制御されたサイクルです。エージェントは状態を確認し、許可されたツールで行動し、結果を読み取り、その後停止するか続行します。 Release checks: Check the model and prompt versions, source data, versioned evaluation set, and measures. Verify links to evidence, tool permissions, privacy, common failures, decline-to-answer and fallback behavior, human review, monitoring, cost, speed, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.