Module 6 · Capstone project
Production monitoring and architecture review
5 min read
Going to production isn't the end of the project: it's the start of the phase where you really learn how your system behaves. Models evolve, documents change, users ask questions you hadn't imagined. This last lesson sets up monitoring for Atlas and the architecture review that will guide its next versions.
The production dashboard
Each indicator answers a specific question and is computed from traces and graph state.
Service health
| Indicator | Question | Alert if… |
|---|---|---|
Failure rate (failed) | Is the system working? | Sudden increase |
| p50 / p95 latency to review | Are users waiting too long? | p95 above your target |
BudgetExceeded rate | Are runs going out of control? | Any sustained increase |
| Model refusal rate | Are legitimate requests being blocked? | Increase after a model change |
| Model API errors (429, 5xx) | Are we rate-limited or down? | Abnormal rate over 15 minutes |
Quality
| Indicator | Question | Alert if… |
|---|---|---|
| Invalid citations detected | Is the writer inventing sources? | Any increase |
| Average number of revisions | Is the critique loop converging? | Drift toward the maximum |
| Human approval rate | Are notes good on the first try? | Sustained decrease |
| Judge score (sample) | Is quality holding up? | Decrease over a rolling 7 days |
Economics
| Indicator | Question |
|---|---|
| Average cost per published note | Is the system cost-effective? |
| Cost breakdown per node | Where should we optimize first? |
| Cache read rate | Is caching working? |
Alert on trends, not on cases
A probabilistic system will always produce some imperfect notes. Alerting on every rejected note creates noise, then indifference. Alert on distribution changes: an invalid-citation rate that doubles in a day, a p95 latency drifting over a week. These signals indicate that something in the system has changed — a model, a prompt, a document, a type of question.
The continuous improvement loop
Production feedback is your most valuable raw material:
production ──► traces + human decisions + user feedback
│
▼
rejected notes, comments, invalid citations, negative judge verdicts
│
▼
new cases in the evaluation set (module 5)
│
▼
improvement hypothesis (prompt, model, architecture)
│
▼
evaluation: better on the new case, no regression elsewhere?
│
▼
gradual rollout ──► production
Reviewers' comments (feedback in the human decision) are especially rich: each one describes precisely what was missing. Group them by theme every week; a recurring theme points to the next improvement.
Shipping a change safely
A prompt or model change can improve one case and degrade ten others. Recommended practices:
- Version prompts and configuration (in code, not in an untracked admin interface).
- Evaluate on the full set before going to production.
- Roll out gradually: a fraction of traffic on the new version, compare indicators, then generalize.
- Be able to roll back immediately.
- Change one thing at a time: otherwise you can't attribute an effect to its cause.
Model version changes deserve particular attention: a new model can change implicit behaviors (response length, tool usage, sensitivity to instructions). Treat them like any other change: full evaluation, gradual rollout.
The architecture review
Every quarter, or after a significant incident, reread the system with this grid:
Agent justification
- Is every agent still justified (parallelism, isolation, privileges, tiering)?
- Could an agent be replaced by a tool or deterministic code?
Security
- Does any agent combine private data, untrusted content and an output channel?
- Do tool credentials have minimum scope?
- Do all irreversible actions go through an approval?
Reliability
- Does every loop have a business bound?
- Are transient errors retried, and only those?
- Does a pending approval survive a restart?
Observability and quality
- Can every run be reconstructed?
- Is the judge calibrated against recent labels?
- Are recent incidents covered by evaluation cases?
Economics
- Is cost per published note tracked and under control?
- Are the no-compromise gains (caching, context hygiene) in place?
What next?
Atlas is a starting point. Directions for growth, each drawing on the principles of this course:
- An isolated web researcher (lesson 4.4): a quarantined agent, constrained output, no action tools.
- Long-term memory of reviewers' preferences (lesson 2.3), to reduce revisions.
- Routing by question type (lesson 2.4): simple questions skip planning.
- Exposing Atlas as an A2A service (lesson 3.2), usable by other teams' agents.
- Online evaluation: comparing two writer variants on a fraction of traffic.
You now have the patterns, the tools and above all the decision criteria to design, build and operate reliable multi-agent systems. The rule that sums them all up: start simple, measure everything, add complexity only when measurements justify it.
Key takeaways
- Monitor three families of indicators: service health, quality, economics.
- Alert on distribution changes, not on every imperfect case.
- Production feedback (rejections, comments, negative judge verdicts) feeds the evaluation set and the next improvement.
- One change at a time, evaluated, rolled out gradually, reversible — including a model change.
- A regular architecture review checks justification, security, reliability, observability and economics.
Hands-on
- From Atlas's exported traces, compute three dashboard indicators.
- Write the alert rule for your most critical quality indicator.
- Apply the architecture review grid to Atlas, then to a multi-agent system in your own context.