アプリケーションガイド

AIエージェント

An AI agent is a system that uses observations and a goal to choose actions, often through tools, and then evaluates what happened.

2分の読書最終更新日 Part of the Building with AI Systems learning path

概要

Products use the term differently. The practical questions are what the system can do, under whose authority, and how completion is verified.

主なポイント

  • Specify authority and stopping conditions.
  • Treat external instructions as untrusted content.
  • Verify final state and disclose partial completion.

ディープダイブ

A typical agent loop observes the current state, selects an action, receives a result, and decides whether to continue. The model may participate in planning or action selection, while ordinary software enforces permissions, budgets, and tool contracts. Define the stopping conditions before execution. A task can be complete, blocked, cancelled, or only partially achieved. Repeated attempts without new evidence can waste resources or repeat harmful side effects. Limit action count, elapsed time, and spending where relevant. External content can contain instructions that conflict with the user’s goal. Treat pages, messages, and tool responses according to their trust level. A document describing an action does not grant permission to carry it out. Evaluate real outcomes. For a file-editing agent, inspect the final files and run appropriate checks. For an account workflow, verify the intended account and state. Record enough evidence to explain what changed and what remains uncertain. More autonomy increases the importance of clear boundaries and recovery procedures.

技術的な洞察

An agent can produce a convincing account of success while its tools failed. Completion should be tied to observable postconditions, not to generated narration.

Define completion before acting

  1. Suppose an agent must create a draft event for Tuesday at 2 p.m. in a specified calendar.
  2. The postconditions include the correct calendar, date, time zone, title, and draft state. A successful tool response alone is not enough if it saved to another calendar.
  3. Read the resulting record and report any mismatch before declaring the task complete.

The invented workflow demonstrates outcome-based verification.

戦略的影響

ビルドの選択

AI が実際の成果を向上させるかどうかは、アプリケーション レベルの設計によって決まります。

チームとワークフロー

ワークフローを適切に統合すると、ユーザーが信頼できる生産性が向上します。

リスクと安全性

適切な範囲のユースケースにより、変更の疲労と実装のリスクが軽減されます。

現実世界の実装

Repair a failing test, then rerun it and inspect the change.

Collect authorized records and produce a report with traceable sources.

リスクとガードレール

壊れたプロセスを自動化すると、既存の問題がさらに拡大する可能性があります。

チームが過剰に自動化し、必要な人間の判断を排除してしまう可能性があります。

出力が継続的に評価されないと、品質が変動する可能性があります。

実装ロードマップ

1

現在のワークフローをマッピングし、最も摩擦が大きいステップを特定します。

2

完全自動化の前に人間によるチェックポイントを定義します。

3

プロンプト、エスカレーション パス、品質基準についてユーザーをトレーニングします。

4

タスクレベルの結果を追跡して、持続的な価値を確認します。

出典とさらなる参考文献

探検を続けましょう

Free newsletter

Get the daily AI briefing

Three verified AI stories every weekday morning, written in plain English. Free forever, no ads.

One email each weekday. Unsubscribe in one click. We never sell or share your address.

Test yourself

Take the AI Agents quiz

Instant feedback on every answer, and a shareable certificate with a verifiable ID once you pass a course.

クイズを開始する

Support free AI education. AI Understanding is a 501(c)(3) nonprofit — no ads, no paywall, ever. Make a donation

Next in Building with AI Systems

AI ワークフローの自動化

よくある質問

Does an agent need unrestricted access?

No. Narrow tools and permissions can support useful work while limiting the consequences of mistakes.