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
Native support for ephemeral sandbox VM subagents (e.g. Vercel Sandbox) with live T3 thread streaming & interaction
#40461
(Moved from #40120 to Discussions → Ideas per maintainer guidance; related to #27949 and #18019, focused specifically on delegated subagents rather than only top-level user chats.)
Problem
We run isolated builder subagents inside ephemeral cloud VMs (specifically Vercel Sandboxes booted from our own pre-baked snapshot/image, which join our Tailscale tailnet on boot).
Because T3 Code currently only supports local delegate_task children or manually paired long-lived Linked Environments, we have to launch sandbox VMs via a custom CLI + background polling timer that wakes the parent thread once a round finishes. While this gives us strong VM isolation, the subagent session itself is completely opaque inside T3:
We can't watch the subagent's live stream, tool calls, or reasoning in T3 (desktop, web, or mobile).
We can't natively steer, interrupt, send follow-up rounds, or respond to questions/approvals in the T3 UI.
The VM subagent doesn't appear in the parent thread's Lineage or live subagent status.
Proposal
Add native support for running delegated subagents (delegate_task / isolated child threads) inside ephemeral sandbox VMs with full T3 thread visibility and interaction:
Lightweight ephemeral T3 worker/server binary in the VM: A small T3 server/worker binary that can be baked into our custom VM image (or installed at startup) and automatically attaches back to the parent T3 server using a short-lived/ephemeral token over Tailscale, T3 Connect, or an outbound connection — with no manual pairing flow per VM.
First-class native subagent experience:
The VM subagent appears as a normal child thread in the parent's Lineage and active-agent indicators (ideally badged as a sandbox/VM).
Full live streaming, steering, follow-ups, interruption, and approval/question forwarding from T3 desktop/web/mobile.
Clean teardown: Once the ephemeral VM is destroyed after the task completes, the transcript stays readable in T3 history/lineage without leaving behind stale "disconnected environment" entries in Settings.
Linked Environments are great for persistent machines (laptop, devbox, VPS), and #27949 / #18019 cover starting a top-level chat in a sandbox. For orchestrator/captain workflows, we need agents themselves to delegate isolated work (delegate_task) into short-lived VMs built from our own pre-baked image, while letting humans inspect, follow, and interact with those subagent sessions natively inside T3.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
(Moved from #40120 to Discussions → Ideas per maintainer guidance; related to #27949 and #18019, focused specifically on delegated subagents rather than only top-level user chats.)
Problem
We run isolated builder subagents inside ephemeral cloud VMs (specifically Vercel Sandboxes booted from our own pre-baked snapshot/image, which join our Tailscale tailnet on boot).
Because T3 Code currently only supports local
delegate_taskchildren or manually paired long-lived Linked Environments, we have to launch sandbox VMs via a custom CLI + background polling timer that wakes the parent thread once a round finishes. While this gives us strong VM isolation, the subagent session itself is completely opaque inside T3:Proposal
Add native support for running delegated subagents (
delegate_task/ isolated child threads) inside ephemeral sandbox VMs with full T3 thread visibility and interaction:Why Linked Environments (and top-level sandbox chats alone) don't quite cover this
Linked Environments are great for persistent machines (laptop, devbox, VPS), and #27949 / #18019 cover starting a top-level chat in a sandbox. For orchestrator/captain workflows, we need agents themselves to delegate isolated work (
delegate_task) into short-lived VMs built from our own pre-baked image, while letting humans inspect, follow, and interact with those subagent sessions natively inside T3.All reactions