A LinkedIn post listed "9 agentic AI concepts": harness, memory and state, skills, RAG, MCP, evals, orchestration, multi-agent and agent-to-agent. It's a good list, but it leaves out pieces that show up in every serious conversation about agents, like context, rules, tools, guardrails, human-in-the-loop and observability. And listing concepts one by one hides the most important part: how they connect.
This article is the map. Each concept gets a short definition taken from the primary source, what it's for and where it usually goes wrong. I use several of them every day, with two coding agents working on the same server, and I point out where each one made a difference.
The Core: Agent, Loop and Tools
Agent. Anthropic separates two kinds of system. Workflows are "systems where LLMs and tools are orchestrated through predefined code paths"; agents are "systems where LLMs dynamically direct their own processes and tool usage" (Anthropic, 2024). Simon Willison put it in one sentence: "An LLM agent runs tools in a loop to achieve a goal" (2025). If the difference from a chatbotProgram that talks by text or voice, replying to messages from a script or a language model. It answers, but usually does not act outside the chat. still isn't clear, I wrote about it in AI agent or chatbot.
Loop. The agent calls the model, runs what it asked for, hands back the result and repeats. On every turn it needs "ground truth" from the environment, like a test result, and a stop condition, like a maximum number of iterations.
Tools (tool calling or function calling). Functions you describe to the model and that it can ask to call. The model doesn't run anything: it returns the tool name and the arguments, and your application runs it and hands back the result (Anthropic, tool use). One detail says a lot: in the agent Anthropic built for SWE-bench, the team spent more time tuning the tools than the prompt. The model got relative paths wrong; the tool started requiring absolute paths and the error went away.
Planning and reasoning. The ReAct paper, from 2022, showed the gain from interleaving reasoning and action, "both reasoning traces and task-specific actions in an interleaved manner". It beat the comparison methods by 34 and 10 absolute points of success rate on ALFWorld and WebShop (Yao et al., 2022). It's the foundation of almost every agent today.
What the Agent Reads
Context. Everything the model sees in a call. It's finite and it degrades: as it grows, the model's ability to "accurately recall information from that context decreases" (Anthropic, 2025). Context engineering is choosing what goes in at each step.
Rules and instructions. The fixed text that says how the agent behaves: system prompt, AGENTS.md, CLAUDE.md. AGENTS.md defines itself as "a README for agents", is used in more than 60,000 projects and is maintained by the Agentic AI Foundation, part of the Linux Foundation (agents.md). One caveat the Claude Code docs spell out: the file is treated "as context, not enforced configuration". A rule that can't be broken needs a hook.
Memory and state. LangGraph separates short-term memory, which lasts within a conversation and is saved through checkpoints, from long-term memory, which keeps data across sessions. And it splits long-term memory into semantic (facts), episodic (what happened) and procedural (the rules for how to do things) (LangGraph). In practice, a lot of good agents keep memory in files: progress, decisions, a task list.
RAG. Retrieving relevant passages from a knowledge base and putting them in the context before answering. It comes from the 2020 paper by Patrick Lewis and colleagues (arXiv). When RAG pays off and when it's better to load everything into the context is covered in RAG vs CAG; techniques to improve retrieval are in RAG techniques.
What the Agent Uses
Skills. Folders with instructions, scripts and resources that the agent discovers and loads when it needs them. "A skill is a directory containing a SKILL.md file"; only the name and description go into the context at startup, and the rest comes on demand, which is called progressive disclosure. It became an open standard in December 2025 (Anthropic, 2025). Anthropic itself warns: only install skills from trusted sources, because they can bring code with them.
MCP (Model Context Protocol). An open standard for connecting agents to tools and data without a custom integration for each one. It uses JSON-RPC 2.0 and defines servers that offer tools, resources and prompts (specification). The spec says tools represent "arbitrary code execution" and asks for explicit user consent before calling them. When to use MCP and when an APIContract that defines how one program asks another for data or actions: which endpoints to call, what to send and what comes back. On the web, usually HTTP with JSON. does the job is in MCP or API.
Computer use. The agent sees the screen through screenshots and controls the mouse and keyboard. Anthropic launched it in October 2024 as a "still experimental" beta, scoring 14.9% on OSWorld with screenshots only, almost double the runner-up at the time (Anthropic, 2024). It's useful for systems without an API, at the cost of being slow and brittle.
What Sits Around It: Harness, Hooks and Sandbox
Harness. Everything that isn't the model: the loop, the tools, the permissions, context compaction, file-based memory and verification. The formula that caught on is agent = model + harness (martinfowler.com, 2026). With the same model, changing only the harness, LangChain took an agent from 52.8% to 66.5% on Terminal-Bench 2.0. This concept has its own article: context engineering vs harness engineering.
Hooks. Commands that run on their own at fixed points in the agent's cycle. In Claude Code, a PreToolUse hook runs before every tool and can block it; exiting with code 2 blocks the action (Claude Code, hooks). This is where you put whatever can't depend on the model's goodwill: lint before a commit, a lock on destructive commands.
Sandbox and permissions. File and network isolation, so a tricked agent can't walk off with your keys. Anthropic measured that the sandbox cut permission prompts in Claude Code by 84%, because inside it you can safely allow more (Anthropic, 2025).
Protection: Guardrails and Human-in-the-loop
Guardrails. Checks on the agent's input and output. OpenAI asks you to think of them as "a layered defense mechanism": several simple filters in layers instead of a single one (OpenAI, agents guide). To know what to protect against, OWASP published the Top 10 for agentic applications, with risks like goal hijacking, tool misuse, privilege abuse and memory and context poisoning (OWASP, 2025).
Human-in-the-loop. The agent pauses and asks for approval. OpenAI points to two triggers: exceeding a failure threshold, and high-risk actions, "sensitive, irreversible, or have high stakes". In LangGraph this is an interrupt, which pauses the graph and only resumes with the answer, as long as a checkpointer is keeping the state (LangGraph).
Teamwork: Orchestration, Multi-agent and A2A

Orchestration. How you chain calls and agents. Anthropic cataloged five patterns (2024):
| Pattern | How it works | When to use |
|---|---|---|
| Prompt chaining | each call processes the previous one's output | a task that splits into fixed steps |
| Routing | classifies the input and sends it down the right path | very different kinds of request |
| Parallelization | several calls at once, results combined | independent parts or voting |
| Orchestrator-workers | a central LLM splits and delegates dynamically | subtasks you only know at runtime |
| Evaluator-optimizer | one generates, another evaluates and sends it back, in a loop | when there's a clear quality criterion |
Multi-agent. Several agents with different roles working together. Anthropic's research system, with a lead agent and parallel subagents, outperformed a single agent by 90.2% on the internal evaluation. The cost: agents use about 4 times more tokens than a chat, and the multi-agent system about 15 times more (Anthropic, 2025). One day earlier, Cognition published the counterpoint: in 2025, running several agents in collaboration "only results in fragile systems", because decisions made without the full context conflict with each other (Cognition, 2025). Both agree on the essentials: multi-agent works when the parts are independent, and breaks when they all need the same context.
Subagents. A helper agent with its own context windowMaximum amount of text, measured in tokens, that a language model can take into account at once, counting both input and output., its own prompt and its own tools, which returns only a summary to the main agent (Claude Code). It's the cheapest use of the multi-agent idea: it isolates a long search without polluting the main context. In my workflow, source research and translation run this way, in parallel.
A2A (agent-to-agent). An open protocol launched by Google in April 2025 with more than 50 partners, so agents from different systems can talk to each other (Google, 2025). Each agent publishes an Agent Card in JSON, and work is exchanged as tasks with a lifecycle. It moved to the Linux Foundation in June 2025. The split is simple: MCP connects the agent to tools; A2A connects the agent to another agent.
Measurement: Evals, Observability and Tracing
Evals. Tests for an AI system: an input plus grading logic applied to the output (Anthropic, 2026). Two metrics change how you read the results: pass@k (at least one success in k attempts) and pass^k (all k correct). An agent that gets 75% right per attempt gets 3 out of 3 right only about 42% of the time. The advice for getting started is concrete: "20-50 simple tasks drawn from real failures is a great start." And even the eval can be wrong: on CORE-Bench, one model's score went from 42% to about 95% after the grading was fixed.
Observability and tracing. Recording every step of the agent: model call, tool, arguments, result, time and cost. Anthropic says it could only fix its research agents systematically after turning on full tracing in production. The OpenAI Agents SDK comes with built-in tracing to visualize and debug flows (OpenAI Agents SDK).
Where to Start
- One well-made call, with clear instructions and, if needed, RAG. Many cases stop here.
- A workflow (chaining or routing) when the steps are known.
- An agent with a few tools, well described, and a harness with permissions and verification.
- Evals and tracing before growing: 20 to 50 real tasks and a record of every step.
- Subagents or multi-agent only when there are independent parts and the gain pays the token bill.
The same Gartner prediction says more than 40% of agentic AI projects will be canceled by the end of 2027, due to "escalating costs and unclear business value". The antidote is in the map itself: pick the smallest set of pieces that solves the problem, and measure before adding another one.
When to create a skill and when to create an agent, and where MCP and hooks fit into that choice, is in agents or skills.
Tools to Try
- MCP documentation, to see how a tool is described to the agent.
- Chrome DevTools MCP, an example of a tool that becomes a sensor: the agent opens the page and checks it.
- Jules, an asynchronous coding agent that shows its plan before touching anything, a good example of human-in-the-loop.
- Ollama, to build a test agent with an open model and watch the loop run with no per-token cost.
Quick check
Frequently Asked Questions
What is agentic AI?
Systems where the model decides its own steps and uses tools in a loop to reach a goal, instead of just answering a question. Anthropic distinguishes agents, which direct their own process, from workflows, where the path is written in code.
What's the difference between an agent and a workflow?
In a workflow, the path is fixed and the LLM runs steps you defined. In an agent, the LLM decides the next action on every turn. A workflow is more predictable and cheaper; an agent is more flexible for open-ended tasks.
Are MCP and A2A competitors?
No. MCP connects an agent to tools and data; A2A connects agents to each other. Google itself presented A2A as a complement to MCP, and both are now under the Linux Foundation.
Do I need multi-agent?
In most cases, not at first. Multi-agent pays off when the task splits into independent parts, like researching several topics in parallel, and it costs a lot more tokens. Start with one agent and subagents to isolate long searches.
What is a harness in AI?
Everything around the model that lets it work as an agent: loop, tools, permissions, sandbox, hooks, memory and verification. With the same model, a better harness changes the result a lot.
What are agent evals?
Sets of tasks with a success criterion, run on every change to the agent. They show whether a change to the prompt, a tool or the model made things better or worse, and they act as a safety net before going to production.
Are skills and rules the same thing?
No. Rules (like AGENTS.md) go into the context in every session. Skills are stored and only loaded when the task calls for them, which saves context. Rules say how to work all the time; skills teach one specific task.
Which concepts should I study first?
Agent and loop, tools, context and evals. With those four you understand the rest of the map, and the others are ways to protect, organize or scale the same loop.
References
- Anthropic, Building effective agents, 2024.
- Anthropic, How we built our multi-agent research system, 2025.
- Anthropic, Effective context engineering for AI agents, 2025, and Equipping agents for the real world with Agent Skills, 2025.
- Anthropic, Claude Code sandboxing, 2025, and Demystifying evals for AI agents, 2026.
- Anthropic, Introducing computer use, 2024.
- OpenAI, A practical guide to building agents, and OpenAI Agents SDK, accessed in 2026.
- Cognition, Don't Build Multi-Agents, 2025.
- Google, A2A: a new era of agent interoperability, 2025, and Linux Foundation, Agent2Agent protocol project, 2025.
- Linux Foundation, Agentic AI Foundation, 2025, and Model Context Protocol, specification, 2026.
- LangChain, LangGraph: memory and interrupts, accessed in 2026.
- Claude Code, documentation on hooks, subagents and memory, accessed in 2026.
- OWASP, Top 10 for Agentic Applications, 2025.
- Shunyu Yao et al., ReAct: Synergizing Reasoning and Acting in Language Models, 2022.
- Simon Willison, definition of an agent, 2025.
- Gartner, prediction on agentic AI projects, via Reuters in The Star, 2025.
- Book: Chip Huyen, AI Engineering: Building Applications with Foundation Models, O'Reilly, 2025. Chapter 6, "RAG and Agents", is the best introduction I know to planning, tools and the failure modes of agents.