A demo agent needs a model and some tools. A production agent needs a harness that survives contact with real systems: flaky vendors, fat results, impatient users, and its own pauses. The difference rarely shows in week one. It shows at the first 2 a.m. incident, priced in duplicate sends and unanswerable questions.
This checklist is the audit we would want run against any agent before it touches real work. Twenty-four checks, each pass-or-fail on evidence, grouped around the call, the gate, the run, and the moment you widen scope. Every check traces to a published source: Anthropic's engineering posts on tools, context, and multi-agent systems; the MCP specification (revision 2026-07-28, checked 2026-11-03); and the LangGraph and OpenAI Agents SDK documentation. The pattern pages in this pillar carry the mechanisms and the links. This page is the scoring sheet.
How to use it: one pass, in order, with the logs open. For each check, produce the artifact (the config value, the log line, the recorded test) or mark it failed. Fixes go to the failed checks in order; the groups are sequenced so that early failures are the cheap ones.
One rule keeps the exercise strict: evidence beats testimony. 'The agent basically retries sensibly' is not check 5. Check 5 is a policy value and a log line showing a permanent error that was not retried. If the team cannot produce the artifact in five minutes, the check fails, however good the intentions are. This sounds harsh and saves real time, because it converts architecture arguments into a scavenger hunt with a definite end.
Around every call: checks 1 to 8
These eight checks govern a single tool call from proposal to result. They are the cheapest in the list and remove the largest share of everyday failures.
- Check 1, schema validation before dispatch: arguments are checked against the tool's published inputSchema in the harness, not discovered as errors afterward. MCP puts validation duties on both server and client; doing it client-side catches the error while it is still cheap. Evidence: the validation step in the call path, plus rejection counts per tool.
- Check 2, rejections that teach: a failed validation returns the field, the expected shape, and one valid example. Anthropic's guidance is explicit that error responses should give the model specific, actionable improvements, not opaque codes. Evidence: three real rejection messages from your logs, readable by a new teammate.
- Check 3, a written timeout per call: every tool has a maximum call duration sized from measured latency, and the run has a hard ceiling behind it. The MCP specification advises timeouts on all requests; unmeasured guesses are acceptable on day one and get replaced with p99-based numbers from check 18. Evidence: the per-tool timeout table.
- Check 4, cancellation that lands: on timeout or user stop, the harness cancels (in MCP revision 2026-07-28, closing the response stream on Streamable HTTP, or sending notifications/cancelled with the request id on stdio), stops waiting, and drops late responses instead of applying them. Evidence: a log line showing a cancelled request and a late response being ignored.
- Check 5, bounded, classified retries: retries apply to transient failures only, never to validation or programming errors, with attempt caps and exponential backoff with jitter. LangGraph's published defaults (3 attempts, 0.5s initial, doubling, 128s cap) are a defensible starting row in the table. Evidence: the retry policy, and a log showing a permanent error not retried.
- Check 6, a recorded repeat class per write tool: idempotent, idempotency-keyed, check-then-write, or never-repeat, decided from vendor hints (MCP's idempotentHint) or a controlled double-run. The filesystem server's documented spread (create_directory idempotent, edit_file not) shows why one policy cannot cover every tool. Evidence: the classification table next to the retry policy.
- Check 7, a result-size budget: each tool's output is capped (Claude Code's default is 25,000 tokens per tool response, per Anthropic), trimmed results say so and name the way to get more, and search-style tools default to low result counts. Evidence: the budget table and one trimmed result from the logs.
- Check 8, results validated before use: tool output passes a shape check (the declared outputSchema where one exists) before it enters the context, and malformed output becomes a tool error, never citable data. MCP assigns result validation to the host explicitly. Evidence: one malformed result caught in a test, with the error the model received.
Gates and permissions: checks 9 to 13
Five checks decide who or what approves the calls that can hurt someone. If your agent has no write tools, record that fact here and move on; the checks return the day it gets one.
Two failure stories explain why this group exists. In the first, an agent with broad mail access sends a well-crafted message to a real list at 3 a.m., because nothing in the runtime distinguished draft from send. In the second, a human approver, worn down by forty trivial prompts a day, waves through the one call that mattered. Both are gating failures: the first gate missing, the second gate exhausted. The checks below calibrate for both, consequence on one axis and human attention on the other, because a gate nobody reads is a formality, not a control.
- Check 9, a written consequence classification: every tool is auto-run, gated, or never-autonomous, and the list lives in config, not in the system prompt. Prompts are advice; config is enforcement. Evidence: the classification table, reviewed when the tool set changes.
- Check 10, argument-aware gates: the gate can inspect the call's arguments, so reading any file runs free while writing outside the project pauses. LangChain's middleware supports exactly this with a predicate on the tool call. Evidence: two logged calls to the same tool, one auto-approved and one gated, differing by arguments.
- Check 11, a full decision vocabulary: approve, edit, reject, respond. Reject carries a reason back to the model; edit runs the corrected version. Yes/no gates starve the model of the information it needs to propose better. Evidence: one rejected call in the logs with its reason, and the model's next proposal.
- Check 12, fail-closed on the unparseable: arguments the harness cannot parse never reach the tool; they go to a human. The OpenAI Agents SDK implements this default in its approval flow. Evidence: a deliberately malformed call in testing, routed to approval, with the tool never invoked.
- Check 13, narrowest-scope credentials, enforced server-side where possible: read-only flags and scoped tokens beat prompt instructions. The GitHub MCP server's --read-only flag overrides tool selections, so the ceiling holds even if the wrapper is misconfigured. Evidence: the scope list per credential, and one test call refused by scope, not by politeness.
Around the run: checks 14 to 19
Six checks govern the run as a whole: what it remembers, what it records, and how anyone knows it is drifting.
Single calls forgive sloppy state. Runs do not. A run is where a mid-task crash meets yesterday's half-finished work, where a result fetched in step two gets cited in step forty, and where the costs nobody itemized quietly compound. Production pain concentrates here for a structural reason: demos exercise calls, production exercises sequences, pauses, resumes, and partial failures. These six checks are written against the sequence, and most first-time failures of the whole checklist live in this group.
- Check 14, one structured record per call: timestamp, run id, tool, decision, redacted arguments or a hash, duration, outcome class, result size, attempt. Secrets never reach the log; the MCP specification's logging page says log messages must not contain credentials, personal identifying information or internal system details (that feature is deprecated as of revision 2026-07-28, but the rule is a sound baseline for your own logs). Evidence: the record for the last real incident, answering what ran, in what order, with what outcome, without the transcript.
- Check 15, durable step completion: when a step finishes, that fact is stored before the next step starts, so a resume skips finished work instead of replaying it. LangGraph's checkpointing with pending writes is the reference behavior. Evidence: the kill-and-resume test from check 20, passing.
- Check 16, dependencies as data: any call consuming another call's output is an edge in a written step graph. Parallel execution is reserved for calls that consume nothing from each other. Evidence: the graph for the longest production task, with at least one gate between a read and the write that trusts it.
- Check 17, a compaction rule for long runs: past a stated size, the run summarizes state (decisions, open issues, current artifacts) and clears raw results instead of dragging them. Anthropic's context guidance lists tool-result clearing as the lightest compaction and describes summaries plus the most recent files surviving. Evidence: a long run whose context stayed bounded, with the summary it produced.
- Check 18, a monthly per-tool metrics review: invalid-parameter rate, first-attempt failure rate, average and p95 result tokens, p95 duration, per tool, trended. These are the signals Anthropic publishes for its own agent evaluations. Evidence: last month's table and the one change it caused (a description rewritten, a budget tightened, a tool replaced).
- Check 19, a fixed evaluation set: ten to twenty realistic tasks, run after any harness, tool, or model change, with failures read. Anthropic reports that a set of about twenty queries surfaced real regressions in their multi-agent work. Evidence: the set, its last run date, and its last caught regression.
Before you widen scope: checks 20 to 24
The last five checks run at the moment of temptation: the agent has behaved for a month and someone wants to remove a gate or add a tool. These are the graduation exams.
They are grouped separately for a reason. The first nineteen checks describe the system as built; these five describe the system as stressed. Tests 20 to 22 deliberately break things (kill the process, run the write twice, feed a stale result) because the failures that matter in production are precisely the ones polite testing never meets. Checks 23 and 24 are organizational, and they are the ones skipped most often, on the theory that the team will remember to be careful. Teams do not remember. Writing wins.
- Check 20, the kill-and-resume test: start a real task, kill the process mid-step, resume, and audit every side effect. Duplicates fail the test and send you back to checks 6 and 15. Evidence: the test record, with effect counts before and after.
- Check 21, the double-run test per write tool: execute each write tool twice with identical inputs in a sandbox and record what the second run does. This settles repeat classes empirically where vendor hints are absent. Evidence: the results table feeding check 6.
- Check 22, the stale-result test: feed the run a cached, outdated, or post-cancellation result and confirm the harness detects it (validation failure, provenance mismatch, ignored late response) rather than citing it. Evidence: the test and the error or drop it produced.
- Check 23, a written exit rule: before scope widens, name the condition that pulls the task back to manual (an error class, a cost ceiling, a drift metric from check 18). Deciding in advance is what makes widening calm. Evidence: the rule, in the runbook, with the metric it watches.
- Check 24, a review cadence with a name on it: someone specific reads the logs on a schedule, and a named symptom (rising invalid-parameter rate, first duplicate effect) tightens gates automatically. Approval records are only an audit trail if somebody audits. Evidence: the last review's date and one action it produced.
Scoring and what to do with failures
A production-ready harness passes all twenty-four, or carries a written exception with a reason and a review date. A plausible first-audit pattern: teams pass the call-level checks, fail durability (6, 15, 20), and discover their logs cannot answer check 14's question. That ordering is good news. The failures are concentrated in the run-level group, and they are buildable in days, not quarters.
Treat scope as the reward for boring logs. When the monthly review shows flat failure rates and the evaluation set is green, widen one notch: one more auto-approved tool, one higher budget, one longer unattended window. When a metric moves, tighten back to the last boring configuration and diagnose by layer. This ratchet, widen on evidence and narrow on signal, is the operating loop behind every pattern in this pillar. The checklist is how you know which notch you are standing on.
A worked scoring makes this concrete. Picture a customer-support agent with read access to the help center, draft access to replies, and a gated send. First audit: checks 1 to 5 pass (validation and timeouts came free with the framework, once configured). Check 6 fails: nobody knows whether the draft-save tool is safe to repeat. Check 11 fails: the gate offers approve and deny, and denied drafts teach the model nothing. Checks 14 and 15 fail together: logs show messages, not calls, and a restarted run redrafts from scratch. That is 17 of 24, and the fix list writes itself: record the draft tool's repeat class, add edit and reject-with-reason to the gate, log calls properly, persist draft completion. Two afternoons later the same audit scores 23, with check 22 scheduled. This is what progress looks like in this discipline: not a smarter agent, a shorter list of named ways it can still hurt you.
Who holds the pencil matters. Self-audits drift generous within two cycles; the person who wrote the retry policy reads check 5 and remembers the intent, not the evidence. Rotate the auditor, or pair the audit with the monthly metrics review so the numbers argue with the scores. The checklist is also the right artifact to hand a new teammate: twenty-four questions whose answers describe the system more truthfully than any architecture diagram, because each answer points at a running mechanism rather than a drawn box.
Keep the completed sheets. A run of dated checklists is the harness's medical record: when the score moved, which change moved it, and what broke the last time a gate was loosened. When an incident happens anyway (one will), the last clean sheet shortens the investigation by telling you what the system looked like when it was healthy, and which check to re-examine first. Production readiness is not a state you reach. It is a score you keep proving.
Exceptions deserve the same rigor as passes. When a check cannot apply yet (the agent reads one internal wiki and nothing else, so the go-live group waits), write the exception beside the check with the condition that retires it: first external tool, first write, first unattended schedule. Undated, unconditional exceptions are how checklists rot into wall art. Dated ones become the roadmap for the next widening, which is the entire point of keeping score.
What usually fails first, and the order to fix it
First audits tend to rhyme. The most common failure is check 14, the log that cannot answer questions: teams log model messages, or tool names without outcomes, and discover during the first incident that they cannot reconstruct the run. Fix it first regardless of group order, because every other check's evidence lives in that record. The second is the durability pair, checks 6 and 15, usually failed together: nobody wrote down what a re-run does, because the demo never crashed. The kill-and-resume test (check 20) exists to make that gap visible while the stakes are still a sandbox.
The third common failure is quieter: check 18, the monthly review that never happens, so budgets and timeouts freeze at their day-one guesses while vendors change shapes and prices underneath. The symptoms arrive slowly (rising result tokens, a creeping invalid-parameter rate) and get attributed to the model. Fix order after the audit: logs first, durability second, gates third (they are fast and make unattended running defensible), metrics cadence fourth, and budgets once the metrics exist to size them. Context failures feel urgent and diagnose badly without data, so resist fixing them first; the order above is the difference between a checklist and a wish list.
A final caution about the gate group. Passing checks 9 to 13 on paper while a human rubber-stamps forty approvals a day is a failed gate wearing a passed costume. The checklist cannot see approval quality, so measure it: median time-to-decision on gated calls, and the share of approvals where the arguments were actually displayed. If attention is being spent on trivia, reclassify until the queue is short enough to read. The pillar's diagnosis guide works through that failure, the gate that cried wolf, in full.
Budgets and rate limits: what the provider documents
Check 5 gives the harness a retry policy. It does not say how much traffic the harness may send in the first place, and the provider documents two different ceilings that need different handling. Anthropic's rate limits page, checked 2026-11-03, separates spend limits (a monthly cost cap per usage tier) from rate limits (requests, input tokens and output tokens per minute, per model class). Limits are enforced at the organization level, with optional lower limits per workspace. The page says the API uses a token bucket, so capacity is replenished continuously instead of resetting on the minute, and that a nominal 60 requests per minute might be enforced as one request per second. A burst can fail even when the per-minute average is fine.
What counts against a limit differs by provider, so budget per provider. For most Claude models, only uncached input tokens count toward input tokens per minute (ITPM): input_tokens plus cache_creation_input_tokens count, cache_read_input_tokens do not, with one listed exception for a retired Haiku row. Output tokens per minute (OTPM) is evaluated on tokens actually generated, and the page states that max_tokens does not factor in. OpenAI's rate limits guide says the opposite about estimation: the limit is calculated as the maximum of max_tokens and the estimated token count, so an oversized max_tokens consumes headroom you never use. A harness that sets one generous max_tokens everywhere costs no rate-limit headroom on one provider and throttles itself early on the other.
A headroom calculation turns those rules into a launch number. The profile below is hypothetical (12 model calls per run, 6,000 uncached input tokens and 500 output tokens per call, 90 seconds per run), and the limits are the Start-tier row for Claude Sonnet 5.5 on the Anthropic page as checked on 2026-11-03 (4,000 RPM, 2,000,000 ITPM, 400,000 OTPM; Opus 5.5 and Haiku 5.5 carry the same figures). Replace both with your measured profile and your own Console values.
const limits = { rpm: 4000, itpm: 2_000_000, otpm: 400_000 }; // Start tier, Claude Sonnet 5.5 row, checked 2026-11-03
const p = { turns: 12, uncachedIn: 6000, out: 500, seconds: 90 }; // hypothetical agent profile
const perMin = 60 / p.seconds; // runs per minute per concurrent run
const need = { rpm: p.turns * perMin, itpm: p.turns * p.uncachedIn * perMin, otpm: p.turns * p.out * perMin };
for (const k of Object.keys(limits)) console.log(k, Math.floor(limits[k] / need[k]), 'concurrent runs');
console.log('itpm with 80% cache reads', Math.floor(limits.itpm / (need.itpm * 0.2)));rpm 500 concurrent runs itpm 41 concurrent runs otpm 100 concurrent runs itpm with 80% cache reads 208
The binding limit here is input tokens, not requests: sizing from requests per minute alone would have allowed 500 concurrent runs where the input limit allows 41. Under the same assumptions, an 80 percent cache-read share lifts the input-limited figure to 208, because cache reads do not count toward ITPM on most models. The numbers come from a hypothetical profile and prove nothing about any real workload; the method is the point. Run it with logged token counts from check 14 and the result becomes a concurrency cap the harness enforces itself.
Two kinds of 429, and why retrying one of them is harmful
On the Anthropic API, a 429 can mean a rate limit, an acceleration limit after a sharp rise in traffic, or the tier's monthly spend cap. The spend-cap response carries error.details.error_code of enforced_spend_limit_reached and no retry-after header, and the page states that retrying, including the SDK's automatic retries, fails until access resumes at 00:00 UTC on the first day of the next month. A spend limit you set yourself below the cap behaves differently again: it returns HTTP 400 with invalid_request_error and a message beginning "You have reached your specified". The errors page adds that the official SDK retries transient failures twice by default, with exponential backoff, honoring retry-after when present. A retry policy that treats every 429 alike will hammer a closed door all month. Classify before retrying:
def classify(status, headers, body):
err = (body or {}).get("error", {})
code = (err.get("details") or {}).get("error_code")
if status == 429 and code == "enforced_spend_limit_reached":
return "spend_cap" # no retry-after; retries fail until access resumes
if status == 400 and str(err.get("message", "")).startswith("You have reached your specified"):
return "spend_cap" # a limit you set yourself
if status == 429:
return "retry_after" if "retry-after" in {k.lower() for k in headers} else "backoff"
if status in (500, 504, 529):
return "backoff"
return "fatal"The classifier is runnable as written and covers only the cases documented on those two pages (checked 2026-11-03); extend it from the provider pages you use. Whichever layer owns retries should be the only one: with a harness policy of three attempts on top of the SDK's default two retries, one logical call can become nine requests, and OpenAI's guide notes that unsuccessful requests still contribute to the per-minute limit. Set the SDK retries to zero where the harness owns the policy, or the reverse, and record the choice next to check 5.
Ramp traffic instead of switching it on. Anthropic's page warns that a sharp increase can trigger acceleration limits and advises gradual increases without a figure. OpenAI's guide is specific: once traffic reaches 1 million input tokens per minute, raise it by no more than 50 percent every 15 minutes. Applied to a plan to go from 1,000,000 to 4,000,000 tokens per minute, that guidance gives steps of 1,500,000, 2,250,000, 3,375,000 and 4,000,000, so one hour end to end. Treat that as a conservative template for any provider whose guide names no number, and say so in the runbook.
Rollout and rollback
Widening scope (checks 20 to 24) is a decision; rollout is the mechanism. Move in stages, each with an entry condition and a written rollback trigger, and let the check 18 metrics supply the triggers. The stages below are a recommended shape, not a provider requirement.
- Shadow: the agent runs on real inputs and proposes, a person acts, and the harness records agreement. Exit when the evaluation set from check 19 is green and the logs answer check 14's question.
- Draft-only: outputs land as drafts or pull requests, never as sends or merges. Exit when reviewers stop finding class-level errors for the period you set in advance.
- Gated live: writes run after approval from checks 9 to 13. Exit when approvals are fast, argument displays are read, and no duplicate effect has appeared.
- Unattended on a narrow slice: one tool class, one customer segment or one time window, with the budget caps above. Exit to wider scope only on flat metrics; fall back one stage on any named trigger.
Rollback is three separate jobs. First, stop new runs: a kill switch that the harness checks before each step, not a deploy. Second, cancel what is in flight. The MCP specification, cancellation page (revision 2026-07-28, checked 2026-11-03) says that on Streamable HTTP, closing the response stream is the cancellation signal, and on stdio the client must send notifications/cancelled with the request id; it also says a server may ignore a cancellation if processing has already completed, so cancellation is a request, not a guarantee. Third, reconcile side effects using the repeat classes from check 6, because a cancelled call may or may not have landed. Keep the previous prompt, tool descriptions and policy tables as versioned config, and write the config version into every call record, so reverting a change is a config switch and the logs show which version produced which behavior.
One monitoring gap catches rollouts that watch HTTP status alone. The Anthropic errors page notes that with streaming, an error can occur after a 200 response has been returned, and that such errors do not follow the standard mechanisms. Count mid-stream errors as failures in the rollout metrics, or a stage can look clean while a share of its runs end early.
Logging and retention for the launch
Check 14 defines what a call record contains. Three additions belong in the launch version. Store the provider's request id: the Anthropic errors page says every response includes a request-id header, repeated as request_id in error bodies, and support asks for it. Store the config version, so a rollback can be read back from the logs. Store the remaining-capacity headers the provider sends (the anthropic-ratelimit-*-remaining family on Anthropic, x-ratelimit-remaining-requests and x-ratelimit-remaining-tokens on OpenAI), so a throttling incident can be reconstructed without guessing. Anthropic notes the token headers are rounded to the nearest thousand and show the most restrictive limit in effect, so read them as a trend, not a meter.
Retention is a policy choice that depends on your contracts, your jurisdiction and what the logs contain, so this guide gives no universal period. It gives a structure. The MCP specification's logging page (revision 2026-07-28, where the feature itself is marked deprecated) states that log messages must not contain credentials, personal identifying information or internal system details that could aid attacks, and that implementations should rate limit messages and control access to logs. Those are sound rules for your own logs whatever the transport. Split the data by purpose and give each class its own period and its own readers.
- Debug detail (full arguments, raw results): shortest period, narrowest access, redacted or hashed where possible. This is where personal data and secrets leak.
- Call records (check 14 fields, request ids, config version): the working record for incidents and the monthly review. Size is rarely the constraint: at a hypothetical 500 runs a day and 12 calls a run, 400-byte records come to 2,400,000 bytes a day, about 72 MB over 30 days and 216 MB over 90 (computed by script, same assumptions). Storage cost is a poor reason to cut this class short.
- Decision records (who approved, edited or rejected which call, and when): longest period you can justify, because they answer who allowed what, and they are the evidence for check 24.
Launch conditions to sign before go-live
The checklist scores the harness. These conditions cover the launch itself; each needs an artifact, like every check above, and a named signer.
- L1: a computed concurrency cap from the headroom calculation, enforced in the harness, with the limit values and the date they were read from the provider console.
- L2: your own spend limit set below the tier cap, plus a workspace or key dedicated to this agent so its traffic is separable.
- L3: a per-run ceiling (steps, tokens, wall-clock time) that stops the run independently of any provider limit.
- L4: a 429 classifier that separates retryable limits from the spend cap, with one layer owning retries.
- L5: a kill switch checked before every step, tested once in staging by an on-call person who did not build it.
- L6: a rollback runbook naming the config version to revert to, the cancel path per transport, and the reconciliation step per write tool.
- L7: retention periods per log class, written, with access lists, and a redaction test showing a seeded fake secret never reaches the call record.
- L8: an alert on the remaining-capacity headers and on spend, with a human who receives it. An alert nobody receives fails the condition.
Continue in the Harness pillar
The pattern pages behind this guide: the failure each one prevents, the mechanism, and the implementation checklist.
Frequently asked questions
How is this different from the pre-flight checklist guide already on this site?
The pre-flight checklist decides whether a task should go to an agent at all and how to test the choice. This checklist assumes the task was chosen and audits the runtime around it: validation, timeouts, gates, logs, resume behavior. Run the first when selecting work, the second before widening what an approved agent may do unsupervised.
Do I score partial credit on a check?
No. Each check is written to be pass or fail on evidence: show the timeout value, the log line, the recorded repeat class. A check you almost pass is the one that fails at 2 a.m. Where a check genuinely does not apply (an agent with no write tools skips the double-run test), write the reason next to it instead of leaving it blank.
How often should I rerun the checklist?
On three triggers: a new tool joins the set, a tool or model version changes, and any production incident. Between triggers, the monthly metrics review (check 18) watches for drift, rising invalid-parameter rates or result sizes that no single run would reveal.
Which checks do teams fail most?
The checks most likely to be skipped are checks 6 and 15 (nobody recorded what a re-run does), check 14 (logs that cannot answer an incident question), and check 23 (no written exit rule, so scope only ever widens). All four are cheap on day one and expensive to retrofit.
How do I tell a rate-limit 429 from a spend-cap 429?
On the Anthropic API, the spend-cap response has error.details.error_code of enforced_spend_limit_reached and no retry-after header, and retrying fails until access resumes on the first of the next month (rate limits page, checked 2026-11-03). A rate-limit 429 may carry a retry-after header; the spend-cap response never does. Branch on the error code, not the status alone.
Should the SDK and the harness both retry?
Pick one owner. The Anthropic SDK retries transient failures twice by default, so a harness policy of three attempts on top can send nine requests for one logical call, and failed requests still count toward OpenAI's per-minute limits. Record which layer owns retries beside check 5.
How long should agent logs be kept?
There is no universal period; it depends on contracts, jurisdiction and what the logs hold. Split logs by purpose (debug detail, call records, decision records), give each its own period and access list, and keep secrets and personal data out of all three, as the MCP logging page requires of log messages.
Sources
- Anthropic, Rate limits (spend limits, RPM/ITPM/OTPM, cache-aware ITPM, 429 behaviour, headers, workspace limits)Read 2026-11-03
- Anthropic, API errors (status codes, request-id, SDK retry default, streaming errors after 200)Read 2026-11-03
- OpenAI, Rate limits guide (metrics, headers, max_tokens estimation, backoff, ramp guidance)Read 2026-11-03
- Model Context Protocol specification 2026-07-28, CancellationRead 2026-11-03
- Model Context Protocol specification 2026-07-28, Logging (deprecated utility; security rules)Read 2026-11-03
Keep reading
Guide
Agent Harness Engineering: Where Tool Use Succeeds or Fails
The model gets the credit and the blame. The harness decides what actually happens: which call runs, with what arguments, under whose permission, and what occurs when it fails. This guide defines the layer, its six jobs, and the build order, drawn from published production practice.
2026-10-08
Guide
Diagnosing Tool-Call Failures: Read the Run, Fix the Layer
An agent run failed and the transcript will not say why. A field method for separating six failure layers (arguments, tool, transport, context, permission, sequencing) from per-call records, with the fix that belongs to each one.
2026-10-08
Guide
A Checklist Before Letting an AI Agent Touch Real Work
Twelve checks before an agent touches customers, money, or public communication. Covers least-privilege access, written instructions and limits, trial runs, action logs, and rollback, calibrated by risk tier.
2026-09-26