all answers

Frameworks and tooling

Agent error messages

An agent error message is the error that a model API, an agent framework, or a tool protocol returns when an agent run breaks one of its rules or limits. People usually search for the literal string they just saw.

They exist because an agent makes many calls in a loop, and the state it sends grows with every step. Each call must follow the provider's message rules, fit the model's limits, and get through the provider's capacity, and the framework adds limits of its own.

Each kind of error needs a different response. Request errors mean the message history broke a rule, such as a tool call with no matching tool result after it, or a tool schema the provider rejects. They fail on every retry until the request-building code changes. Capacity errors, such as a rate limit or an overloaded API, are temporary and are retried with backoff, though a retry loop with no limit or delay makes them worse. Length limits come in two forms: a request too long for the context window is refused, while a reply that reaches the output token limit comes back normally, with a stop reason saying it was cut short. Loop limits, such as a maximum number of turns or a recursion limit, are framework guards against an agent that keeps going. Parsing errors mean the model's output didn't match the format the code expected.

An error string says where a run stopped, not why. A recursion or turn limit usually means the agent was looping, and raising the limit only lets it loop longer. Worse is the error that never surfaces: a reply cut off at the token limit, or a fallback after a failed parse, can pass as a normal answer, and the run ends as a silent failure.

8 questions

Answered, plainly.

What does "Max turns (10) exceeded" mean in an agent run?The OpenAI Agents SDK stopped a run that used its allowed model calls without a final output. The default is 10; read the trace to see whether it looped or needed more turns.answer →What does "Recursion limit of 25 reached without hitting a stop condition" mean?A LangGraph run took the maximum number of steps without reaching an end node. Often the graph is looping; raising recursion_limit only lets it loop longer.answer →What does "tool_use ids were found without tool_result blocks immediately after" mean?The message history sent to the Claude API has an assistant tool call with no matching tool_result in the very next user message. Repair the history; retries fail.answer →What does "Sibling tool call errored" mean in Claude Code?Claude Code cancelled this tool call because another call in the same parallel batch failed. The cancelled call did nothing wrong; find the call that really failed.answer →What does "overloaded_error" (529) mean for a running agent?The Claude API was temporarily overloaded by traffic across all users and refused the request. Retry the call with backoff; it isn't your rate limit.answer →Why does my agent stop with stop_reason "max_tokens"?The model's response reached the max_tokens limit in your request and was cut off. It's a successful response, not an error, so nothing raises.answer →What does "MCP error -32000: Connection closed" mean?The client's connection to the MCP server ended while a request was waiting. On a local stdio server, check first whether the server process exited.answer →Why does my agent get "rate_limit_error" (429) in a retry loop?The agent retries before the limit has room again, or the 429 isn't an ordinary per-minute limit. Wait for retry-after, and check error_code for a ramp or spend limit.answer →

Try Tessary on Cloud.

free · 10,000 traces a month · 1 GB · 30-day retention · $10 one-time credit for triage and RCA · no credit card