Monitoring AI Agents After Deployment
An agent can return a plausible answer, make successful API calls, and still leave the business in the wrong state. A green request dashboard is a poor witness when the question is whether the right work happened.
Consider a hypothetical support agent that arranges replacement orders. It finds the customer, checks the policy, creates the replacement, and sends confirmation. Every dependency responds successfully. Then the customer retries the conversation and receives a second replacement. Infrastructure availability is healthy. The workflow is not.
I would start monitoring that system with a harder question: can we connect the request, the permission to act, the actual state change, and the eventual outcome? Token counts and latency belong in the picture. They do not complete it.
Monitor the workflow you actually operate
NIST’s March 2026 report on monitoring deployed AI systems describes a field where methods and terminology are still developing. Its practitioner workshops and literature review identify challenges around drift, distributed logging, and human feedback. It is a useful map of gaps, not a certification of any monitoring stack.
For an engineering team, the practical implication is to define the failure conditions before buying another dashboard. In the replacement workflow, those might be duplicate orders, actions without required approval, cases marked resolved before fulfilment, and customers returning because the answer was wrong.
Define a workflow outcome with explicit states: started, awaiting approval, action attempted, action confirmed, handed off, completed, or failed. A model saying “done” should not move the record to completed. The application should make that transition from evidence it can verify.
Give each run an evidence trail
Use a durable workflow ID across queues, retries, model calls, tool adapters, and downstream records. Give each attempt its own ID and link it back to the same workflow. Keep business-operation identity separate from trace identity: one replacement order may span several attempts and traces.
OpenTelemetry’s GenAI conventions cover agent operations and tool execution, offering a useful vocabulary for tracing. The current GenAI documents are marked Development. Pin the instrumentation and convention revision you adopt, and keep field mappings under your control; treat these conventions as an evolving integration surface.
The tool-execution conventions also encourage instrumenting application-owned calls that automatic instrumentation does not cover. That boundary matters. A trace of the model asking for create_replacement is different from evidence that the order service committed it.
For this example, I would capture the following application-owned events. The names below are a proposed schema, not OpenTelemetry attribute names.
workflow.started: workflow_id, attempt_id, trace_id, workflow_version,
model_version, prompt_version, policy_version
action.requested: action_id, operation_id, tool, target_ref,
actor_ref, authorization_decision_ref
action.confirmed: operation_id, downstream_record_ref, result_state,
confirmation_source, confirmed_at
workflow.intervened: reason_code, reviewer_ref, decision
workflow.outcome: outcome_state, evidence_ref, measured_atThe intent record should describe the accepted task and its allowed scope. It does not need a transcript of hidden model reasoning. Record which policy and authorization decision permitted a write, then reconcile the resulting business record. Store sensitive evidence behind access controls and use references in general telemetry.
For ambiguous tool timeouts, emit outcome_unknown rather than converting uncertainty into failure. The order may exist even when the response was lost. A reconciliation worker should query by the stable operation ID before any retry that could create another order.
Measure success beyond the final response
Maintain separate views of dependency health, workflow correctness, and business outcomes. Dependency health covers latency, timeouts, rate limits, and queue age. Correctness covers state transitions, duplicate operations, policy violations, unresolved writes, and reconciliation failures. Outcomes cover whether the customer received the right replacement and whether a person had to repair the case.
Use explicit denominators. “Successful runs” is ambiguous if awaiting-approval cases disappear from the calculation. Track completed outcomes per eligible request, intervention rate per attempted workflow, and duplicate confirmed operations per business operation. Show pending cases by age rather than burying them in a success percentage.
Compare cohorts by workflow, model, prompt, policy, and integration version, while controlling for request mix. If difficult cases become more common, a rising handoff rate may reflect appropriate caution. If straightforward cases suddenly need intervention after a tool-schema change, investigate the integration before blaming model drift.
Automated evaluators can help triage output quality, but their scores are another signal to validate. Periodically compare them with human review and observable outcomes. A confident evaluator cannot establish that a parcel arrived or that a protected record stayed unchanged.
Make alerts choose an action
I would use a small alert ladder with clear owners. The thresholds depend on volume, harm, and available response capacity; the following is a design proposal for the hypothetical replacement service.
- Page immediately on a confirmed unauthorized write or duplicate replacement. Disable the affected write capability, route new cases to people, and preserve evidence.
- Escalate an unresolved write when it exceeds the workflow’s reconciliation deadline. Quarantine retries for that operation and query the downstream system before taking another action.
- Investigate a sustained change in intervention, completion, or rework rates within comparable cohorts. Check version changes, input mix, tool schemas, and reviewer decisions.
- Review slower trends in latency, token use, and cost alongside accepted outcomes. Optimize once correctness and containment are understood.
Every alert needs an owner, a runbook, and a recovery condition. “Inspect the trace” is a diagnostic step. The runbook should also say which capability can be disabled, which queue receives diverted work, how affected records are reconciled, and who authorizes restoration.
Reverting a prompt does not reverse an order already placed. Containment and business repair are separate operations. Keep a list of affected operation IDs, confirm what actually committed, and record any corrective action through the downstream system’s normal controls.
Test the monitoring as part of the release
Before rollout, inject a lost response after a successful write, a duplicate queue delivery, an expired authorization, and a delayed outcome event. Check that the evidence joins across services, the alert reaches its owner, and the runbook prevents a second write. Exercise the kill switch as well as the dashboard.
Sample routine traces for diagnosis, but preserve an appropriate, controlled record of consequential state changes and policy decisions. Define retention, redaction, and access before collecting content. Keep workflow IDs out of metric labels when their cardinality would make the metrics backend unusable; use traces or event queries to inspect individual runs.
Telemetry loss needs its own signal. If the confirmation stream stops, the system has lost evidence of safe operation. Depending on the action’s risk, degrade to read-only assistance or human handling until evidence is restored. Silence is not a reassuring success metric.
Nieve’s agentic workflow services describe integrating automation into existing infrastructure while retaining control of sensitive data. Operational evidence should follow those same boundaries: enough to explain and repair an action, with deliberate limits on who can see the underlying customer content.
Key takeaways
- Tie each workflow to verified state changes and business outcomes; successful model and API calls are only part of the evidence.
- Separate workflow, attempt, trace, and business-operation identities so retries can be reconciled safely.
- Instrument authorization decisions, interventions, and unknown outcomes without collecting unnecessary sensitive content.
- Connect each alert to containment, reconciliation, an accountable owner, and a clear restoration condition.
- Test telemetry failures and runbooks before rollout, and version evolving GenAI instrumentation deliberately.
Start with one consequential workflow and prove that you can explain a bad outcome, contain it, and reconcile the records it touched. Add dashboards around that evidence. An agent is ready to operate when the team can handle its failures, not just admire its successful traces.

Chief Technical Officer
