12 questionsQuestion · Short answer
Context Management & Reliability
Retry a plausibly temporary failure only within a finite attempt and elapsed-time budget. On the first-party Claude API, an overload ( 529 ) or retryable rate limit ( 429 ) can warrant backoff. Fix invalid input or request configuration…
Context Management & Reliability
Use compaction to summarize older conversation turns when the next decision can proceed from a concise state record. Preserve current policy and authorization constraints, decisions already made, open questions, and references to the…
Context Management & Reliability
Set a context budget below the documented limit of the selected Claude model. Count the prompt, history, tool definitions, and available tool results in the input estimate. Reserve room for the response, likely next tool results, and any…
Context Management & Reliability
Define a separate measurable threshold or rubric for each outcome that matters to the application. A production Claude system may need checks for task correctness, evidence grounding, response shape, policy compliance, tool selection and…
Context Management & Reliability
Define the application’s fallback and review gates before deployment. Use a safe partial answer, a request for missing information, or a bounded retry of a transient read when those options satisfy policy. Escalate when the evidence is…
Context Management & Reliability
Build a versioned suite of realistic cases with expected properties or a review rubric. Give routine requests and edge cases meaningful coverage, including missing evidence, conflicting input, tool errors, policy-sensitive requests, and…
Context Management & Reliability
Start by identifying the failed contract, such as incorrect task outcome, malformed output, weak grounding, wrong tool behavior, an authorization problem, excess latency or cost, or a confusing user experience. Capture a redacted trace…
Context Management & Reliability
Store data that must survive restarts, support audit, or be shared across workers in an application-controlled system. Keep the workflow ID, current stage, source versions, approved decisions, authorization and validation records, and…
Context Management & Reliability
Choose the technique that addresses the source of context pressure. On a supported Claude API model and deployment, use tool search to defer rarely needed tool definitions, programmatic tool calling to keep suitable intermediate results…
Context Management & Reliability
Audit automatically accepted extractions as well as the cases already sent for human review. Randomly sample within declared segments, retain the selection probabilities and correctness judgments, and account for unequal sampling when…
Context Management & Reliability
Keep a source mapping for each substantive claim throughout extraction, summarization and final synthesis. Before choosing between different figures, compare what they measure, whom they cover and when they apply. If the available…
Context Management & Reliability
Treat Claude's field confidence as a proposed score until it has been compared with independently adjudicated correctness labels for the relevant extraction task. A requested score of 0.95 does not establish a 95% probability that the…