Blueprints · Operations
Operating agents: audits, observability, reliability
Once agents run, someone must see what they do, prove it to an auditor and stop them fast. This page shows how, from the book, and how changes reach production.
Observability
What to log and trace
One trace ID follows a case across every platform it touches. The trace must answer an auditor’s seven questions. Book, Ch 22
The seven questions are on Design choices: evals and audits. This table lists the fields that answer them.
| Field group | Fields (illustrative) |
|---|---|
| Identity | Agent ID, native ID per platform, on-behalf-of user, approver |
| Context | Trace ID, trigger, business keys, entity, period |
| Inputs | Source references with timestamps, hashed where sensitive |
| Policy | Rule IDs and versions, limits applied, data class checks |
| Model | Model ID and version, prompt and skill versions |
| Output | Proposed action, confidence, evidence cited |
| Guardrails | Checks run, results, blocked actions |
| Human step | Decision, change made, time spent |
| Outcome | Posted document number, status |
- Integrity. Store traces where agents cannot change them. Book, Ch 22
- Completeness. Reconcile monthly: every agent posting has a trace, and every trace with a posting points to a document. Book, Ch 22
- Export daily. Vendor retention can be short. Promotion and audit evidence must outlive it. Book, Ch 25
- A trace gap is a control failure for agents that touch financial records. Book, Ch 25
- Swarms. One trace ID per task; each worker run is a child entry. The trace shows which single writer changed which record. Book, Ch 25
Dashboards and metrics
Four dashboards, four audiences
Every number needs a trend, a target and a traceable source. Book, Ch 26
| Audience | Cadence | What it shows (from the book) |
|---|---|---|
| Board | Quarterly | Outcomes such as DSO, close days and the share of decisions above L2 |
| Steering committee | Monthly | Portfolio, benefits and roadmap |
| Autonomy council | Every two weeks | Agents by level and platform, promotions, demotions, cost per outcome |
| AgentOps | Daily | Health, drift, cost and the hand-off queue |
Signals that move before the damage
| Indicator | What it reads | Red (illustrative) |
|---|---|---|
| Approval scrutiny | Share of L2 approvals reviewed over 20 seconds or edited | Under 10% |
| Override rate | Read only beside the sampled error rate | Falling while sampled error rises |
| Hand-off rate | Cases sent to people, against plan | Above plan; people still do most work |
| Regression pass rate | After any model, prompt or data change | Updates without a regression run |
| Fallback drill | Date and success of the last manual fallback drill | No drill before quarter-end |
Trust can be too low or too high. Calibrated trust means the override rate sits close to the agent’s measured error. Review times falling to seconds signal over-trust. Book, Ch 24 and Ch 26
Book, Ch 24, Ch 25 and Ch 26. Thresholds are illustrative.
Agent inventory
No registry, no run
An agent missing from the enterprise registry is stopped, whatever its platform. The gateways accept calls only from active, registered versions. Book, Ch 05 and Ch 25
| Record | System of record | Vendor platform’s role |
|---|---|---|
| Agent identity and owner | Enterprise registry | Mirror; issue platform credentials |
| Autonomy level and limits | Enterprise registry | Enforce locally where it can |
| Instructions, skills, versions | Platform or code repository | Store and run |
| Traces | Enterprise trace store | Produce; retain per vendor terms |
| Meter consumption | Enterprise cost data lake | Meter and invoice |
| Kill switch | Enterprise plane routes the command | Execute the stop |
Lifecycle states
- Proposed: use case approved for design. Nothing runs in production.
- Built: tests pass. Sandbox only.
- Shadow: runs on live triggers; read tools only; proposals logged.
- Active at L1 or L2: write tools only behind approval.
- Active at L3 or L4: write tools within limits; periodic review.
- Suspended: kill switch or demotion trigger; triggers queued.
- Retired: no actions; traces kept.
Any change to model, tools, instructions or limits creates a new version. It starts in shadow unless the change is minor. Auditors read the agent contract first. Book, Ch 05
The registry also keeps the “do not automate” list, with an owner, a reason and a review date. Book, Ch 22
Audits
The enterprise owns the rules, the evidence and the stop button
Each vendor platform enforces rules locally. Only the enterprise sees across platforms. Book, Ch 22
| Objective | Question it answers |
|---|---|
| C1 Know | Which agents exist, who owns them, what can they do? |
| C2 Limit | Can each agent do only what its task needs? |
| C3 Contain | Can bad input or a wrong decision cause only bounded harm? |
| C4 Prove | Can we show who did what, why and on whose authority? |
| C5 Stop | Can we stop one agent or all agents within minutes and fall back? |
Audit walkthroughs
- Explainability pass. Before L3, the owner and two reviewers explain the workflow without the vendor in the room. The result goes into the promotion file. Book, Ch 22
- Discernment pass. Reviewers must show they know when AI should not be used before they get review authority. Book, Ch 22
- Decision-quality audit. Each quarter, internal control re-performs a sample of approved and automatic decisions end to end. Book, Ch 06
- Recertification. The agent owner recertifies scope and level every quarter. Book, Ch 22
- Early walkthroughs. An auditor who rejects agent evidence is a named risk. Walk auditors through the trace design early. Book, Ch 26
A rule that must never break belongs in the application or the gateway, not in a prompt. Prompts are guidance; models can ignore them. Book, Ch 22
Who watches the agents
Guardians may stop, never start
Guardian agents review outputs, monitor actions or block them. A guardian may stop, throttle or flag. It may never start, approve, edit or promote. Book, Ch 25
The chain ends at a person
- Seeded cases. Known-bad cases are planted each week. Each guardian’s catch rate is measured.
- Independence. A guardian uses a different model family from the agents it watches, with code rules beside it.
- Human samples. The guardian’s owner reviews a sample of its stops and its silences every month.
- Its own record. Each guardian is registered with an owner, a level and SLOs. No guardian watches itself.
Escalation and demotion path
| Signal | Automatic action | Human decision | Demotion |
|---|---|---|---|
| Swarm exceeds width, depth or budget | Supervisor stopped | Owner within 1 business day | To the previous version |
| Two workers write the same record | Writes blocked; task stopped | Owner and AgentOps lead, same day | To L1 (read-only) |
| Wrong output above materiality | Task paused; case to the hand-off queue | Owner within 4 hours | One level |
| Guardian catches under 90% of seeded cases | Guardian marked degraded | AgentOps lead within 1 week | Watched swarms frozen at current level |
| Trace gap on any task | Treated as a Sev 1 control breach | On-call engineer at once | To shadow |
Book, Ch 25. Timings are illustrative.
Kill switch
Stop narrowly, stop fast, practice it
The kill switch has five levels. K1 to K3 stop one agent or scope. K4 and K5 stop many. Book, Ch 05
| Level | Action | Who may trigger | Target (illustrative) |
|---|---|---|---|
| K1 Pause agent version | Registry status to suspended; new triggers queued | Agent owner or any on-call AgentOps engineer | 5 minutes |
| K2 Revoke tool scope | Gateway disables one tool or scope for all agents | Tool owner, security operations | 5 minutes |
| K3 Revoke identity | The agent’s identity is disabled everywhere | Security operations | 15 minutes |
| K4 Platform stop | All agents on one platform fall back to L1 | CISO or named delegate | 30 minutes |
| K5 Fleet stop | All agents on all platforms fall back to L1 | Any two of CFO, CIO, CISO | 60 minutes |
- Test each level quarterly outside production and yearly in production. A kill switch never pulled is a hypothesis. Book, Ch 05
- A kill switch that works in one vendor console but not another is not a kill switch. Book, Ch 25
- Two trained people per team can take the full queue. Drill the manual fallback before each quarter-end. Book, Ch 22 and Ch 24
In the book’s capstone, a K2 on one order-write scope kept all other traffic running while the defect was fixed. Book, Ch 30
Reliability
Stop fast, change slowly
Any on-call engineer may stop an agent at once. Every change runs a full regression and passes an approval gate sized to its risk. Book, Ch 25
Service level objectives
| SLO | Definition | Target (illustrative) |
|---|---|---|
| Proposal quality | L2 proposals approved without edit | 90% |
| Hand-off rate | Cases sent to people | Below 25% |
| Post-action error | Executed actions later reversed | Below 0.5% |
| Cost per case | All meters plus hand-off time | At or below plan by month 6 |
| Trace completeness | Actions with a full trace in the enterprise store | 100% |
The book does not define per-agent error budgets. It uses an auto-error budget only in its business-case model. For running agents it sets SLO targets and automatic demotion triggers. Book, Ch 21 and Ch 25
Incidents
Five classes on every platform: outage, degradation, wrong action, control breach (including a missing trace) and cost anomaly. Book, Ch 25
| Severity | Example | First response | Who may stop the agent |
|---|---|---|---|
| Sev 1 | Control breach; material wrong postings; data exposure | 15 minutes, around the clock | Any AgentOps on-call engineer, at once |
| Sev 2 | Repeated wrong actions below materiality | 1 hour | Product owner |
| Sev 3 | Degradation in tolerance; cost anomaly | 1 business day | Product owner |
Recovery playbook for wrong actions
- Stop the agent at the right level, without waiting for a meeting.
- Start the manual fallback for the queue.
- Scope with traces: every action since the last known-good state.
- Correct through normal procedures: reverse postings, reissue messages, notify customers.
- Find the root cause: data, rule, context, model, tool, timing or vendor change.
- Decide: recover, redesign or stop.
- Restart only after tests pass and the owner and control owner sign.
Book, Ch 26.
Demotion rules
- To L2 after one critical error in the weekly sample, or value-weighted error above 0.2% in a month. Book, Ch 24
- To shadow after a control breach, missing traces or a vendor model change that fails regression. Book, Ch 24
- A readiness check that fails after go-live demotes the agent one level automatically. Book, Ch 06
- The autonomy council reviews every demotion within 10 working days. Promotion is never automatic. Book, Ch 01 and Ch 24
Drift and change
- Watch input, behavior and outcome drift. One past its band opens a rerun; two together freeze promotion. Book, Ch 06
- Treat every vendor update as a model change. Run the regression set and watch the SLOs for two weeks. Book, Ch 25
- A change an agent proposes to itself follows the same gate and is never self-approved. Book, Ch 25
Workload under pressure
- P1 interactive keeps reserved capacity. If throttled, it routes to people, never to silence.
- P2 deadline work, such as close tasks, may preempt batch work at peaks.
- P3 batch runs off-peak. P4 opportunistic work pauses during close.
Book, Ch 25. Priority classes are illustrative.
Failure patterns to name early
| Pattern | Symptom | Prevention |
|---|---|---|
| Rubber stamp | Approval rates near 100% in seconds | Scrutiny indicator; seeded cases |
| Autonomy ratchet | Levels go up, never down | Automatic demotion triggers |
| Silent drift | Quality falls after vendor updates | Regression on every update |
| Cascade | One error spreads through a chain | Circuit breakers |
| Shadow sprawl | Agents outside the registry | No registry, no run |
| Harness last | Agents built before identity, traces and limits | Invest in sequence |
Book, Ch 26. “A bad system will beat a good person every time”: fix the process, data, incentives or harness, not the person on duty. All figures on this page are illustrative.
Pipelines and the work repository
Pipelines and the work repository
Every change to what an agent does goes through a pipeline. The kind of artifact that changes decides which pipeline and who approves. Book, Ch 22 and Ch 25
One rule covers them all. Any artifact that can change what an agent posts, approves or sends is under change control. That includes a policy document the agent retrieves. Book, Ch 22
1. The skill pipeline
A skill packages instructions, scripts and examples an agent loads only when a task needs them. The enterprise owns skills and governs them like code. Book, Ch 05
| Stage | Owner | Rule | Source |
|---|---|---|---|
| Propose | Process owner, or the agent itself | Ideas come from hard cases, the exception list and override reasons. An agent may draft a skill but never approve it. | Ch 24, Ch 25 |
| Specify and write | Process owner with the context engineer | Capture what experienced people know but no procedure states. | Ch 05, Ch 24 |
| Test | AgentOps | A golden set per skill before first use. | Ch 05 |
| Version and release | Product owner | Same release policy as instructions. The skill version is written to every trace. | Ch 05, Ch 25 |
| Outside skills | Security | Install only from trusted sources. Review as third-party code and pin the version. | Ch 05 |
| Withdraw | Process owner | On a policy change, failed regression or retired dependency. Agents that load it return to shadow until retested. | Ch 05 |
The book’s skill graph maps which skills depend on others and which agents use them. Withdrawing one skill then shows every agent it touches. Book, Ch 05
2. The agent pipeline
An agent moves one state at a time, on written criteria and a named human decision. Demotion is automatic. Book, Ch 05 and Ch 26
| Step | Gate (summary, illustrative) | Decided by | Source |
|---|---|---|---|
| Design | The decision is written down: trigger, inputs, judgment, action, owner and evidence. An agent contract follows. | Process owner | Ch 05, Ch 21 |
| Harness | The harness score caps the highest level the agent may ever reach. | Autonomy Office | Ch 05 |
| Offline evaluation | Tool tests, golden set, trajectory checks, adversarial and envelope tests. | Autonomy Office | Ch 06, Ch 26 |
| Register | Own identity in the vendor platform and the enterprise registry. No registry, no run. | Platform team | Ch 25, Ch 26 |
| Shadow | Live triggers, no actions. At least 4 weeks incl. a month-end and 300 cases. | Process product owner | Ch 26 |
| Pilot | Criteria signed before the build. It must be able to end in “stop”. | Process owner | Ch 26 |
| Readiness gate | Twelve checks. L3 needs all twelve; L2 needs a named subset and a dated plan. | Named sign-offs per check | Ch 06 |
| Promote in slices | L3 opens one band, entity and limit at a time. | Autonomy council | Ch 26 |
| Demote or retire | Automatic on a critical error. Retired agents keep their traces. | Automatic; council reviews | Ch 05, Ch 26 |
Pace matters too. In the book’s plan, no financial agent is promoted in the last month of a quarter. A Sev 1 incident stops all promotions. Book, Ch 26
3. The build and release pipeline
Prompts, policies, limits, tools and model versions are released like code. Evals are the gate. Book, Ch 06, Ch 22 and Ch 25
- Regression on every change. Run the golden set, trajectory checks and adversarial set. Store the results in the registry entry. Book, Ch 06
- Pin model versions at the gateway, so a silent provider update is caught. Book, Ch 06
- New version, new start. A change to model, tools, instructions or limits starts in shadow unless it is minor. Book, Ch 05
- Canary. A small share of live volume runs at the target level first. Book, Ch 06
- Rollback. Changes an agent proposes roll back automatically on an SLO breach. Book, Ch 25
- Vendor updates are model changes. Run the regression set and watch the SLOs for two weeks. Book, Ch 25
- No ticket, no change. An instruction changed without a ticket is a control failure. Book, Ch 22
Practice, not from the book: the book names no build tools. A common way to apply it is to keep prompts, policies and skills in version control and block a merge when the regression suite fails.
4. The work repository
People need one place to see what agents are doing and what waits for them. The book supplies the pieces. Book, Ch 05 and Ch 25
- The hand-off queue is a production asset. Size it, watch its age and label each human decision as evaluation data. Book, Ch 25
- One queue per value stream. Keep one registry, one meter dataset and one hand-off queue, not one per vendor. Book, Ch 25
- Done is defined. Each task has a completion contract: what counts as done, the evidence required and who accepts it. Book, Ch 05
- State lives outside the model. Long tasks keep a progress record and the last known-good state. Book, Ch 05
- Every item points to evidence: its trace ID and, where a person decides, its approval card. Book, Ch 05 and Ch 22
The book does not describe one shared backlog for human and agent tasks. The fields below are practice built from the book’s pieces, not book figures.
| Field (practice) | What it holds |
|---|---|
| Task | One decision or piece of work, in plain words |
| Doer | A person, or an agent by registry ID and version |
| Accountable | Always a named person, such as the agent’s business owner |
| Status | Open, in progress, waiting for approval, escalated, done or not done |
| Level | The autonomy level the step runs at |
| Approval | Who approved, changed or rejected it, and when |
| Evidence | Trace ID, approval card and any change ticket |
| Deadline | The time that matters, such as a payment run |
Practice, not from the book: an agent should not close an item that waits on its own approval. Every agent item should name the person who answers for it.
5. Which pipeline does a change go through?
Classify the change by the artifact it touches. The class sets the pipeline and the approver. Book, Ch 25
| The change | Pipeline | Class | Approver |
|---|---|---|---|
| New skill or skill wording | Skill | Standard if evaluation passes | Product owner |
| Instruction text | Build and release | Standard if evaluation passes | Product owner |
| Threshold or limit | Build and release | Normal, control-relevant | Owner and risk lead |
| Model version | Build and release | Normal, full regression | Evaluation engineer and owner |
| Tools and permissions | Agent | Major, with a duties check | Risk lead and platform team |
| Autonomy level | Agent | Major | Autonomy council |
| Another platform in the path | Agent | Major | Design authority and council |
| A change the agent proposes | Same as the artifact it touches | Never self-approved | Approver for that class |
| A case the agent cannot finish | Work repository | Hand-off | The person on the queue |
Book, Ch 25, except the last row, which is practice. An agent’s limits, permissions, evaluation sets, traces and kill switch stay outside its own write scope. Book, Ch 22 and Ch 25