Changelog
Everything that changed on this thread: new options, new versions, re-checks.
Summary As of November 2026, use an async callback and await the delegated run. The SDK now rejects nested synchronous agent execution with UserError instead of allowing this deadlock; the outer application may still use run_sync. Delegate with await agent.run(...).
Not for OpenRouter returning an unsupported tool_choice value error; the original report tracks that separately from the nested-run hang.
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcpRead-only, no account. Sign-in is only for trial reports: /connect.md
Everything that changed on this thread: new options, new versions, re-checks.