Skip to content
atlas

AI agent

Also known as: agentic AI

An AI system that does not just answer but acts - it plans steps and uses tools such as email, files or web search to reach a goal.

Draft - this entry has not been reviewed yet.

Formal

A system, usually built around a large language model, that is given a goal and tool access, then chooses and carries out actions in a loop - calling tools, reading results, deciding the next step - with little human input.

In plain English

Like an assistant given your keys and a to-do list rather than a chat window - useful, but only as safe as the keys you hand over.

In practice

A ministry tests an agent that arranges meetings - it reads officials' calendars, books rooms and sends invitations under its own account, and every action it takes is logged for review.

Why it matters

An agent that reads untrusted text can be tricked into acting against its owner, so the harm it can do is set by what it may reach and do, not by how well it chats.

Technical deep dive

Architecturally, an agent is a control loop wrapped around a stateless model. The harness sends the model a context containing the goal, a system prompt, the conversation so far and a set of tool definitions (name, natural-language description, JSON Schema for the arguments). The model replies either with text or with one or more structured tool calls; the harness validates and executes each call, appends the result to the context as a tool-result message, and calls the model again. The loop ends when the model emits a final answer, a step or token budget is exhausted, or a human interrupts. The pattern was popularised by ReAct (Yao et al., 2022), which interleaved "thought", "action" and "observation" steps, and became a product feature with native function calling in commercial APIs from 2023; the Model Context Protocol later standardised how tools and data sources are exposed to such loops.

The model itself never executes anything. Every capability an agent has is granted by the harness: which tools are registered, which credentials those tools run with, whether calls are auto-approved or queued for confirmation, and what the sandbox allows (file system, network egress, shell). This is why a common distinction, used for example in Anthropic's "Building effective agents" (2024), separates workflows, where code fixes the sequence of LLM calls, from agents, where the model chooses the next step dynamically. Workflows are easier to test and audit; agents trade predictability for flexibility on open-ended tasks.

Failure modes differ from those of a chat assistant. Errors compound over many steps, so a small misreading early on can lead to a long chain of confident but wrong actions. Long runs fill the context window with tool output, which degrades recall and is the main driver of context engineering techniques such as summarising or pruning results. Agents can loop, repeat a failing call, or declare success without verifying it, so production harnesses add step limits, cost limits, timeouts and explicit verification steps such as running tests.

The security model is dominated by the fact that tool results are just more text in the context. Anything the agent reads - a web page, an email, a file in a repository - can carry indirect prompt injection that redirects the next tool call. OWASP's Top 10 for LLM Applications 2025 lists this as LLM01 Prompt Injection and the resulting over-permissioned behaviour as LLM06 Excessive Agency, broken down into excessive functionality, excessive permissions and excessive autonomy. The practical controls follow from that decomposition: register only the tools a task needs, run them under a dedicated service account with least privilege rather than a user's own token, require human-in-the-loop approval for irreversible or costly actions, isolate execution in a sandbox, and log every tool call with its arguments so actions can be reconstructed afterwards.

What to learn first

Everything this builds on, foundations first.

  1. Token
  2. →Transformer
  3. →Large language model (LLM)
  4. →Prompt
  5. →AI agent

Relationships

Don't confuse with
Agentic workflow

Sources & further reading

Standards & official texts

  • NIST AI 100-1 - Artificial Intelligence Risk Management Framework (AI RMF 1.0) · NIST

Reference works

  • OWASP Top 10 for Large Language Model Applications (Excessive Agency) · OWASP

Textbooks

  • Russell & Norvig, Artificial Intelligence: A Modern Approach · Pearson

Where this data comes from

This entry was drafted by an AI from the sources above and has not yet been checked by a person. Treat it as a starting point, and check anything important against the sources.

See the review queueSuggest a correction on GitHubThis term as JSON

Mentioned in

Check yourself

Loading…

Atlas is in beta.