AI English Shift · Lessons / E03
Tool-using systems and bounded autonomy
工具使用系统与有边界的自主性
Open the interactive lesson · 打开互动课程An agent loop repeatedly observes available information, selects a next action, receives a result, and decides whether more work is needed.
智能体循环会反复观察可用信息、选择下一步动作、接收结果,并判断是否还需要继续工作。
エージェントのループは、情報の観察、次の行動の選択、結果の受領、追加作業の判断を繰り返します。
The surrounding application should make the possible states explicit, including running, waiting for approval, failed, cancelled, and completed.
外围应用应明确列出可能的状态,包括运行中、等待批准、失败、已取消和已完成。
周囲のアプリは、実行中、承認待ち、失敗、キャンセル、完了など、取り得る状態を明示すべきです。
A completed model message is not necessarily a completed business transaction, so state transitions need evidence from the relevant system.
一条模型消息结束,并不一定代表业务事务已经完成,因此状态转换需要相关系统提供的证据。
モデルのメッセージが完成しても業務処理が完了したとは限らないため、状態遷移には対象システムの証拠が必要です。
Tool descriptions should distinguish inspection from mutation and should define what a successful result means.
工具说明应区分查看操作和修改操作,并定义什么样的结果才算成功。
ツールの説明では調査と変更を区別し、成功した結果の意味を定義すべきです。
For a write operation, validate arguments, enforce authorization, and decide how ambiguous retries are handled.
对于写入操作,应验证参数、执行授权检查,并决定如何处理执行结果不明确时的重试。
書き込み操作では、引数の検証、認可の適用、不明確な再試行の扱いを決めます。
Use idempotency where supported, and design compensating actions when an external change cannot simply be rolled back.
在支持的情况下应采用幂等机制;如果外部变更无法直接回滚,就需要设计补偿操作。
対応していれば冪等性を使い、外部変更を単純に戻せない場合は影響を補う操作を設計します。
An adaptive process can be bounded by deadlines, tool budgets, permitted destinations, and explicit human decision points.
可以通过截止时间、工具调用预算、允许访问的目标,以及明确的人工决策节点,约束自适应过程。
適応的な処理にも、期限、ツール利用上限、許可する宛先、人が判断する地点によって制限を設けられます。
Parallel work is useful when tasks are independent, but two agents editing the same artifact may conflict or duplicate effort.
任务相互独立时,并行工作很有帮助;但两个智能体编辑同一份产物,可能发生冲突或重复劳动。
作業が独立していれば並列化は有用ですが、二つのエージェントが同じ成果物を編集すると衝突や重複が起こり得ます。
A delegated task should specify its input, output contract, permitted scope, and how its evidence will be checked by the coordinator.
委派任务应明确输入、输出契约、允许的范围,以及协调者将如何核查返回的证据。
委任する作業には、入力、出力の約束、許可範囲、調整役が根拠を確認する方法を明記すべきです。
Do not assume a subagent's confidence substitutes for inspecting the returned artifact or test results.
不要以为子智能体表现得很有把握,就可以省略对返回产物或测试结果的检查。
サブエージェントの自信が、返された成果物やテスト結果の確認の代わりになると考えてはいけません。
Compare the loop with a predetermined workflow on the same representative cases before expanding its autonomy.
在扩大自主权之前,应使用相同的一组代表性案例,把这种循环与预先确定的工作流进行比较。
自律性を広げる前に、同じ代表的な事例で、そのループを事前に定めたワークフローと比較します。
Useful autonomy is demonstrated by better task outcomes under acceptable cost and control, not by a larger number of tool calls.
有用的自主性体现在成本和控制程度可接受的前提下,任务结果变得更好,而不是工具调用次数变得更多。
有用な自律性は、ツール呼び出しの多さではなく、許容できる費用と制御の下で、より良い成果が得られることで示されます。
Key terms
- Agent: A system in which a model has some control over action selection or task progression, usually through tools and a surrounding runtime.
- Tool call: A structured proposal or invocation identifying a tool and its arguments, depending on the trace convention.
- Permission mode: A configuration controlling which operations may execute automatically and which require additional approval.
- Subagent: An execution context delegated work by another agent or orchestrator.
- Workflow: A coordinated process whose control paths are substantially specified in advance, possibly using models and branches.
- Idempotency: A property or mechanism under which repeating an operation preserves the intended single logical effect.