What a Case Study Should Capture for Future Reference
A good agent case study is not a marketing write-up.
Busque em todas as páginas da documentação
A good agent case study is not a marketing write-up.
It is a durable record of what you built, why you chose that design, what it cost, how it failed, and what you would repeat or avoid next time.
A fixed service has a relatively stable path from request to response.
An agent has a loop, model variance, tool side effects, and cost that scales with thrash.
Six months later you rarely remember:
Without that memory, the next project starts from vibes.
| Artifact | Primary job | Time horizon |
|---|---|---|
| Case study | Narrative of problem → design → results | Reuse of judgment across projects |
| ADR | Single decision and context | Lifecycle of this system |
| Runbook | How to operate and recover now | Incident and day-2 ops |
Use all three when the system is serious.
A case study can link to ADRs and runbooks; it should not replace them.
Write for a skeptical peer who was not in the room.
They should answer:
Aim for one short doc (or wiki page) with these sections.
| Section | What to write | Bad substitute |
|---|---|---|
| Problem frame | User, goal, done_when, constraints | "We wanted an AI assistant" |
| Success metrics | Quality, latency, cost, human override rate | "Stakeholders were happy" |
| Architecture sketch | Loop shape, agents, stores, deploy target | Framework logo only |
| Tools and permissions | Allowlist, read vs write, secrets scope | "Integrations" |
| Bounds | Max turns, budgets, timeouts, stop rules | "The model stops when done" |
| Human gates | What pauses for approval | "Support can take over" with no mechanism |
| Eval evidence | Golden tasks, pass rates, sample size | One demo transcript |
| Observability | Trace fields you actually used | "We have logging" |
| Outcomes | Before/after numbers and qualitative notes | Screenshots of chat only |
| Trade-offs and rejects | What you did not choose and why | Silence |
| Incidents | Failure modes and fixes | Blaming the model alone |
| Open questions | What you still do not know | Claiming completeness |
Prefer boxes that name responsibilities, not only product names:
Note framework versions and "verify at build" for anything that moves quarterly.
| Metric class | Examples | Why it survives hype |
|---|---|---|
| Task success | Rubric pass rate on golden set | Quality without vibes |
| Safety | Bad-write count, escalation rate | Trust |
| Cost | $/successful task, p95 $/run | Budget realism |
| Latency | p50/p95 end-to-end | UX and CI budgets |
| Noise | Comments per PR, false S0 rate | Adoption |
| Ops | Loop-cap hits, tool error rate | Reliability |
Record period and traffic mix. A pilot on 50 friendly tickets is not a launch claim.
For each major fork, write one line:
Examples:
Future you needs the constraint, not the brand preference.
A case study without evidence is a blog post.
Attach or link:
| Situation | Case study depth |
|---|---|
| Weekend spike, no users | 10-line note + scrap link |
| Internal pilot (weeks) | Full checklist, light numbers |
| Customer-facing or money/risk path | Full checklist + incidents + eval tables |
| Pattern you will teach the org | Publish as reusable case study (this section's style) |
Case studies go stale when models and tools change.
Practice:
If another team will copy your pattern, add:
Without preconditions, others clone the diagram and miss the constraints that made it work.
| Misconception | Reality |
|---|---|
| "The PR description is enough" | PRs lose metrics, rejects, and multi-month outcomes |
| "We only need ADRs" | ADRs freeze decisions; case studies teach journeys |
| "Show the happy path only" | Failures teach more than demos |
| "Vendor case studies replace ours" | Their traffic, risk, and ops are not yours |
| "Case studies are for marketing" | Internal engineering memory is the primary value |
| "No numbers until production" | Pilot golden-set scores still beat anecdotes |
Often 1-3 pages plus links. If nobody will read it, cut narrative and keep tables, metrics, and trade-offs.
Capture decisions and metrics as you go; write the coherent narrative at pilot end or after a major milestone. Waiting six months guarantees fiction.
Document them carefully. Negative case studies prevent expensive repeats and are often more valuable than victory posts.
Include versioned prompt pointers and key policy excerpts. Full prompts may be long or sensitive; store them in repo with the case study linking to the commit.
Redact entities, use synthetic examples, and keep real traces in a private store. The architecture and metrics still publish cleanly.
Slides fade. Prefer a text document with tables that greps and links. Decks can summarize for leadership if the source of truth is text.
An eval report is a measurement artifact for a model or prompt version. A case study explains the whole system and the human decisions around those measurements.
Three strong ones beat twelve vanity ones. Prefer task success, cost per success, and one safety or noise metric tied to trust.
No. Lead with problem, tools, bounds, and outcomes. Frameworks are implementation detail unless the decision was the story.
Yes. Add handoff contracts, per-agent allowlists, and orchestrator stop rules to the architecture and bounds sections.
Postmortems deep-dive one incident. Case studies summarize the system story and may link several postmortems as evidence.
Problem frame, success metrics, tool allowlist, bounds, and the trade-off log. Everything else can be thin.
Stack versions: Pins from the category manifest (verify at build): OpenRouter (~315+ models, July 2026 pricing/fees); LangGraph 1.0+; CrewAI 1.14+; Microsoft Agent Framework 1.0; Vercel AI SDK 6; Pydantic AI (latest); LlamaIndex (latest); OpenAI Agents SDK (latest + MCP); MCP (Linux Foundation governance); A2A (HTTP+SSE+JSON-RPC 2.0); Solana
@solana/web3.js+@solana/spl-token.
Revisado por Chris St. John·Última atualização: 16 de jul. de 2026