You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request] Support Webhook/Callback for long-running code execution results #190
Support for asynchronous code execution with a callback/webhook mechanism.
Use Case
I'm building an agent that performs long-running tasks (e.g., 10+ minutes of data analysis). Currently, I need to keep the SDK connection open to receive results via on_result or on_stdout. For these long tasks, a persistent connection is unreliable.
Proposed API
It would be great if sandbox.run_code or a similar method could accept a callback configuration:
Activity
linear commentedon Jan 9, 2026
ENG-3420