Deployment and Consultant Notes

A Production Readiness Checklist for Anthropic Applications

A Production Readiness Checklist for Anthropic Applications
Learn a comprehensive production-readiness checklist for deploying Anthropic applications reliably under live traffic. This practical guide covers core evaluation criteria, agent loop safety, runtime secret injection, secure metadata-only logging, error handling, rate-limit resilience, cost estimation, and team ownership to prevent silent failures and ensure robust, secure, and production-ready deployments.

The first Anthropic feature I helped ship to real users had a working demo, a tidy prompt, and almost none of the operational pieces that keep a system alive under traffic. We discovered the gaps in the usual way: a rate-limit spike with no retry, a missing key that only failed on the canary host, logs that contained customer email addresses, and no evaluation set to tell us whether a prompt change had made answers better or worse. After that launch I started keeping a single checklist. Every subsequent Anthropic application has had to pass it before I would call it production-ready.

This post is that checklist. It consolidates the practices from the earlier Foundations, Agents, Production, Testing, and Deployment posts into one place you can run through before you expose an Anthropic-powered path to customers. It is deliberately practical: each item is something you can verify with a concrete artifact or a short test, not a vague aspiration.

As always:

Build the smallest useful version, then test what breaks.

How to Use This Checklist

Treat every item as a binary gate. “We plan to add that later” counts as not ready. For each item, capture a short note or link (config file, test output, dashboard URL, runbook section) so a second engineer can confirm the same evidence. The checklist is complete when every line has evidence, not when every line has a good intention.

The items are grouped in the same order the series developed them: correctness and evaluation first, then safety of the agent loop, then deployment and operations.

A documentary close-up of a screen showing a production readiness evidence tracking table and status logs.

1. Correctness and Evaluation

1.1 Fixed evaluation set exists
You have a versioned set of at least ten real or realistic examples that exercise the happy path and the failure modes you have already seen. Evidence: a file or table with IDs, inputs, expected constraints, and notes.

1.2 Evaluation runs against the production code path
The evaluation runner calls the same functions, prompts, and retry logic that production calls. Evidence: a recent evaluation report produced by that runner.

1.3 Structural validation is enforced
Structured outputs are validated before they are handed to downstream systems. Invalid JSON, missing keys, extra keys, and type errors are rejected or retried. Evidence: the validator code and a test that feeds it deliberately malformed objects.

1.4 Quality, latency, and cost are measured together
You can produce a single summary that shows pass rate, latency (average and tail), and estimated cost for the current configuration. Evidence: a recent experiment report from the combined harness.

1.5 Regressions are visible
You can compare two evaluation runs and see which examples improved, regressed, or stayed the same. Evidence: a diff or comparison output from the last prompt or model change.


2. Agent Loop Safety (If the Application Uses Tools)

2.1 Hard iteration limit
Every agent run has a maximum number of model turns. Evidence: the constant or configuration value and a test that hits it.

2.2 Tool allow-list
The model can only invoke tools that appear in an explicit allow-list. Unknown tool names are rejected and logged. Evidence: the allow-list and a test that requests an unknown tool.

2.3 Duplicate-action guard
Identical tool calls (same name and canonical arguments) are limited. Evidence: the canonicalization function and a test that repeats a call.

2.4 Human approval for side effects
Tools that send messages, write data, charge money, or otherwise change external state require an explicit human approval step. Evidence: the side-effect tool set and a dry-run that pauses for approval.

2.5 Complete traces are retained for failures
Failed or anomalous runs store the full decide → call → observe → respond history (messages, tool IDs, results, stop reasons). Evidence: a stored trace from a recent failure and a short debugging note that used it.


3. Secrets and Configuration

3.1 API key is injected at runtime
The Anthropic API key is not present in source control, container images, or build artifacts. It is supplied by the platform at process start. Evidence: deployment config that references a secret store or environment injection, and a scan or review showing the key is absent from the image.

3.2 Missing key fails fast
If the key is absent or malformed, the process refuses to become ready. Evidence: a startup log or health-check failure from a deliberate missing-key test.

3.3 Separate keys per environment
Development, staging, and production use different keys so a development leak does not expose production. Evidence: key names or secret-store paths for each environment.

3.4 Rotation procedure exists
There is a written sequence for rotating a compromised key (revoke, inject new value, restart or refresh, verify). Evidence: a short runbook section.


4. Logging and Privacy

4.1 Default logs contain metadata only
Routine request logs record model, latency, tokens, status, feature name, and request ID. They do not record raw prompts or completions. Evidence: a sample of production log lines.

4.2 Content sampling is explicit and redacted
If content is ever logged, it is sampled, redacted for obvious sensitive patterns, and stored under tighter access and shorter retention than operational logs. Evidence: the redaction helper and the configuration that defaults content logging to off.

4.3 No secret leakage in errors
Exception paths and error trackers do not embed the API key or full authorization headers. Evidence: a deliberate error test and the resulting log or error-tracker event.

4.4 Downstream systems do not re-capture bodies
Connected APM, error-tracking, or gateway tools are configured so they do not store raw request or response bodies for AI routes. Evidence: a short review note for each connected system.


5. Reliability and Operations

5.1 Transient errors are retried; permanent errors are not
Rate limits and 5xx responses are retried with backoff. Validation errors and most 4xx responses are not. Evidence: the is_transient (or equivalent) function and tests for both classes of error.

5.2 Timeouts are explicit
Every Anthropic call has a defined timeout. Evidence: the client or request configuration.

5.3 Health check does not call the model
Liveness or readiness probes do not depend on a live Anthropic request. Evidence: the health endpoint implementation.

5.4 Basic dashboards exist
You can see request rate, error rate, latency, and token usage (or cost) for the Anthropic-powered paths. Evidence: dashboard URLs or screenshots.

5.5 Alerting on error rate and latency
An alert fires when error rate or latency exceeds a threshold you have chosen. Evidence: the alert rule and a recent test or silent period note.


6. Cost and Capacity

6.1 Cost is estimated before full rollout

You have a rough projection of monthly cost at expected volume, based on measured tokens per request and current prices. Evidence: a short spreadsheet or note.

6.2 Max tokens is set deliberately

Every call sets max_tokens (or equivalent) to a value chosen for the task, not an arbitrary high default. Evidence: the call sites.

6.3 Rate-limit behavior is understood

You know what happens when Anthropic returns 429 (retry, queue, shed load) and have tested it. Evidence: a short test note or chaos result.


7. Human and Process Gates

7.1 Ownership is clear

A named owner (person or team) is responsible for the prompts, the evaluation set, and the production health of the feature. Evidence: a team roster or service catalog entry.

7.2 Change process for prompts and models

Prompt or model changes go through the evaluation set before production. Evidence: the last change record showing evaluation results.

7.3 Rollback path exists

You can revert to the previous prompt, model ID, or configuration without a full code redeploy if needed. Evidence: the configuration mechanism (feature flag, config service, or documented redeploy steps).


A Minimal Evidence Template

When you run the checklist, record evidence in a simple table:

ID

Item

Status

Evidence link or note

Date

1.1

Fixed evaluation set exists

Pass

evals/summarizer_v3.json

2026-10-12

1.2

Evaluation uses production path

Pass

CI job eval-summarizer

2026-10-12

3.1

API key injected at runtime

Pass

Secret store path prod/ant-key

2026-10-10

...

...

...

...

...

Keep the table next to the service documentation. The next engineer who inherits the system should be able to re-verify any line without asking you.

Three Ways Teams Usually Skip the Checklist

“We only have a few users.”

Low traffic hides missing retries, missing evaluation, and leaky logs. The same gaps become expensive the week traffic grows or a single enterprise customer appears.

“The demo is stable.”

Demos do not exercise rate limits, malformed model output, secret injection on a fresh host, or log redaction under concurrent load. Stability in a demo is not evidence for any of those items.

“We will add evaluation after we ship.”

Without a baseline evaluation set you cannot tell whether the first production prompt change improved quality or quietly regressed it. The cost of building the first ten examples is almost always lower than the cost of the first undetected regression.

What This Checklist Does Not Replace

It does not replace:

  • A full security review or penetration test

  • Legal or compliance review for regulated data

  • Load testing at expected peak traffic

  • A formal incident-response plan

Those are larger exercises. This checklist is the minimum set of engineering controls that should be in place before an Anthropic-powered path serves real users.

Verification Checklist (Meta)

  1. Walk through every section and mark each item Pass or Fail with evidence.

  2. Confirm that every Fail has an owner and a target date.

  3. Re-run the evaluation set and the combined latency/cost/quality experiment on the build you intend to ship.

  4. Confirm secrets injection and metadata-only logging on a fresh deployment (not only on a long-lived host).

  5. Store the completed evidence table where the next owner will find it.

If all five meta-steps are done and every checklist item is Pass, the application meets the production-readiness bar used in this series.

A documentary photo of a developer reviewing terminal logs for deployment health checks and verification steps.

Update Note

Model identifiers, pricing, and platform secret-injection mechanisms change. Re-verify model IDs and prices against the official Anthropic documentation and pricing page whenever you revisit the checklist for a major release. The structure of the checklist—evaluation, agent safety, secrets, logging, reliability, cost, and ownership—remains stable even as individual tools evolve.

Looking Ahead

The final post in the launch series steps back from implementation and lists the kinds of AI automation projects that are still not worth building (or not worth building without stronger human review). Once you have a production-ready path for the applications that do make sense, the remaining skill is choosing which ideas to refuse.

Keep the checklist. When a new Anthropic feature is proposed, you will already have a concrete definition of “ready” instead of a vague feeling that the demo looked good.

Build the smallest useful version, then test what breaks.

— Caleb Fletcher

Boise, Idaho

Updated · 2026-10-20 15:11
Feedback

No feedback yet — submit the first.

Submit feedback
© 2026 Context & Tools. All rights reserved. data-driven, published weekly ♥