Terminal Tunnel (You Drive a Program)
Terminal tunnel is the reverse of agent terminal control: instead of the agent driving a program, you drive it — directly from the
chat box. While a tunnel is active, what you type in chat is sent straight into the
program, and the program's output streams back into chat through an embedded,
read-only terminal. The agent steps aside.
There are two ways in:
- Agent-mediated — you ask the agent to start something and let you drive it ("start
Claude and let me take the wheel"); it opens the program and tunnels it to you.
- One-click — the Terminal Tunnel agent template opens a chosen command and
tunnels immediately.
While tunnelled, a banner appears with a key palette (Enter, Esc, Ctrl-C, arrows,
Tab, Y/N) and a Hand back button — the only way out, since ordinary typing goes to
the program. Tunnel traffic is saved but kept out of the agent's conversation context,
so it doesn't pollute the agent's memory of the chat.
Related: The In-App Terminal, Built-in Agents.