An AI agent is an LLM-driven system that perceives its context, decides what to do, and acts through tools and APIs in a loop until a task is complete. The defining feature is the loop: rather than returning one response, an agent observes, chooses an action, executes it, reads the result, and decides again — typically carrying memory across steps and operating with some autonomy.
The agent loop, concretely
- The host gives the model a goal plus a set of tool definitions.
- The model returns either a normal answer or a structured tool call (see function calling).
- The application validates and executes the tool, then feeds the output back.
- The model uses that output to answer, or to call another tool — and the loop repeats.
Where the protocols fit
- Function calling / tool use is the model-level mechanism for emitting a structured call.
- The Model Context Protocol (MCP) standardizes how an agent discovers and connects to external tools, resources, and prompts — "USB-C for AI tools."
- Agent2Agent (A2A) lets one agent delegate to and coordinate with other agents.
- Agents that run with little supervision and chain many steps are described as agentic AI.
Practical notes The same autonomy that makes agents powerful expands their attack surface: any tool an agent can call, an attacker who controls its inputs can try to misuse. Apply least privilege, audit tool calls, and require human approval for high-impact actions — the MCP Security Risks post details the threat classes. To build and orchestrate agents see the Claude Agent SDK guide, Claude Code Dynamic Workflows, and the breakdown of MCP vs. subagents vs. skills vs. hooks. Generate a starter config with the Claude Code config generator.
Related Articles
View all articles
AI Agent Protocols Explained: MCP vs A2A vs ACP and the Agent Interoperability Stack
MCP and A2A are not rivals — they are complementary layers of the same stack: MCP connects an agent to tools and data, A2A connects agents to each other. Here is the whole interoperability landscape, with ACP, ANP, and AGNTCY put in their place.
Read article →
What Is the Model Context Protocol (MCP)? The USB-C Port for AI, Explained
Model Context Protocol (MCP) is the open standard — created by Anthropic in late 2024 — that lets any AI application connect to tools, data, and prompts through one uniform wire protocol. Here's how the host/client/server architecture, primitives, and transports actually work.
Read article →
What Is an MCP Server? How Model Context Protocol Servers Work (and How to Use One)
An MCP server is a small program that exposes tools, resources, and prompts to an AI app over a standard protocol. Here is what it actually does, local vs remote transports, a working config block, and how to add one to your AI coding CLI.
Read article →
MCP Security Risks: A Practical Threat Model for Teams Connecting AI Agents to Tools
MCP isn't uniquely unsafe, but every server you connect widens your attack surface. A risk catalogue, the trust model you're actually accepting, and the governance controls MSPs and security teams should put in place.
Read article →Explore More AI Agents
View all termsAgent2Agent (A2A)
An open protocol originated by Google in April 2025 for interoperability between AI agents — letting agents from different vendors and frameworks discover each other, advertise capabilities, and collaborate. Complementary to MCP, which connects agents to tools.
Read more →Agentic AI
AI systems that autonomously plan and take multi-step actions toward a goal — invoking tools, making decisions, and adapting — rather than producing a single one-shot response.
Read more →Function Calling (Tool Use)
A capability where an LLM outputs a structured call (tool name plus JSON arguments) matching a developer-supplied JSON-Schema tool definition, which the host application executes and feeds back to the model.
Read more →Model Context Protocol (MCP)
An open, JSON-RPC–based client-server standard introduced by Anthropic in November 2024 that lets AI applications discover and connect to external tools, data sources, and prompts in a uniform way — "USB-C for AI integrations."
Read more →