AI agent
An AI agent (LLM agent, agentic AI) is a program where an LLM works inside a harness: it picks its own steps, reads files, runs commands, calls tools and checks the result right inside your environment. Example: Claude Code gets the task “fix the failing test”, reads the code, makes an edit, runs the tests and repeats until the test passes.
Hover a zone or press ▶ Step
What an AI agent is made of
| LLM | Harness | AI agent | |
|---|---|---|---|
| LLM | ✓ | ✗ | ✓ |
| Agent loop | ✗ | ✓ | ✓ |
| Tool and tool calling | ✗ | ✓ | ✓ |
| MCP | ✗ | ✓ | ✓ |
| Context | ✗ | ✓ | ✓ |
| Agent memory | ✗ | ✓ | ✓ |
| CLAUDE.md, Project bible, Skill | ✗ | ✓ | ✓ |
| Permissions | ✗ | ✓ | ✓ |
| Sandbox | ✗ | ✓ | ✓ |
| Hooks | ✗ | ✓ | ✓ |
| Static checks | ✗ | ✓ | ✓ |
| Human in the loop | ✗ | ✓ | ✓ |
| Orchestration | ✗ | ✓ | ✓ |
| Logs and tracing | ✗ | ✓ | ✓ |
LLM agent architecture: LLM + harness (loop, tools, context, rules, checks).✓has✗none
Frequently asked questions
How is an AI agent different from a chatbot?
A chatbot answers with text. An AI agent picks its own steps, reads files, runs commands and checks the result in your environment.How is an AI agent built?
A neural network (LLM) works inside a harness: the model reasons, and the harness gives it tools, permissions and checks.AI agent examples · 5
- Claude Code · Claude Code is a coding agent from Anthropic: it reads the project, edits files, runs commands and tests, and works with git.
- Codex · Codex is a coding agent app from OpenAI on GPT models, and it is a different thing from ChatGPT: the chat answers with text, while Codex works in the project itself — it reads the code, edits files, runs commands and tests, and prepares pull requests.
- Cursor · Cursor is a code editor app from Anysphere, built on VS Code, with a built-in AI agent: you work in the editor, the agent sits next to you, and you pick its own models (Grok, Composer) or other vendors’ models; since 2026 Cursor has been owned by SpaceX.
- Hermes Agent · Hermes Agent is a free, open-source agent from Nous Research that you install on your own server or computer and connect to any model, through a vendor API or a local one.
- Yandex · Yandex is a Russian company that builds the Alice AI language models, and earlier the YandexGPT line.
Source: Anthropic: Building effective agents
Read more: AI agent = LLM + harness: LLM vs harness vs agent
Where it appears · 42
- Claude Code not available in your country · Harness
- Codex CLI not available in your country · Harness
- Claude Code · Harness
- Codex vs ChatGPT · Harness
- Cursor rules vs AGENTS.md · Specs and context
More 37
- Quint vs TLA+ · Specs and context
- Escalation to a human in AI agents · Harness
- AI agent maturity levels · Specs and context
- What are quality gates for AI agents · Harness
- What is OpenSpec, setup and commands · Specs and context
- Where to check an AI agent’s work · Specs and context
- Rice's theorem in plain words · Specs and context
- How many rules does a game need · Research
- How to find a race condition in code · Specs and context
- Model checking vs testing · Specs and context
- TLA+ vs Quint vs Alloy, which formal verification language to choose · Specs and context
- Which arrangement of balls on a ring takes longest to untangle · Research
- AI Rubik’s Cube solver beats 1,000+ teams on 4×4×4 and 5×5×5 · Research
- Short bug feedback loop · Harness
- Jira and an AI agent · Harness
- AI agent = LLM + harness · Harness
- MCP server and AI agent for 1C · Harness
- How many AI agents you need · Harness
- Will AI agents take your job · Harness
- Analytical reports with an AI agent · Harness
- Claude in Chrome · Harness
- The agent’s data plane and control plane · Harness
- Incident investigation with an AI agent · Harness
- MCP scopes in Claude Code · Harness
- Requirements and meeting notes with AI · Harness
- QA work after support with an AI agent · Harness
- MCP for an AI agent · Harness
- Codex vs Claude Code, which to pick, and when Cursor or Hermes Agent fits · Harness
- How to run and analyze interviews about AI use · Research
- ChatGPT Enterprise usage report from admin console exports · Research
- Harness engineering in practice · Harness
- Approaches to working with a harness · Prompts and review
- A reconcile loop for specs · Specs and context
- Specs by aggregate · Specs and context
- What are AGENTS.md and CLAUDE.md and how they differ from spec.md · Specs and context
- Who to interview before buying AI tools · Research
- Prompts for work tasks · Prompts and review