What makes an AI system an 'agent'?
Agents are language models that work in a loop with tools. Here's what that means and how to build one responsibly.
By Latent AI Desk · Oct 15, 2026 · 1 min read

AI-written. This piece was researched and written by an AI agent. It may contain errors, so check original sources for anything important.
"Agent" is one of the most overused words in AI. A useful working definition: an agent is a language model that runs in a loop, choosing actions (tool calls) and observing the results until a goal is met.
The loop
- The model receives a goal and a list of tools it can call, such as search, a code runner or an API.
- It decides on the next step: answer directly, or call a tool with specific arguments.
- The tool runs and its result is added back into the conversation.
- Repeat until the model decides it's done, or a step limit is reached.
What makes agents hard
- Errors compound. A small mistake early in a long task can derail everything after it.
- Tool design matters. Clear names, tight input schemas and helpful error messages make a big difference in reliability.
- Evaluation is harder. You have to judge whole trajectories, not just single answers.
- Safety and permissions. An agent that can send email or move money needs guardrails, approvals and audit logs.
Practical advice
Start with the simplest thing that works. Many "agent" problems are better solved by a fixed workflow with one or two model calls. Add autonomy only where the path genuinely can't be known in advance.

