Agentic AI
Agentic AI production failures: goals, tools, state, and control
4 min readGuillaume Belisle / Vert AI
Agentic systems fail across goals, tool permissions, multi-step trajectories, state, concurrency, evaluation, human handoffs, and cost. Build the control plane before expanding autonomy.
Executive decision: is the control plane ready for more autonomy?
Do not expand agent autonomy because individual answers look reasonable. Expand it only when the control plane can detect and contain wrong goals, unsafe tools, lost state, repeated actions, runaway cost, concurrency errors, and late human handoffs.
These failures are predictable enough to design for. Map the complete trajectory—goals, plans, tools, state, permissions, checks, actions, budgets, and recovery—then make the next autonomy decision from evidence.
The goal is underspecified
Broad instructions such as resolve the issue or optimize the account conceal priorities and constraints. An agent may complete the literal task while violating policy, customer intent, cost limits, or an unstated operating norm.
Define completion criteria, prohibited outcomes, priority order, value and time limits, required evidence, and when the system must stop. Test conflicting goals and incomplete instructions.
Tool access exceeds the control design
Read access, draft access, and write access create different risks. An agent with broad credentials can turn a reasoning error or malicious instruction into an operational incident.
Use least privilege, tool allowlists, parameter validation, separation of duties, approval for material actions, rate and spend limits, and isolated environments for testing. Log the call, arguments, result, and authorizing context.
Small errors compound across steps
A weak retrieval result can produce a faulty plan, which produces the wrong tool call, which changes the state used by the next step. Final-answer evaluation may miss the point at which the trajectory became unsafe.
Add checks at material state transitions. Validate identity, authority, required fields, policy, and expected post-condition before the next step. Limit loops and require escalation when progress stalls.
State, memory, and concurrency break
Long-running work can use stale context, confuse customers or cases, lose a prior approval, or repeat an action after a timeout. Multiple agents or retries can create duplicate updates and inconsistent state.
Use explicit task state, scoped memory, version checks, idempotency keys, locks where needed, expiry, and reconciliation. The system should be able to explain its current state without reconstructing it from conversation history.
Evaluation covers happy paths
Test unavailable tools, partial permissions, conflicting sources, prompt injection, malicious documents, timeouts, duplicate events, cost spikes, long tasks, and degraded dependencies. Inspect tool selection and intermediate decisions as well as completion.
Use historical cases, synthetic edge cases, shadow operation, approval-based release, and bounded traffic. Re-run the suite whenever tools, prompts, models, data, permissions, or autonomy change.
The human fallback is not operational
An escalation is useful only if it reaches the right person with context, urgency, authority, and enough time to act. Unstructured queues become the place where the agent's hardest and most expensive cases accumulate.
Classify escalation reasons, set service levels, staff capacity, show the attempted trajectory and source evidence, and record resolution. Monitor queue growth as an early production signal.
The control plane for production
A production control plane combines identity and permissions, tool policy, state management, evaluation, observability, cost limits, human escalation, incident response, and a kill switch. It should support restricted operation, not only fully on or fully off.
Expand autonomy only after the system demonstrates reliable task completion, policy compliance, recovery, and unit economics. When evidence deteriorates, reduce authority before changing the model.
Key takeaways
- Agentic failures occur across goals, tools, state, multi-step trajectories, human handoffs, and economics.
- Define completion, prohibitions, limits, evidence, and stop conditions more precisely as autonomy increases.
- Use least privilege, validated tool calls, idempotent actions, explicit state, and checks at material transitions.
- Evaluate degraded and adversarial paths, not only successful final answers.
- Operate a control plane that can monitor, restrict, escalate, recover, and stop the system.
Sources and references
Authoritative references used to ground the operating guidance in this article.
- Government of Canada: Guide on agentic AI
Practical lifecycle guidance for boundaries, accountability, testing, monitoring, security, records, and retirement.
- OWASP Agentic Security Initiative
Open security work focused on threats and controls for agentic systems.
- NIST Generative AI Profile
Cross-sector guidance on generative AI risk, value-chain integration, monitoring, and incident response.