The 24-hour mirror deployment every agent engineering team runs
Run a full mirror of your production agent stack for 24 hours after every patch to catch behavior drift before promotion.
Tooling prerequisites
Set up a dedicated mirror environment in your existing LangGraph deployment that replicates your production graph, memory store, and external tool calls exactly. Connect it to a read-only copy of your ServiceNow ticket queue and CRM data. Assign the engineering lead as the sole approver for mirror promotions.
The play, step by step
- Tag the new agent commit in your repo and trigger the automated mirror deploy via your CI pipeline within one hour of merge.
- The on-call SRE enables traffic replay at 100% volume from the prior 24 hours of production logs into the mirror.
- Run the standard regression suite plus new outcome assertions; flag any decision that differs from the logged production outcome by more than 3%.
- The engineering lead reviews the drift report in the dashboard and either approves or rejects promotion by 8 a.m. the next day.
- If approved, the pipeline promotes the same image to production with the same config hash.
- Log the mirror outcome ID in the agent decision log stored in ServiceNow for audit.
- Archive the mirror instance and its metrics after promotion completes.
When to run this play
Execute this play after every non-config change to the agent graph, including LangGraph node updates, tool schema changes, or prompt edits that affect routing logic.
Watch-outs
Stop and escalate to the head of engineering if mirror error rate exceeds 5% on any single outcome type or if the mirror cannot complete replay within 20 hours. Do not promote if external tool credentials fail in the mirror.
flowchart TD
A["Tag commit"] --> B["Deploy mirror"]
B --> C["Replay traffic"]
C --> D["Check drift"]
D --> E{"Under 3%?"}
E -->|Yes| F["Approve promote"]
E -->|No| G["Escalate lead"]
F --> H["Log outcome"]
Your first week
Clone your current production LangGraph graph into a new mirror project in the same repo and wire the traffic replay job to run once.