What an AI agent does that other AI software does not
Agents are the riskiest part of our AI and generative AI development work, because an agent does things. The language model reads a task, decides which tool to call next, looks at the result and repeats until the task is done or it hands off to a person. A tool is a defined action in one of your systems: look up a customer in Salesforce, read an invoice from the ERP, rebook a delivery slot.
In the agents we build, the model never touches your systems directly. It returns a structured request, a tool call, with a tool name and arguments. Our code checks that request against the tool's schema and your rules, then runs it with credentials the model never sees. The model proposes, the code decides what is allowed.
A retrieval (RAG) system answers questions from your documents and does not act. A chatbot is the conversation layer, and it may sit in front of either one.
When an AI agent is the right build
Many requests for "an agent" are better served by something simpler. If you only need answers from your policies or manuals, LLM integration and RAG fits better. The table below maps common situations to the build that usually suits them.
RPA follows a script and breaks when the input changes shape. An agent can read a messy email, work out which order it refers to and pick the next step, which is exactly why it needs limits.
One agent or several
Start with one agent and a small set of clearly described tools. Split the work across several agents only when one agent's tools no longer fit cleanly in its context, or when independent subtasks can run in parallel. Each extra agent adds token cost, latency and another handoff that can fail, which is why multi-agent builds sit in a higher price band.
Four signals you are ready to build one
- The workflow is written down. Someone can describe the steps, the systems touched and what a correct outcome looks like.
- You have real past cases. Historical examples with known outcomes become the evaluation set. Without them nobody can prove the agent works.
- Someone owns the outcome. One person decides what the agent may do alone and signs off on releases.
- Your systems can be reached safely. They have an API the agent can use and a test or sandbox environment, so tools can be built without touching live data.
What an agent build includes
Every engagement starts from a written scope that both sides agree before build work begins. For an agent, that scope usually lists these deliverables:
- Workflow and tool specification: every tool call the agent may make, its inputs, its risk level and whether it needs approval.
- Tool layer: typed tool definitions with input validation, and scoped API credentials per tool, read-only unless writing is required. Where the agent acts for a named user, each call runs with that user's own permissions, not a shared admin account.
- Orchestration and state: the loop that runs the model, saves state after each step so a task can wait for approval and resume after a restart, retries failed calls safely, queues work during a provider outage, and stops at a step limit.
- Human approval steps for sensitive actions, with a reviewer screen to approve, edit or reject.
- Evaluation set and scoring scripts you can run yourself.
- Tracing and audit log of every model call, tool call, result and approval, with who approved it. Traces hold the same personal data the agent reads, so the scope sets who can view them, what is redacted and how long they are kept.
- Spend and rate limits per task, per day and per month.
- Deployment to your cloud account, with repositories in your name, handover documentation and a runbook.
Ask whether a quote includes the model provider's usage bill, and whether you will pay the provider directly or have it passed through.
How to judge an AI agent quote
Prices for agent work vary by more than an order of magnitude, so the number alone tells you little. Keyhole Software's 2026 review puts a basic single agent at $8,000 to $50,000 over 4 to 8 weeks, multi-agent workflows at $50,000 to $400,000 over 16 to 36 weeks, with most mid-market multi-agent builds between $80,000 and $250,000 (Keyhole Software, 2026). Those are published list ranges from firms that sell development services, not audited project figures. Our guide to what an AI agent costs to build and run breaks those ranges down, and our page on engagement models and how pricing works explains fixed scope against time and materials. We price agent work from the agreed written scope, as a fixed-scope project or on time and materials.
When two quotes differ, check whether each one names:
- the number of tools and systems, and which ones write data rather than read it;
- the evaluation set: who builds it, how many cases, and what score counts as ready;
- the approval steps, logging, spend caps and step limit;
- a pilot with real users, and what happens if it misses the agreed score;
- a monthly run-cost estimate built from your task volume;
- whether the model provider's usage bill is included, and who holds the provider account.
A low quote that leaves out evaluation and approvals is quoting a demo, not a production agent.
What drives the monthly run cost
Run cost is tokens per task (the context resent at each step, which grows as tool results pile up, plus output tokens, which are priced higher than input) times tasks per month times the model's price per token, plus hosting, logging and monitoring. Anthropic's engineers report that in their data agents typically use about four times the tokens of a chat interaction and multi-agent systems about fifteen times (Anthropic, 2025). Your multiple depends on how many steps a task takes and how much each tool returns. Caching repeated context, routing simple steps to a smaller model and keeping tool results short all bring it down.
Who should be on an AI agent build team
The roles below cover an agent build. On a small agent one person may hold two of them.
Ask any vendor who owns the evaluation set. If the answer is nobody in particular, nobody can tell you whether release five beats release four.
How we build an AI agent, step by step
We build the parts that can be tested without a model first, so later failures can be traced to the model and not to the plumbing.
- Scope one workflow. List every tool call and its risk level, agree the success metric in writing, and collect real past cases for the evaluation set.
- Build the tool layer first. Each tool is tested on its own, with no model involved, against your test or sandbox systems.
- Add the model loop. Compare at least two models on the evaluation set, then set the step limit and timeout.
- Add approvals, guardrails and spend caps. Sensitive tools route to the reviewer screen; budgets stop a task before it overruns.
- Run in shadow mode. The agent proposes, people act as they do today, and we compare the two on live cases. Write tools run in dry-run, so nothing changes in your systems.
- Pilot with approval switched on. Approval is removed only for actions the pilot data shows are safe and reversible.
- Operate and re-test. The evaluation set is re-run on every prompt, tool or model change before it ships. Alerts track task success, escalation rate, tool errors and cost per task, live traces are sampled on a schedule, and a switch can pause the agent or a single tool without a deploy.
Shadow mode and the pilot run on live cases, so their length depends on how many cases arrive. The scope sets how many cases each phase needs before the next one starts, rather than a fixed number of weeks.
How we measure whether the agent works
We report task success rate on the evaluation set; tool-call correctness, meaning the right tool with valid arguments; steps and cost per completed task; and the escalation rate to people. Open-text outputs, such as a drafted reply, are graded by a model and checked against a person-labeled sample, because model graders can be biased or inconsistent, and their scores shift when the grading model changes. Because the same input can take a different path each run, each case is run several times and we report how consistently it passes.
Models, frameworks and protocols an agent can use
Agents can run on models from OpenAI, Anthropic or Google, or on open-weight models hosted in your own cloud. Many models are also offered through Amazon Bedrock, Microsoft Azure or Google Cloud, which can keep processing inside a chosen cloud region. Availability by region changes often, so we check it for your region during scoping. Orchestration can use a framework such as LangGraph or plain code when the workflow is simple. Model Context Protocol (MCP) is an open standard for connecting AI applications to external systems such as data sources and tools, useful when several agents need the same tools. Third-party MCP servers are code you are trusting, so each one is reviewed and version-pinned and gets the same per-tool permissions as our own tools. Model calls sit behind one interface, so the provider can be changed and re-evaluated without a rewrite. Prompts usually need tuning for a new model, and the evaluation set shows how much, which keeps vendor lock-in low.
What can go wrong with an AI agent, and the controls we build
Three risks in the OWASP Top 10 for LLM Applications 2026 bear most directly on agents: prompt injection (LLM01:2026), excessive agency (LLM03:2026) and unbounded consumption (LLM06:2026) (OWASP, 2026). OWASP notes that models make no architectural distinction between instructions and data, so prompt injection has no clean equivalent to parameterized queries (OWASP, 2026). We design on the assumption that an injection will eventually get through and limit what it could do. The table below pairs each risk with its controls.
OWASP traces excessive agency to three causes: excessive functionality, excessive permissions and excessive autonomy (OWASP, 2026). The tool specification, written during scoping, is where all three get settled. OWASP also publishes a separate Top 10 for Agentic Applications 2026 for risks specific to agents; ask any vendor how their controls map to it. If the agent will process personal data of people in the UK or EU, ask any vendor for a data processing agreement and confirm the model provider's terms with your counsel.
Where agents earn their keep in fintech and logistics
Start with one workflow
Bring one workflow, the systems it touches and a handful of real past cases. In a first call we can tell you whether it needs an agent, a RAG system or plain automation, and what the evaluation set should contain. Discuss your project to start.