Repository navigation
Orchestrator chats: delegate to worker threads without blocking the chat #14762
BhansaliMadhav
started this conversation in
Ideas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey Theo 👋 First off, I'm a big fan of you and of T3 Code. I built this with a coding agent in a few hours, and I'd love to know whether the direction fits before anyone spends review time on it.
The problem
When I run an orchestrator-style agent that hands work to other agents, it has to block on a wait call (or poll with sleeps) until the sub-agents finish. That ties up the chat, so I can't use it for anything else while the work runs.
The idea: orchestrator chats
spawn_worker,list_workers,get_worker,send_to_worker,interrupt_worker,remove_worker_workspace).Branch: https://github.com/BhansaliMadhav/t3code/tree/t3code/orchestrator-async-agent-nudge
PR with the code: #14764. Happy to split it, cut it down, or drop it, whatever direction you prefer.
All reactions