technical-term · Foundations · maturing · Reviewed

What is an AI agent?

AI agent

A goal-directed software system in which a model dynamically chooses steps and tools, observes results, updates working state, and continues until an exit condition or human handoff.

Definition

An AI agent is a goal-directed software system in which a model dynamically chooses steps and tools, observes the results, updates its working state, and continues until it reaches an exit condition or hands control to a human. The model is only the reasoning component: a production agent also needs governed instructions, context, tools, identity, permissions, state, an execution harness, constraints, telemetry, evaluation, independent verification, and accountable human authority.

The core loop is established, while architecture boundaries, assurance practices, and standards for consequential agents are still converging.

Why it matters

Agency begins when the model can select the next action from observed state rather than merely return one response along a fixed application path.

The loop makes the system useful across uncertain, multi-step work—and also creates new failure surfaces because one model output can change the next context, tool call, or real-world effect.

Enterprise readiness comes from the surrounding system: bounded standing, deterministic enforcement, independently owned checks, recorded evidence, and a named human disposition.

An agent can be assistive, read-only, transactional, or consequential. “Agent” describes an execution pattern; it does not grant autonomy, authority, or trust.

System anatomy

Goal
A bounded outcome and success condition the system is trying to reach.
Model
The probabilistic reasoning component that interprets state and proposes the next step.
Instructions & policy
Behavioral direction plus enforceable rules that constrain what actions may take effect.
Context
The selected information made visible for the current decision—not every available document.
Tools
Typed interfaces through which the agent can retrieve information or change an environment.
Identity & standing
An attributable non-human identity with purpose-bound, time-bound permissions conferred by governance.
Working state & memory
Task progress, observations, decisions, and durable knowledge carried across steps or sessions.
Execution harness
The runtime loop, checkpoints, retries, budgets, environments, and stop conditions around the model.
Verification
Deterministic and agentic checks, independently owned where acceptance or risk disposition is involved.
Evidence & observability
Attributable traces and artifacts showing inputs, decisions, actions, checks, approvals, and outcomes.
Exit & human handoff
A finite completion, block, escalation, or named human disposition—not an endless retry loop.

Important distinctions

Chatbot
A chatbot primarily exchanges messages; an agent selects and executes steps against an environment.
Agentic workflow
A workflow follows largely predetermined control flow; an agent dynamically determines at least part of the path.
Large language model
A model predicts outputs from inputs; the agent is the surrounding goal-directed software system.
Robotic process automation
Traditional automation follows explicit rules; agents can choose among actions under uncertainty, within enforced bounds.
Authority
Technical ability to call a tool is not organizational standing to take the action. Governance confers standing; the control plane enforces its limits.

Implementation signals

  • Start with the smallest degree of agency that can produce the intended value
  • Give every consequential action an attributable identity, purpose, scope, and expiry
  • Use typed, narrow tools and validate inputs and effects outside the model
  • Separate instructions from untrusted data and retrieved content
  • Combine deterministic checks with independent agentic verification
  • Define budgets, retries, completion, hold, escalation, and stop paths before runtime
  • Preserve an evidence chain from intent through human disposition and production outcome
  • Reclassify and recertify when models, tools, data, owners, or impact change

Failure modes

  • An open-ended loop that retries without new evidence or a finite stop condition
  • Tool access being mistaken for permission or business authority
  • The same model lineage building and independently accepting its own output
  • Retrieved or user-authored content overriding trusted instructions
  • Long contexts hiding stale, contradictory, or irrelevant state
  • Rich traces with no tested path to block, hold, revoke, or escalate
  • A named agent remaining active after purpose, owner, or authorization expires

Sources and further study

  1. Anthropic — Building effective agents

    A foundational distinction between fixed, code-orchestrated workflows and systems in which a model dynamically directs its process and tool use.

    Use in this library: Primary definition. The workflow-versus-agent distinction is a useful architecture boundary, not a universal taxonomy or proof that autonomous execution is preferable.

    engineering · engineering · Published 2024-12-19
  2. Anthropic — Trustworthy agents in practice

    Describes a self-directed plan–act–observe–adjust loop and the engineering layers needed to make longer-horizon agents more trustworthy.

    Use in this library: Primary definition. This first-party synthesis describes design directions and failure surfaces; it is not a certification scheme or evidence that every described control is sufficient.

    guidance · guidance · Published 2026-04-09
  3. OpenAI — A practical guide to building agents

    Defines a practical agent around a model, tools, instructions, and a run loop that continues until an exit condition is reached.

    Use in this library: Primary definition. The guide is first-party product guidance and a simplified starting architecture, not a complete regulated-enterprise control model.

    guidance · guidance · Published 2025
  4. arXiv / ICLR — ReAct: Synergizing Reasoning and Acting in Language Models

    Studies interleaved reasoning traces and environment actions, a foundational pattern for model-driven agent loops.

    Use in this library: Primary definition. Reported benchmark gains do not establish reliability for open-ended production environments or permission for consequential action.

    paper · paper · Published 2022-10-06
  5. NIST NCCoE — Identity and Authority for Software Agents concept paper

    A concept paper exploring how established identity and authorization practices can apply to software and AI agents.

    Use in this library: Official guidance. Guidance describes recommended practice; citation does not prove that a control is implemented or effective in a particular environment.

    guidance · guidance · Published 2026-02-05
  6. Peter Yang — 5 Rules for Building AI Agents That Work in Production | Nan Yu & Jacob Shumway

    A Linear engineering discussion of production agents, tool design, context loading, feedback, evaluation, and simple model-in-a-loop explanations.

    Use in this library: Practitioner perspective. The five rules and “LLM in a loop plus tools” shorthand reflect one product team’s experience; they are not a standard or a complete enterprise-agent definition.

    video · video · Published 2026-08-09