Insights

What it takes to run AI agents in production

Image of an AI agent platform
A prototype of an AI agent takes a few days. The hard part is getting it to a state where you can hand it daily work.

First-line support for inquiries, internal request processing, routine reports. Every company has work it would like to give to an AI agent. A prototype often works better than expected. When you try to move it into production, a different kind of problem appears.

Prototype versus production ​

With a prototype, you judge by the examples that went well. In production, what matters is what happens when it goes wrong. It returns a wrong answer straight to a customer, reads data it has no permission to read, or repeats the same step until the cost balloons. None of these shows up easily at the prototype stage.

What production needs ​

Narrow the permissions ​

Limit the tools the agent can call, and the data it can read and write, to what the work requires. MCP (Model Context Protocol) can connect it to internal systems, but we avoid a setup where connecting means it can call anything.

Decide where a person judges ​

Put human approval in front of operations that are hard to undo: refunds, contract changes, anything sent outside the company. How much to leave to the agent and where a person stops it is a business decision, not a technical one.

Build the evaluation first ​

Before release, prepare pairs of typical inputs and expected results, so the agent's answers can be scored automatically. When you change the model or the prompt, this evaluation tells you whether quality went up or down.

Track behavior and cost ​

For which input, which tool it called and what it returned. How much each case cost. Without a record of this that you can look at, you cannot trace the cause when something goes wrong.

Do you really need multiple agents? ​

A setup where several agents with different roles cooperate looks attractive. But the more agents there are, the harder it is to trace why something failed. Often a single agent with the tools it needs is enough, so we think it is better to start there and split only once the reason for splitting is clear.

We cover connecting internal systems in Before you connect internal systems with MCP.

To get past the prototype.

Talk to us about everything from choosing the work to give an AI agent to designing permissions, evaluation and monitoring.