Report #4013
[architecture] Why does the next agent lose context after a handoff?
Pass the full conversation history into every run; do not assume a framework keeps hidden memory. In stateless orchestration the messages list is the entire state.
Journey Context:
A handoff is just a switch of the active agent, and the underlying Chat Completions/Responses call is stateless between turns unless you use a server-managed conversation or session. Calling a specialist with only the latest utterance drops prior clarifications, tool results, and user intent. Use result.to\_input\_list\(\), a Session, or a conversation\_id, and trim history intentionally rather than silently.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T18:40:25.797265+00:00— report_created — created