How to Monitor an AI Agent After You Launch It

A practical routine for a launched AI agent: who owns it, what to log and leave out, which alerts to set, how to sample outputs, and when to pause or retire it.

Your agent passed its tests and is now doing real work: sorting a shared inbox, drafting replies, compiling research. Before launch the question was whether it could do the job. Now the danger is that it stops doing the job well and nobody notices, because the inputs shifted, a vendor swapped the model underneath it, or the person who understood it moved on.

Monitoring an AI agent after launch comes down to a short written plan with five parts: a named owner, a log of each run (one start-to-finish attempt at a task) that records what happened without hoarding sensitive content, a few alerts someone will act on, regular human review of a sample of real outputs, and a tested way to pause and eventually retire the agent. NIST’s AI Risk Management Framework (AI RMF 1.0, January 2023), which is voluntary, points the same way: it calls for monitoring an AI system’s behavior in production under a post-deployment plan covering user input, override, incident response, change management and decommissioning [1, 2].

TL;DR

  • Write a one-page plan: owner, backup, log fields, alerts, sampling, review dates, pause triggers, retirement steps.
  • Log references and outcomes, not sensitive content; check your platform’s trace and transcript defaults.
  • Keep alerts few, each with a recipient, including one for silence.
  • Sample real runs at random weekly, plus every flagged run; treat AI evaluators as aids.

Monitoring, Testing and Approval Play Different Roles

Testing an agent happens before launch, on prepared cases, and again after changes. Human supervision, covered in when an AI agent needs human supervision, is the umbrella responsibility: a named person remains accountable and can review, approve, intervene or stop the agent. Approval is a yes before a specific action; monitoring is the ongoing collection and review of runs, alerts and trends after launch. The U.K.’s NCSC calls advance approval “human-in-the-loop” and ongoing monitoring with the ability to intervene “human-on-the-loop” [3].

Working definitions for this guide:

  • Monitoring: collecting and reviewing data about how a system is running, such as error counts and processing times [4]. For an agent, it also means reviewing what it actually produced.
  • Log: a timestamped record of a run: what started it, which tools it used, what it decided and how it ended.
  • Permission: what the agent is allowed to read or do, such as opening a folder or sending email.
  • Alert: a notification meant to be read by a person, sent to a ticket queue, email or pager [4].
  • Sampling: pulling a subset of real runs for a person to check, because nobody can read them all.
  • Owner: the named person or group accountable for watching the agent and deciding when to change, pause or retire it.

For a checklist of what to watch, NIST AI 800-4, a March 2026 report built on 2025 practitioner workshops and a literature review, groups monitoring into categories including functionality, operations, human factors such as output quality, security and compliance [5]. A small agent needs no program for each, but the plan should say who looks at each.

Name an Owner Before Anything Else

Unowned agents fail quietly. Where unintended activity would have significant consequences, NCSC recommends named individuals or a group responsible for agentic AI activity, real-time alerts for unexpected behavior, and monitoring that lets someone stop the agent [3]. May 2026 joint guidance on agentic AI from six cyber agencies, including CISA and the UK’s NCSC, tells operators to clearly assign responsibility for errors the system causes [6, 7]. NIST adds that monitoring needs defined roles and a decision about how often reviews happen [1].

The owner reads alerts, runs or delegates the quality sample, tracks vendor notices, holds the pause switch and keeps a short change record of prompts, tools, permissions and model versions. Name a backup and decide who inherits the agent if the owner changes roles. Give reviewers only the access they need.

Decide What Goes in the Log

Record enough to reconstruct a run

OWASP’s logging guidance says each event should record when, where, who and what, and that an entry is more likely to be an extract or summary than full content [8]. Its guidance for AI agents adds logging decisions, tool calls and outcomes, with structured records for high-risk actions such as the authorization outcome and approval identifier [9]. For most agents that means:

  • run ID, start and end time, and the trigger;
  • agent version, including the instruction version and model name;
  • each tool called, the action taken and its result;
  • any approval step, with who decided and when;
  • the outcome, plus IDs or links pointing to the input and output records.

Platform defaults differ, so check yours. As of November 2026, OpenAI’s Agents SDK documentation says tracing, its step-by-step record of a run, is on by default, captures the inputs and outputs of model and tool calls, and exports traces to OpenAI’s backend unless configured otherwise [10]. Google’s Agent Development Kit documentation says prompt content is left out of logs by default, while its debug level can capture full prompts [11].

Keep sensitive content out where a reference will do

The common mistake is copying everything: full emails, attachments, customer records, credentials that passed through a tool. OWASP lists data that should usually be masked, hashed, encrypted or left out of logs rather than stored as-is, including access tokens, passwords, health data, government identifiers, payment and bank data, and commercially sensitive information [8]. OWASP also warns against logging anything not legally sanctioned, noting that monitoring employees or collecting data without consent may be illegal [8]. If the agent touches staff, client, health, financial or HR information, ask your privacy or legal contact what you may record and for how long.

Instead of loggingLog this
The full customer emailMessage ID and assigned category
The document summarizedDocument ID and version
A token used by a toolTool name and whether the call succeeded
Full transcripts by defaultA reference to a transcript held in an access-controlled system

OpenAI documents a setting to keep model and tool inputs and outputs, which may contain sensitive data, out of traces [10], and Google recommends keeping production logs at information or warning level because debug logs may contain sensitive information [11].

Protect what you keep. NCSC’s August 2026 advice says agent logs may contain sensitive data and should be protected from modification or deletion, ideally immutable [3]. OWASP says logs must not be destroyed before the required retention period or kept beyond it [8]. A dashboard’s window is not the same as retention: as of its October 22, 2026 update, Copilot Studio’s Monitor page shows session details and transcripts for the last 28 days (other monitoring data for up to 360 days), while transcripts stored in Dataverse follow a separate retention setting [12]. Check where sensitive transcripts actually persist. Leaner logs are also easier to use; the joint guidance notes that long reasoning chains and large amounts of context produce large logs that, depending on the implementation, are often repetitive, making useful signals harder to extract [7]. Stored agent memory needs its own retention rule.

Set a Few Alerts That Someone Will Act On

Google’s Site Reliability Engineering book (2017 online edition) warns that frequent alerts lead people to skim or ignore them, sometimes missing a real problem, and that every page to a person should be actionable [4]. For a small agent, three to six alerts is a sensible start (editorial judgment, not a standard). Good candidates:

  • An action without its required approval, or use of a tool or permission outside scope. OWASP suggests watching for approval bypass attempts, abnormal tool call frequency and sudden increases in high-risk actions [9].
  • Unusual patterns against a baseline. The joint guidance recommends anomaly detection that triggers alerts or pauses [7].
  • Quality below a threshold you set during testing. Microsoft’s Foundry documentation (updated October 17, 2026) describes alerts when outputs fail quality thresholds [13].
  • Silence. If an agent stops running, dashboards may just show less activity; Copilot Studio notes that analytics for triggered agents count only successfully triggered runs [12]. Alert when expected runs do not happen.
  • Loops, retries or runaway cost. Set these up with spending, time and usage limits, and turn to fixing an agent that gets stuck when one fires.

Suspicious content in tool results deserves its own route; see protecting an agent from unsafe instructions. Give every alert a named recipient and a first step.

Sample Real Runs for Human Review

Alerts catch loud failures. Sampling catches quiet ones: a summary that drops a caveat, a category that is slightly off, a tone that drifts. The joint guidance recommends audits combining human review with automated log analysis [7]. Automated scoring can widen coverage; Microsoft’s Foundry documentation describes evaluating production traffic at a sampled rate [13]. Treat an AI evaluator as a second opinion: NCSC advises that “judge” models used to help manage agents be independently evaluated, since they may have limitations [3].

No standard sample size exists; NIST lists the balance between automated and human-validated monitoring as an open question [5]. A starting point (editorial judgment): every flagged run plus a random handful of ordinary ones each week, more for consequential work and after any change. Check accuracy, completeness, instruction-following, tone and where sensitive data went. Reviewers see real data, so review inside the system that already holds it, with access limited to those who need it.

Set a Review Cadence That Matches the Risk

NIST’s monitoring report treats cadence as an open question [5]. This schedule is ours, for a small, low-to-moderate-risk agent (editorial judgment, not a standard):

  1. First two weeks: the owner reads most runs daily and tightens instructions and alerts.
  2. Weekly: alerts, the random sample and user complaints.
  3. Monthly: trends in errors, rejections, overrides and volume, plus vendor model notices.
  4. Quarterly: owner, backup and permissions, and whether the agent is still worth running.
  5. After any change to prompts, tools, data sources, permissions or model: rerun pre-launch tests and sample more heavily.

NCSC suggests running early autonomous work in office hours, when more oversight is available, and expanding to overnight or weekend runs only once controls have proved effective [3].

Watch for Drift in Inputs and Models

Drift is a gradual change in an agent’s inputs or behavior that makes earlier test results less reliable; NIST AI 800-4 lists detecting degradation and drift among the barriers practitioners report [5].

When the work changes

New request types, a reorganized folder or a new email template can push an agent outside what it was tested on. Guidelines for secure AI system development, published on the UK NCSC’s site in November 2023, ask system providers to measure outputs and performance so they can spot sudden and gradual changes in behavior affecting security, and to account for natural data drift [14]. The 2026 joint guidance adds monitoring for goal drift against the approved specification [7]. Each month, compare a few fresh real cases with your original tests.

When the vendor changes the model

The model can change even when your settings do not. In a study published in Harvard Data Science Review in 2024, Lingjiao Chen and colleagues ran the same tasks against GPT-3.5 and GPT-4 as they behaved in March 2023 and again in June 2023 [15]. On one task, telling prime from composite numbers, GPT-4 scored 84% in March and 51% in June, while GPT-3.5 improved [15]. Covering two snapshots of one provider’s 2023 models, with mixed results, it shows that behavior under one model name can shift, not how often current models do; the authors advise users of such services to monitor them [15].

Models are also retired on schedules each provider publishes [16, 17, 18, 19]:

ProviderStated policy, checked November 2026
OpenAIAt least 6 months’ notice for generally available models and 3 for specialized variants; preview models possibly as little as 2 weeks [16]
AnthropicAt least 60 days’ notice for publicly released models; requests to retired models fail [17]
Google CloudListed generally available Gemini models stay at least 12 months after release; shorter-term models get at least 45 days once a retirement date is posted [18]
Microsoft FoundryPage dated July 24, 2026: at least 60 days’ notice for generally available models, most on a standard 18-month lifecycle, and 30 for preview models; Standard-type deployments auto-upgrade at retirement unless that setting is changed [19]

Where automatic upgrades are on, change can arrive without any action on your side. Put each vendor’s deprecation page on the monthly check, record model versions in logs, and retest before a switch. NIST calls for third-party and pre-trained models to be monitored as part of regular maintenance [1], and OWASP warns against skipping adversarial testing after provider changes [9].

Know When and How to Pause

NIST asks for a way, with someone assigned to use it, to take an AI system out of service when it stops behaving as intended [1]. The joint guidance recommends versioning and rollback to known-good behavior, and rolling back autonomy and access after failures [7].

Write pause triggers down in advance. Reasonable ones (editorial judgment): an action taken without required approval, sensitive data where it should not be, a sharp jump in errors or rejections, an untested model change, or no available owner.

  1. Turn off the trigger or schedule and confirm no runs are in progress.
  2. Preserve the logs; the joint guidance recommends holding requests to delete logs until a human approves [7].
  3. Tell the people who rely on the agent and switch them to the manual fallback.
  4. Investigate, fix and rerun your tests.
  5. Resume with reduced autonomy, such as a restored approval step, and widen it only after a clean review period.

In the EU, deployers of an AI system classed as high-risk under the AI Act will have to monitor its operation following the instructions for use, suspend use and inform the provider or distributor and the relevant market surveillance authority if they believe the system presents a risk, and keep its automatic logs under their control for at least six months unless other EU or national law says otherwise [20]. Under the consolidated text as amended by the Digital Omnibus on AI (as of July 27, 2026), those duties will apply from December 2, 2027, for Annex III systems and from August 2, 2028, for Annex I systems [21]. Most small agents will not qualify; if yours might, ask a legal or compliance contact (this is not legal advice).

Retire an Agent on Purpose

Agents rarely get switched off cleanly; they get forgotten. NIST calls for processes to decommission AI systems safely [1]. A retirement checklist:

  • record why and who decided, and tell users;
  • turn off every trigger, schedule and integration;
  • revoke credentials and tool access, using the tool access guide;
  • delete or archive stored memory and working files under your retention rule;
  • keep logs for the required period, then dispose of them [8];
  • remove the agent from your team’s inventory.

Vendor retirements can force the decision, since requests to a retired model fail [17]. If migrating means retesting anyway, ask whether the agent still earns its keep.

Worked Example: A Plan for a Support-Inbox Drafting Agent

Imagine a small team whose agent reads new messages in a shared support inbox, assigns a category and drafts a reply. This is a hypothetical, not a tested setup.

Plan elementWhat the team writes down
OwnerSupport lead, with a named backup
LogRun ID, time, message ID, category, tools called, draft ID, approver and decision, errors, model and prompt version
Not loggedEmail bodies, attachments, order or payment details
AlertsReply sent without approval; several failed runs in a row; no runs while mail arrives; a spike in rejected drafts
SampleWeekly: a random handful of approved drafts plus every rejected one
Pause triggerUnapproved reply, customer data in the wrong thread, or an untested model change

Human review point: every draft waits for a team member to approve, edit or reject it before sending, and the owner reviews the weekly sample.

Sensitive data: customer names, contact details, order and payment information, and any health or legal details customers mention. Keep them in the approved helpdesk system, keep payment and identity data out of logs, and limit who sees the sample.

What We Know, What We Don’t, and Where Experts Disagree

Confidence: Developing

What We Know

NIST, OWASP and government security agencies agree on the basics: monitor behavior in production, assign named responsibility, log decisions and tool calls while protecting sensitive data, alert on unusual behavior, and keep a working way to stop or roll back [1, 9, 3, 7]. Provider policies show that models are routinely retired or replaced; what varies is the notice [16, 17, 18, 19].

What We Don’t Know

We found no study establishing how often agents should be reviewed or how large a sample should be; NIST lists cadence as an open question [5]. We also found no study measuring how often deployed agents drift; the clearest evidence of model change is a 2023 comparison of two snapshots from one provider [15]. Much guidance is new: NCSC calls its August 2026 advice interim [3], and NIST says its framework is being revised [1].

What Experts Disagree About

We did not find credible experts arguing against post-launch monitoring. NIST records the live questions as open rather than as opposing camps: whether monitoring should scale with risk, and how to balance automated and human checks [5].

Practical Takeaways

  • Write a one-page plan: owner, backup, log fields, alerts, sampling, review dates, pause triggers, retirement steps.
  • Log references and outcomes, not sensitive content; check your platform’s trace and transcript defaults.
  • Keep alerts few, each with a recipient, including one for silence.
  • Sample real runs at random weekly, plus every flagged run; treat AI evaluators as aids.
  • Track vendor deprecation pages and retest before any model switch.
  • Practice a pause once; retire agents deliberately.

Sources

  1. AI RMF Core (Artificial Intelligence Risk Management Framework, AI RMF 1.0, Section 5). National Institute of Standards and Technology (NIST), 2023-01, accessed 2026-11-13.
  2. AI Risk Management Framework. National Institute of Standards and Technology (NIST), 2023-01-26, accessed 2026-11-13.
  3. Managing the cyber risk of agentic AI. National Cyber Security Centre (UK), 2026-08-20, accessed 2026-11-13.
  4. Monitoring Distributed Systems (Site Reliability Engineering, Chapter 6). Google / O'Reilly Media (online edition), 2017, accessed 2026-11-13.
  5. New Report: Challenges to the Monitoring of Deployed AI Systems. National Institute of Standards and Technology (NIST), 2026-03-09, accessed 2026-11-13.
  6. Joint guidance on the careful adoption of agentic artificial intelligence services. Canadian Centre for Cyber Security, 2026-05-01, accessed 2026-11-13.
  7. Careful adoption of agentic AI services. Australian Signals Directorate's Australian Cyber Security Centre (ASD's ACSC) with CISA, NSA, Canadian Centre for Cyber Security, NCSC-NZ and NCSC-UK (PDF hosted by NCSC-NZ), 2026-05, accessed 2026-11-13.
  8. Logging Cheat Sheet. OWASP Cheat Sheet Series, accessed 2026-11-13.
  9. AI Agent Security Cheat Sheet. OWASP Cheat Sheet Series, accessed 2026-11-13.
  10. Tracing (OpenAI Agents SDK documentation). OpenAI, accessed 2026-11-13.
  11. Logging in ADK (Agent Development Kit). Google (Agent Development Kit documentation), accessed 2026-11-13.
  12. Monitor agent performance in Copilot Studio. Microsoft Learn, 2026-10-22, accessed 2026-11-13.
  13. Observability in generative AI. Microsoft Learn, 2026-10-17, accessed 2026-11-13.
  14. Guidelines for secure AI system development: Secure operation and maintenance. National Cyber Security Centre (UK), 2023-11-27, accessed 2026-11-13.
  15. How Is ChatGPT's Behavior Changing over Time?. arXiv (v3, 31 October 2023); published version in Harvard Data Science Review, 2024 (DOI 10.1162/99608f92.5317da47), 2023-10-31, accessed 2026-11-13.
  16. Deprecations. OpenAI, accessed 2026-11-13.
  17. Model deprecations. Anthropic, accessed 2026-11-13.
  18. Model versions and lifecycle. Google Cloud, 2026-11-13, accessed 2026-11-13.
  19. Foundry Models lifecycle and support policy. Microsoft Learn, 2026-07-24, accessed 2026-11-13.
  20. Article 26: Obligations of deployers of high-risk AI systems (AI Act Service Desk). European Commission (AI Act Service Desk), 2026-07-27, accessed 2026-11-13.
  21. Article 113: Entry into force and application (AI Act Service Desk). European Commission (AI Act Service Desk), 2026-07-27, accessed 2026-11-13.