Mikel Studio
Back to Studio Notes
AI & Product NotesAug 29, 2026

What It Actually Takes to Put an AI Agent Into Production

It is surprisingly easy to make an AI agent look useful. Give a capable model access to a few APIs, connect it to a document store, describe its role in a system prompt and ask it to complete a familiar workflow. In a demo, the result can be impressive enough that the next question seems...

What It Actually Takes to Put an AI Agent Into Production

It is surprisingly easy to make an AI agent look useful.

Give a capable model access to a few APIs, connect it to a document store, describe its role in a system prompt and ask it to complete a familiar workflow. In a demo, the result can be impressive enough that the next question seems obvious: how quickly can we put this into production?

That question is usually where the project becomes much more complicated.

The work required to productionize an AI agent is not primarily about improving the prompt or choosing a slightly better model. The harder work is defining exactly what job the agent is responsible for, which business systems it can access, how much authority it has, how its actions are controlled, what happens when the workflow breaks, and how the organization will know whether the agent is actually creating value.

In practice, putting an agent into production looks much more like designing an operational system than deploying a chatbot.

The most reliable way to approach it is to start with the business workflow and progressively add autonomy only where the workflow can support it.

Start with one job, not an ambition

Many AI agent initiatives begin too broadly.

A company wants an “operations agent”, a “sales agent” or an “AI assistant for the whole business”. The model may technically be capable of performing many tasks across those areas, but such a broad mandate creates immediate ambiguity around data access, permissions, success criteria and accountability.

Production becomes much easier when the starting point is a specific job.

Instead of “automate customer support”, the first agent might be responsible for reviewing incoming tickets, classifying them, identifying the relevant customer context and preparing a response for routine requests.

Instead of “build a finance agent”, the first workflow might be to identify overdue invoices, gather account history and prepare the next follow-up action.

Instead of “automate sales”, the agent might qualify inbound leads against a defined set of criteria and prepare the account context for a salesperson.

A narrow job gives the team something concrete to design around. There is a recognizable trigger, a known set of inputs, a limited set of possible actions and, most importantly, a definition of what successful completion looks like.

That clarity is more valuable than giving the agent more capabilities at the beginning.

Map the workflow before deciding where AI belongs

Once the job is defined, the next step should not be choosing a framework or writing prompts.

The workflow itself needs to be understood.

Most real business processes are more complicated than they initially appear. A support workflow, for example, may involve looking up the customer, checking contract terms, searching previous conversations, identifying product ownership, reviewing a policy, deciding whether the request can be resolved automatically and escalating the case if it falls outside a defined boundary.

Some of those steps require language understanding. Others are ordinary API calls. Some are deterministic business rules. Some require human judgment.

That distinction matters.

A common design mistake is allowing the model to reason about everything simply because the model can. In a production system, the model should usually handle ambiguity and interpretation, while deterministic software continues to handle rules that should behave consistently.

If a policy states that refunds above a particular threshold require approval, that rule should exist in the system that executes the refund. The model can recommend the refund and explain its reasoning, but the transaction layer should still enforce the approval threshold.

Mapping the workflow first therefore reveals where AI creates genuine leverage and where conventional software remains the safer choice.

Identify the business context the agent actually needs

An agent can only make good decisions if it has access to the information required for its job.

A frontier model may understand customer support in general, but it does not automatically know the customer's account history, the company's current refund policy, the terms of a particular contract, the internal escalation process or which information source is authoritative.

Production agents therefore need carefully designed access to company context.

That context may live across CRM records, ticketing systems, internal documentation, databases, contracts, emails and application APIs. The engineering problem is not simply connecting all of those systems. It is determining which source should be trusted for which decision, how fresh the information needs to be and what the agent is allowed to retrieve.

This is where many seemingly intelligent prototypes become unreliable.

A prototype can appear accurate because the developer manually supplies clean context during testing. In production, the agent has to find that context itself, deal with missing information and recognize when different systems disagree.

The architecture needs to make those situations explicit.

If an agent cannot determine whether the CRM or billing platform contains the authoritative account status, a larger context window will not solve the problem. The underlying data ownership problem still exists.

Decide how much authority the agent should have

One of the most important production decisions is not what the agent can understand, but what it is allowed to do.

Agent autonomy should not be treated as a binary choice between “assistant” and “fully autonomous”.

There is a useful progression.

An AI system may begin by answering questions. It may then recommend an action. Later, it can prepare the action and ask a human to approve it. Once the workflow is sufficiently understood and controlled, the system may execute low-risk actions automatically while continuing to escalate higher-risk cases.

Different actions inside the same agent can therefore have different levels of autonomy.

A support agent might automatically tag tickets and retrieve account information, draft responses for common requests, require approval for refunds and prohibit certain account changes entirely.

This design is usually much more practical than deciding that the entire agent is either autonomous or not autonomous.

The key question is:

What is the maximum authority this agent should have for this particular action?

That decision should reflect business risk, reversibility, financial impact, data sensitivity and legal or organizational authority.

The agent's level of intelligence is only one input.

Build tools as controlled interfaces, not raw capabilities

Once the agent's responsibilities and authority are clear, the tools it can use should be designed around those boundaries.

It is tempting during prototyping to expose broad APIs because they make development faster. A general CRM tool, for example, may allow the agent to read and update many types of records through a single interface.

Production tools should often be narrower.

Instead of providing unrestricted account modification, the system might expose specific operations such as:

get_customer_context

update_ticket_category

prepare_refund_request

send_approved_follow_up

Each tool can then enforce its own validation, access control and business rules.

This makes the tool layer a safety boundary rather than simply a bridge between the model and the underlying system.

The model remains probabilistic. It may misunderstand a situation or request an inappropriate operation. A well-designed tool should still prevent an invalid or unauthorized action from being executed.

This separation is one of the most important architectural differences between a demo agent and a production agent.

The model proposes what should happen. The system controls what can happen.

Give the agent persistent state where the workflow requires it

Many useful business workflows do not begin and end inside a single model call.

A customer support case may remain open for several days. An invoice follow-up process might run for weeks. A research workflow may pause while waiting for information from another team. A procurement process may stop until someone approves a decision.

The agent therefore needs a reliable representation of workflow state.

That state should answer questions such as what has already been attempted, which step is currently active, which decisions have been made and what needs to happen next.

Without this layer, the agent may repeatedly perform the same action, forget that another system already completed a step or continue using outdated assumptions after the workflow has changed.

This is especially important once retries and asynchronous operations are involved.

If an email is sent successfully but the process crashes before recording the result, a naive retry might send the email twice. If the agent requests a refund but the billing system takes time to confirm it, the workflow needs to distinguish “requested”, “pending” and “completed”.

These are familiar software engineering problems, but agent workflows make them easier to overlook because so much attention is placed on the reasoning layer.

Production systems still need ordinary reliability engineering around the AI.

Design failure paths before they happen

A production workflow cannot assume that every dependency will behave correctly.

APIs time out. Search returns incomplete results. Documents are outdated. Model calls fail. Tool calls succeed partially. Third-party systems become unavailable.

The important question is therefore not whether the agent will fail.

It is how the system behaves when it does.

For each critical step, teams should know whether the operation can be retried safely, whether the previous result needs to be checked, whether the workflow can continue with degraded functionality or whether the case must be escalated.

This is also where concepts such as idempotency, timeouts, retry limits, queues and circuit breakers become relevant.

They are not particularly exciting AI topics, but they often determine whether an agent can be trusted in production.

A system that works 95% of the time but produces unpredictable side effects during the remaining 5% is usually much harder to deploy than a system that handles failures conservatively.

Reliability is not simply the percentage of successful model responses.

It is the behavior of the complete system when conditions are imperfect.

Evaluate the business outcome, not only the model output

Before an agent receives more authority, the team needs evidence that the workflow is working.

This requires a different kind of evaluation from the benchmark comparisons typically used when selecting models.

The agent may produce a fluent and apparently correct answer while still completing the business workflow incorrectly.

A ticket-classification agent might generate an excellent explanation but assign the wrong priority. A research agent might summarize information accurately but rely on an outdated source. A finance agent might identify the correct invoice but select an action that violates company policy.

Evaluation therefore needs to cover the entire chain.

Was the correct context retrieved?

Was the right tool selected?

Was the action appropriate?

Did the tool execute successfully?

Was the final business state correct?

Should the case have been escalated?

These questions are closer to product and operational metrics than generic AI quality measurements.

A production evaluation set should increasingly be built from real workflow examples, including edge cases and previous failures. As the system operates, failures should become new test cases so that the team can verify that future changes do not reintroduce the same problem.

This creates a feedback loop between production incidents and agent quality.

Build human escalation into the workflow from the beginning

A well-designed agent should know when not to act.

This does not necessarily mean asking for human approval every time the model is uncertain. If that were the case, the agent would simply shift work rather than reduce it.

Instead, escalation should be designed around specific conditions.

The agent might escalate because information is missing, the action exceeds an authority threshold, two policies conflict, the customer situation is unusual or the potential impact is high.

When escalation happens, the agent should also prepare the case for the human reviewer.

The person receiving the escalation should not need to repeat the entire investigation.

The agent can summarize what happened, show the evidence it used, explain what it attempted and identify the exact decision that remains.

This creates a much better human-agent operating model.

The agent handles the routine work and information gathering. The human provides judgment, authority or exception handling where it is genuinely required.

The objective is not to eliminate people from every workflow. It is to spend human attention where it has the highest value.

Add observability before scaling usage

When the agent begins handling real work, teams need visibility into what it is doing.

This goes beyond storing chat transcripts.

A useful production trail should make it possible to understand which model was used, what context was retrieved, which tools were called, how long each step took, what errors occurred, how much the workflow cost and why a case was escalated.

Without this visibility, improving the agent becomes guesswork.

Suppose the completion rate drops. The underlying cause might be poorer model reasoning, a slow API, stale documents, permission failures, a new class of customer request or a tool that is repeatedly timing out.

All of those failures may appear to users as “the agent is getting worse”, but they require very different fixes.

Observability is what allows the team to separate those causes.

It also enables another important capability: controlled iteration.

Once production behavior can be measured, teams can compare models, prompts, retrieval strategies or tool changes against actual workflow outcomes instead of relying on a few manual examples.

Control time, money and blast radius

AI agents introduce another operational dimension that traditional workflows often do not have to the same degree: they can continue reasoning, searching and retrying.

That flexibility can be useful, but without limits it can also create unpredictable costs and unexpected behavior.

A production agent should therefore operate within explicit resource boundaries.

For example, a workflow might have a maximum execution time, a maximum number of retries, a maximum number of tool calls or a maximum model budget per task.

These limits are not merely cost optimizations.

They are part of the system's safety model.

If an agent enters an unexpected loop, a $2 task should not quietly become a $200 task. If an external service begins failing, the agent should not continue calling it indefinitely. If the workflow cannot be completed within a reasonable number of attempts, it should transition into a known failure or escalation state.

The broader principle is that autonomy should always have boundaries.

An agent needs authority boundaries, data boundaries, time boundaries and financial boundaries.

Those constraints make autonomous behavior easier to trust.

Launch narrowly, then expand from evidence

The final step is not turning on the agent for the entire organization.

A safer approach is to deploy it into a narrow segment of the real workflow and learn from actual behavior.

The initial release might handle only one category of support tickets, one type of invoice, one region or one group of internal users.

During this stage, the goal is not simply to prove that the agent works.

The team is learning where assumptions break.

Which requests create uncertainty?

Which tools fail most often?

Which policies are unclear?

Where are humans frequently overriding the agent?

Which cases are costing much more than expected?

Those observations should determine the next iteration.

Some changes will improve the model or prompt. Others will reveal that the data needs cleaning, a tool needs stronger validation, a workflow needs to be redesigned or the agent's authority should remain limited.

Only after the system has demonstrated reliable behavior should its scope or autonomy expand.

This incremental model is usually more effective than trying to design a fully autonomous agent in one release.

Production AI is a systems problem

Putting an AI agent into production therefore requires much more than connecting a model to tools.

The model sits inside a larger operating system that includes business context, identity, permissions, state, deterministic controls, evaluation, failure handling, observability, budgets and human escalation.

That surrounding system is what turns probabilistic intelligence into something a business can actually use.

A useful production path looks roughly like this:

Choose one job → map the workflow → identify the required context → define authority → build controlled tools → manage state → design failure handling → evaluate outcomes → add escalation → observe production → expand carefully.

The exact architecture will differ between a support agent, finance workflow, internal research system or operations agent. The principle is the same in each case: autonomy should be earned through evidence, not assumed because the demo looked convincing.

This is also how Mikel Studio approaches production AI work. We begin with the workflow rather than the model, define what the agent needs to know and what it is allowed to do, then build the controls required for the system to operate reliably around real users and real business data.

If your team already has an AI agent prototype, the next useful question is often not “which model should we upgrade to?” but “what is still missing before we can safely give this system real work?”

Want to turn a rough idea into a working system?

Bring the problem and the assets you already have. We will audit them together and find the next clear step.

What It Actually Takes to Put an AI Agent Into Production | Mikel Studio