# AI agent

> Canonical: https://skillalmanac.com/glossary/ai-agent | Last verified: 2026-11-24 | Index status: index-eligible

In Poole and Mackworth's textbook, an agent is something that acts in an environment. For LLM-based agents, Anthropic describes systems where LLMs dynamically direct their own processes and tool usage.

Also called: AI agents.

## In plain language

In AI, an agent is something that acts in an environment (Poole and Mackworth). Anthropic says agents built on language models are typically just those models using tools, based on feedback from their environment, in a loop, and that they can pause for human feedback at checkpoints.

## Technical definition

Anthropic says agents need ground truth from the environment at each step, such as tool call results or code execution. The task often terminates upon completion, and stopping conditions such as a maximum number of iterations are common. IBM defines an AI agent as a system that autonomously performs tasks by designing workflows with available tools. The ReAct paper has an LLM generate reasoning traces and task-specific actions in an interleaved manner.

## How it shows up when you use agents

An LLM-based agent is a system in which a [large language model](/glossary/large-language-model) directs actions, such as tool calls, using feedback in a loop. Anthropic's guide says agents are typically just LLMs using tools based on environmental feedback in a loop. Related terms are [tool calling](/glossary/tool-calling) and [agent harness](/glossary/agent-harness).

In Anthropic's description, an agent gets ground truth from the environment at each step, such as tool call results or code execution, to assess its progress. Agents can pause for human feedback at checkpoints or when encountering blockers. The task often terminates upon completion, and Anthropic says it is common to include stopping conditions such as a maximum number of iterations to maintain control.

Anthropic also notes that agentic systems often trade latency and cost for better task performance. The wider category is [agentic AI](/glossary/agentic-ai).

## Common confusions

- **AI agent versus agentic AI.** Anthropic calls both workflows and agents agentic systems, and draws an architectural distinction between them. See [agentic AI](/glossary/agentic-ai).
- **Competing definitions.** Anthropic says some customers define agents as fully autonomous systems that operate independently over extended periods, while others use the term for more prescriptive implementations that follow predefined workflows. IBM defines an AI agent as a system that autonomously performs tasks by designing workflows with available tools.
- **Agent versus workflow.** In Anthropic's terms, workflows are systems where LLMs and tools are orchestrated through predefined code paths, while agents are systems where LLMs dynamically direct their own processes and tool usage.
- **Agent versus language model.** IBM says at the core of AI agents are large language models. Poole and Mackworth define an agent more broadly: agents include worms, dogs, thermostats, airplanes, robots, humans, companies, and countries.

## Worked examples in this catalogue

### [What Is an AI Agent? The Model, Tools and Memory Loop](https://skillalmanac.com/learn/what-is-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A hypothetical walkthrough of summarizing open bug reports, with placeholder list-issues and read-issue tool names and a loop that ends when the task is complete.

Why it exercises the concept: It illustrates how a model can choose tool calls and use their results in a loop; no recorded run is claimed.

### [How to Build an AI Agent: A Minimal Tool Loop](https://skillalmanac.com/learn/build-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A configurable illustrative Python loop using the Messages API, a model-ID placeholder, a stub weather tool and a MAX_STEPS iteration cap.

Why it exercises the concept: It illustrates a stopping condition in sample code that needs configuration; no successful execution is asserted here.

### [coding-agent-guardrails](https://skillalmanac.com/skills/skill-almanac/coding-agent-guardrails)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A pre-action checklist for coding agents plus a read-only audit of a repo's guardrail setup.

Why it exercises the concept: It is a skill aimed at coding agents.

## Related terms

- [Agentic AI](https://skillalmanac.com/glossary/agentic-ai.md)
- [Agent harness](https://skillalmanac.com/glossary/agent-harness.md)
- [Tool calling (function calling)](https://skillalmanac.com/glossary/tool-calling.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [Model Context Protocol (MCP)](https://skillalmanac.com/glossary/model-context-protocol.md)
- [Agent skill](https://skillalmanac.com/glossary/agent-skill.md)

## Sources

- [Building effective agents](https://www.anthropic.com/engineering/building-effective-agents), Anthropic (accessed 2026-11-24)
- [What are AI agents?](https://www.ibm.com/think/topics/ai-agents), IBM (accessed 2026-11-24)
- [ReAct: Synergizing Reasoning and Acting in Language Models](https://arxiv.org/abs/2210.03629), arXiv (Yao et al., 2022) (accessed 2026-11-24)
- [Artificial Intelligence and Agents: computational agents](https://artint.info/3e/html/ArtInt3e.Ch1.S1.html), Poole and Mackworth (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
