What is an AI agent? In practical engineering terms, an AI agent is a system that uses a model to decide and take actions toward a goal—usually by calling tools in a loop—until a stop condition is met. It is not “any chatbot with a personality,” and it is not a fixed script that always follows the same path.
That distinction matters because product marketing collapses three different things into one word: chat interfaces, deterministic automation (RPA/scripts), and tool-using agents. If your team cannot say which systems an agent may change, how it stops, and how you measure success, you do not yet have an agent program—you have a demo.
A definition that survives marketing
An AI agent combines four ingredients: a goal (explicit or inferred), a model that can plan under uncertainty, tools that change or read external state, and a runtime loop with stop conditions. Remove tools and you usually have a chatbot. Remove the model’s ability to choose among tools and you have a script. Remove stop conditions and you have an operational liability.
Action is broader than “click buttons.” Agents call APIs, query databases through MCP servers, edit files in an IDE, open browsers, file tickets, or draft messages for human approval. The model proposes the next step; your policy layer decides whether that step is allowed.
How agents differ from chatbots and RPA
| Pattern | Primary job | Tools | Control flow |
|---|---|---|---|
| Chatbot / assistant | Answer or draft text | Often none | Single turn or short thread |
| Script / classic RPA | Repeat fixed steps | APIs or UI automation | Deterministic graph |
| AI agent | Decide and act toward a goal | Tools, MCP, browsers, IDEs | Looped until success, budget, or human stop |
Use a chatbot when the deliverable is language. Use RPA when the path is known and stability beats judgment. Use an agent when branching, tool choice, and incomplete information are the hard parts—and when you can afford evals, logging, and least-privilege tooling.
The minimal production stack
Every serious agent deployment needs more than a model API key:
- Model + prompts/skills — instructions for the job type (see SKILL.md).
- Tool interfaces — APIs or MCP servers with clear schemas.
- Host / client — Cursor, Claude, VS Code, or your own runtime that binds tools to the model (MCP host, MCP client).
- Policy — allowlists, approvals, spend caps, and identity (which user or service account is acting).
- Observability — trajectories, tool-call logs, and eval harnesses.
Skip policy and you ship accidents. Skip evals and you cannot tell improvement from noise. Skip identity and you cannot answer auditors who ask who changed production data.
When an agent is the wrong tool
High-stakes irreversible writes without human review are a poor first use case. So are tasks with no measurable outcome (“make marketing better”). If a deterministic script already solves the job with lower variance, do not add a model for fashion.
Regulated workflows often need agents as copilots first—drafting, classifying, recommending—while a human retains the commit button. That is not a failure of agent technology; it is how you earn the right to widen autonomy.
Worked scenario: weekly metrics brief
A growth team spends Friday mornings copying charts into a narrative doc. They replace the busywork with an agent that: (1) pulls read-only metrics via a database MCP, (2) drafts commentary against a skill file that encodes tone and required sections, (3) opens a pull request or draft in Notion, and (4) waits for a human to publish. Warehouse writes and customer PII tools stay denied.
Turn that scenario into evals: one golden path (correct sections, correct numbers cited) and one deny path (injection in a metric label must not trigger a write tool). If those two cases are not automated, you are guessing.
Examples that count as agents
- A coding agent that runs tests, reads failures, patches code, and stops at a step budget.
- A support agent that looks up CRM context and drafts a reply for agent approval.
- A research agent that gathers primary sources through search MCP, then writes a cited brief.
- An ops agent that triages Slack alerts, opens a ticket, and pages a human when severity is high.
Common mistakes
- Labeling every chatbot an “agent” in sales decks.
- Enabling write tools on day one.
- No stop conditions (steps, tokens, dollars, or wall-clock).
- No eval set—only vibes from one impressive transcript.
- No audit log of tool calls and policy decisions.
- Sharing production credentials with local sandboxes.
Metrics that matter
- Task success rate on a frozen fixture set
- Human takeover / escalation rate
- Cost per successful run
- Policy-deny rate (healthy signal, not just friction)
- High-severity incidents tied to tool misuse
Skills, MCP, and the agent boundary
Teams often ask whether they need an agent framework, an MCP server, a skill file, or all three. A useful rule: the agent is the loop that decides; MCP is how tools are exposed consistently; a skill is the playbook the loop should follow for a job type. You can build agents without MCP, and you can ship MCP without agents (for example, a host that only lists tools for a human). The value appears when the three layers share vocabulary and security defaults.
If you are early, start with one host, one read-only MCP server, and one skill that encodes a single workflow. Expand only after the eval gate passes twice on a frozen fixture set. That discipline beats installing a dozen community servers “just in case.”
Workshop: define it for your company
- Write a one-sentence definition of what is an AI agent for your org (include tools + stop conditions).
- Pick one workflow and map steps as read vs write.
- Draft an allow/deny tool list and a human-approval gate.
- Author two evals (success + deny).
- Assign a named owner and a disable procedure.
- Link the ADR to your security review for MCP security and least privilege.
FAQ
Is autocomplete an AI agent?
No. Autocomplete predicts the next tokens in an editor. It does not pursue a multi-step goal with tool calls and stop conditions. Coding agents that edit files, run tests, and loop until green are a different category.
Do AI agents require MCP?
No. Agents can call native function APIs. MCP helps standardize tool discovery and schemas across hosts (Cursor, Claude, custom runtimes), which reduces one-off integrations. See what is an MCP server.
Can agents run fully autonomously?
Technically, yes for narrow tasks. Operationally, most teams still want budgets, allowlists, monitoring, and human gates on irreversible actions. Autonomy is a dial you turn up after evals and incident drills, not a launch-day default.
How is an agent different from a multi-agent system?
A single agent is one reasoning loop with tools. Multi-agent setups split roles (researcher, coder, reviewer) and add orchestration overhead. Start single-agent unless you have a clear handoff problem that justifies the complexity.
What should we read next?
Learn skills as playbooks (SKILL.md), then secure your tool layer (MCP security) and measure quality with an eval harness.
Bottom line
What is an AI agent? A goal-directed, tool-using loop with explicit stop conditions—not a rebranded chatbot. Define it that way in your ADR, prove it with evals, and widen permissions only when the scorecard earns trust.
AI Generated Apps AI Code Learning Technology
