Production telemetry → context auto-update
At L5, agent context updates automatically based on production signals - when a service degrades, agents working on related code receive updated operational context without manual intervention.
- ·Agents maintain persistent identity and memory across sessions (Beads/Git-backed)
- ·Production telemetry feeds back into agent context automatically (deploy, error, performance data)
- ·Agents detect stale documentation and update it without human initiation
- ·Agent memory persists architectural decisions and their rationale across sessions
- ·Self-healing context updates are validated by automated tests before commit
Evidence
- ·Agent memory store with session-spanning entries and timestamps
- ·Production telemetry-to-context pipeline configuration with update frequency
- ·Git history showing agent-authored documentation updates with passing CI
What It Is
At L3 and L4, operational context (deployment status, error rates, service health) is provided to agents at task start through MCP servers and BYOC pipelines. This works well when context is fetched once and the production state is stable. But production systems change constantly: a service that was healthy when the agent started a task may be degraded by the time the agent proposes a change. Static operational context, even if it was accurate at session start, becomes stale.
Production telemetry context auto-update closes this loop. Agent context is subscribed to production signals - not just fetched once at session start, but continuously updated as production state changes. When an error rate crosses a threshold, when a deployment is rolled back, when an alert fires, when a circuit breaker opens - the relevant agents receive updated context automatically, without a human relaying the information.
The architecture is event-driven: production monitoring systems (Datadog, Grafana, PagerDuty, etc.) emit events when significant state changes occur. A context update pipeline subscribes to these events, determines which agents and tasks are affected, and pushes updated operational context to those agents. The agent's operational understanding of the system stays synchronized with reality, not with a snapshot taken at session start.
At L5 (Autonomous), this capability becomes essential. When agents are autonomously making code changes, deploying those changes, and monitoring the result, the feedback loop between production behavior and agent context must be automatic. An agent that doesn't know a service is currently degraded might confidently generate changes that make the situation worse. An agent that receives a real-time alert about increased error rates in a related service will incorporate that information into its next decision.
Why It Matters
The gap between agent context and production reality is a safety risk that grows with the autonomy level of the agent:
- Agents making unsafe changes - an agent that doesn't know a downstream service is operating at reduced capacity might generate a change that removes a safety check "to simplify the code"
- Missed integration with incident response - when production is degraded, agents working on related code should know about the degradation and adjust their suggestions accordingly
- Compounding errors in autonomous workflows - in multi-step agent workflows, a wrong assumption about production state in step 3 can lead to a cascade of wrong decisions in steps 4-10
- Faster incident response - when agents are automatically informed about production anomalies, they can proactively generate hypotheses and diagnostic steps without waiting for a human to relay the information
- Closed-loop validation - agents that have deployed a change and are monitoring its impact need real-time telemetry to evaluate whether the change was successful
The L5 vision is an agent that can observe the production environment, reason about what's happening, and act - all without requiring a human to bridge between production monitoring tools and the agent's context window.
Start with read-only telemetry subscriptions before giving agents any ability to act on production signals. Verify that the agent correctly interprets and acts on telemetry context for 30 days before introducing any automated production actions.
Getting Started
- Inventory your telemetry signals - Identify the production signals that are most relevant to development decisions: error rate anomalies, latency degradations, deployment events (deploys, rollbacks), circuit breaker state, and on-call alert firings. These are your candidate auto-update triggers.
- Build a telemetry event bus - Route production events from your monitoring systems into a unified event stream. Webhooks from Datadog, Grafana alerts, PagerDuty incidents, and CI/CD deployment events can be unified through a message broker (Kafka, SQS, or a simple webhook aggregator).
- Define the context impact model - For each event type, define which agent contexts it affects. A degradation alert for
payments-serviceaffects any agent working in repositories that depend on that service. The impact model requires the service dependency graph (from your knowledge graph infrastructure). - Build the context update pipeline - When an event fires, the pipeline queries the impact model to identify affected agents/sessions, assembles an updated operational context snippet, and pushes it to the affected agents through the agent orchestration layer.
- Implement agent response protocols - Define how agents should behave when they receive a context update mid-task. Options: pause and re-evaluate the current plan, add a warning to the generated output, flag the task for human review. Different event severities should trigger different protocols.
- Start with passive observation - In the first phase, agents receive telemetry updates and include relevant signals in their output (e.g., "Note: the payment service has elevated error rates - the change I'm proposing does not affect the payment path"). Automated actions come later, after the passive phase validates the context model.
Common Pitfalls
Alert fatigue in agent context. If every minor production fluctuation triggers a context update, agents will receive a constant stream of signals that crowd out more important context. Implement alerting thresholds appropriate for agent context updates - these should be higher than human notification thresholds, since agents need to distinguish significant events from noise.
Not handling conflicting context updates. An agent may receive a "service restored" update moments after receiving a "service degraded" update, or a "deployment started" update before receiving the "deployment succeeded" confirmation. The context update pipeline must handle event ordering and implement eventual consistency - not "last write wins" without order awareness.
Giving agents production write access too early. The natural evolution is: agents observe production telemetry → agents reason about production state → agents take production actions. The transition from step 2 to step 3 requires extensive validation. Start with read-only telemetry. Earn trust through correct passive observation before introducing production actions.
Not testing the context update pipeline as infrastructure. Production telemetry auto-update is infrastructure that agents depend on for safety. If the pipeline fails silently (events are lost, updates are delayed), agents operate on stale context without knowing it. Implement the pipeline with the same reliability standards as any other safety-critical infrastructure: monitoring, alerting, SLA targets, and runbooks.
How Different Roles See It
Bob's team is running production-level autonomous agent workflows. An incident occurs: an agent working on a performance optimization to the payment service didn't know that the payment processor had been experiencing elevated error rates for the past 30 minutes. The agent's "optimization" removed a defensive timeout that was acting as a circuit breaker. The change made it to production (through automated review) and worsened the incident.
What Bob should do: This is a safety incident that exposes a context gap. Bob should treat it as a post-mortem with a systemic fix: agents working on any code path that touches production services must have access to current operational state. He should sponsor the build-out of production telemetry context integration as a safety requirement - not a nice-to-have optimization - with a target of having all autonomous agents subscribed to relevant service health signals before new autonomous deployment capabilities are enabled.
Sarah is tracking incident frequency and notes that a new category of incidents has emerged: "agent-assisted regressions" - changes made by AI agents that were correct in isolation but incorrect given the production context at the time they were made. These incidents are difficult to prevent because they don't represent agent errors in the traditional sense - the agent produced valid code, but its operational context was incomplete.
What Sarah should do: Sarah should classify agent-assisted regressions separately from other incident types and track their root causes. If production context gaps are a common root cause, she can build an ROI case for telemetry auto-update: cost of the incidents (resolution time, customer impact, on-call overhead) vs. cost of building and operating the telemetry integration pipeline. She should also work with Bob to define the safety policy: under what conditions are agents permitted to make production-affecting changes, and what operational context must be present before those changes are allowed?
Victor runs an on-call rotation for the platform team. He's noticed that when production incidents occur, AI agents continue working on related features without knowing about the incident. This creates two problems: agents generate changes that are inappropriate during an incident (optimizations when stability is needed), and developers manually context-switch between their agent sessions and the incident response, losing context in both directions.
What Victor should do: Victor should prototype a simple telemetry integration: a webhook from PagerDuty that fires when an incident is declared, which adds an "INCIDENT IN PROGRESS: [description]" context record to the BYOC context for any agent sessions in related repositories. This is a low-complexity first step that solves the "agent doesn't know about the incident" problem without requiring full telemetry streaming. Victor can build this in a day using the PagerDuty API and his existing BYOC pipeline. If it works reliably, he can propose expanding to richer telemetry signals.
Further Reading
From the Field
Recent releases, projects, and discussions relevant to this maturity level.
Where does your team actually sit on this?
This guide describes one level of one area. Run the assessment to place your team across all 16 areas, see which gates you have passed, and get a report you can take to your stakeholders.