Twelve agents in production this year, across a mix of document processing, customer-support triage, data migration, internal research and sales operations. Three of them replaced previous agent attempts that had quietly been abandoned. One we killed in staging because the evaluation harness said it was not ready, and the business had the discipline to accept that. Here is what we learned, written against the grain of the conference-talk version of agentic AI that is still dominant in late 2026.
The autonomy budget is real and it has to be earned
Every agent we ship now starts with 100% human review of actions. The reviewer sees the agent's plan, the tool calls it intends to make, the arguments it has chosen, and clicks "proceed" before any real-world effect. This feels inefficient on day one; it is the reason the agents are in production six months later rather than being quietly retired.
As the audit trail shows the agent making correct calls on a specific action type — say, tagging an incoming ticket with a category — that action moves from "review" to "notify" (the human sees after the fact, with the ability to reverse) or eventually to "autonomous" (summarised weekly). The migration is data-driven: we look at the review log, calculate the override rate per action type, and move it up the autonomy ladder when override rate stays below 2% across 200+ consecutive actions.
This is the opposite of the "launch the autonomous agent" demo pattern. It is also the reason none of our twelve agents have caused the kind of incident the demo pattern routinely produces. Autonomy is a budget earned on evidence, not a feature granted at launch.
State machines beat ReAct loops
The 2023 ReAct pattern — think, observe, act, repeat, in a single-threaded loop until the model declares completion — is elegant and wrong for most production workloads. It fails because the model lacks the architectural framing to know which state it is in, which tools are appropriate at this state, and which transitions make sense next. The result is agents that wander, that retry tool calls they have already made, or that terminate before they should.
Every agent we ship in 2026 is written as an explicit state machine. We use LangGraph for the implementation; the framework matters less than the pattern. Each state has an entry condition, a set of valid tools scoped to that state, a set of valid transitions out, and an exit condition. The LLM is a function invoked within each state; the state machine is the surrounding structure that keeps the agent coherent.
The operational benefit is that debugging a stuck agent becomes a well-defined task. We can look at the current state, see which transitions should fire and are not, and reason about why. The ReAct trace of an agent that has run for 90 steps is almost impossible to debug; the state machine graph of the same workflow is a page of boxes and arrows.
Tool spec is 60% of the quality lift
A badly-specified tool produces a badly-behaving agent regardless of the model's intelligence. The tool spec is where the model learns what the tool does, when to use it, what arguments mean and what the output will look like. We have ripped out and rewritten tool specs mid-project more than once and watched quality jump materially without changing the model or the prompt.
Our working rules for tool spec: a one-sentence description that is a complete sentence and states both what the tool does and when to use it, parameter descriptions that include units and valid ranges, example invocations when the arguments are non-obvious, and an explicit "returns" section describing what the model should expect. Strict JSON Schema types with constraints (enum, min/max, pattern) prevent most of the common argument hallucinations.
Equally important is tool minimalism. A state that has access to twelve tools is harder to reason about than a state that has access to three. We split large tool surfaces across states so that any one state has four or fewer tools available, and every tool at a state has a clear reason it belongs there.
Why evals matter more than prompts
The prompt that worked in development will degrade. The model version will change (even minor-version updates can shift behaviour measurably), the retrieval index will drift, the real-world inputs will drift, and the tool responses will change as upstream services evolve. Without an evaluation harness, you discover these as production incidents.
Every agent we ship has a golden set of 30–200 real-world test cases, each with the expected terminal state, the acceptable range of tool calls, and the acceptable final output. The harness runs weekly in production (against freshly sampled real inputs), on every prompt change (as a pre-ship gate), and on every model version upgrade.
The non-obvious benefit: the evaluation harness is the only tool that lets us accept model upgrades confidently. When Claude 5.5 Sonnet released, the eval ran on it, showed a 3-point improvement with no regression, and we upgraded in production the same day. Without the harness we would have waited weeks, or never upgraded, or shipped a regression.
The three failure modes you will hit
Hallucinated parameters. The model decides it needs to call a tool, picks the right tool, and invents a parameter value that is not in the data. Defences: strict typed schemas, parameter-validation prefixes in the state's system prompt, and a rejection of invalid arguments with a specific error message that the model can act on.
Wrong-tool decisions. The model picks a tool that is valid at the state but not appropriate for the input. Defences: fewer tools per state, specific tool descriptions with "use this when" clauses, and a confidence-weighted routing layer before the state transition.
Terminal-state failure. The model declares the task complete when it has not actually completed. Defences: explicit exit conditions as checks rather than LLM judgements, and an independent verification step before the agent is allowed to end.
These three account for 80–90% of all agent incidents we have investigated. Each is tractable with specific countermeasures; none of them is solved by "a smarter model".
In practice
What to do differently in 2027
Lean further into model-native computer use for specific workflows. Anthropic Computer Use and OpenAI Operator both matured through 2026; by the first half of 2027 they will be the sensible default for any workflow that is predominantly navigating web UIs. We have already moved two agents to Computer Use-based implementations and will probably move two more.
Build the operator UI as seriously as the agent itself. The review-and-correct interface is the agent's cockpit, and it should be as considered as any customer-facing product. Teams that nail this run their agents at 3× the throughput of teams that treat the review UI as an afterthought.
Commit earlier to multi-agent decomposition where it fits. We resisted multi-agent patterns through 2025 because the frameworks were rough; by late 2026 they are workable. A single agent doing a 40-step task is often less reliable than three agents doing 15-step tasks with a coordinator — provided the coordination contract is explicit.
Key takeaways
- Autonomy is a budget earned from the audit trail, not a launch feature.
- State machines produce more reliable agents than ReAct loops.
- Tool specification quality drives 60% of agent quality; it is the first lever to pull.
- Evaluation harnesses are the only safe way to accept model upgrades.
- Hallucinated parameters, wrong-tool decisions, and terminal-state failure account for most incidents.
- In 2027, lean into Computer Use for web-UI workflows and multi-agent decomposition for long tasks.
Frequently asked
For most production work, yes — the state-machine abstraction fits the engineering model and the ecosystem is active. We also use AutoGen for multi-agent coordination and custom state machines when either framework does not fit. The framework matters less than the pattern.
Minimum viable is 30 examples covering the main success paths. Production-grade is 100–200 covering main paths, edge cases, adversarial inputs and seasonal variations. Above 200 we see diminishing returns per added example and more cost in harness runtime.
In the first 30 days typically 20–40 minutes per reviewer per hour of agent operation — the reviewer is reading every action and deciding. This drops rapidly as action types graduate to "notify" or "autonomous"; by day 90 a well-run agent needs 2–5 minutes of review per operating hour.
Workflow-dependent. For document processing (invoice extraction, KYC review) 94–98% acceptable terminal state is normal. For customer-support triage with the right scope 88–94%. For complex internal research 70–85%. These are with human review on exits, not fully autonomous operation.
When the workflow is deterministic (use n8n or a plain cron job), when the action has very high consequences and cannot afford even rare errors (use a scripted workflow with a human decision), or when the "agent" is really just a well-defined LLM call (use a structured-output prompt, not an agentic framework).
For workflows that are mostly about navigating web UIs, these models move the agent-building task from "build 20 custom tools" to "the model operates the UI directly". Throughput is lower (seconds per action instead of milliseconds) but reliability is higher and the maintenance burden collapses. We have moved workflows that make sense for this pattern and we are migrating more.