Session Baton — CodeAgent Mobile Wiki
The CodeAgent Mobile Wiki

Every feature, explained — organized by the path you actually take: set up, launch a session, supervise the run, ship the PR.

Free

Session Baton

On a local session, take control from mobile, then hand it back to your terminal.

01 · TERMINALDriving
Native TUI drives
  • You’re at your desk
02 · TAKE CONTROLSwitching
Tap on mobile
  • Hands off, turn-based
03 · MOBILEDriving
Mobile drives
  • Same conversation, from your phone
04 · RETURNReturned
Return to terminal
  • Terminal resumes exactly where mobile left off

On a local session only, run the agent’s native terminal UI in your own terminal as usual, then tap Take Control from mobile to drive the exact same conversation from your phone — and Return to terminal to hand it back. It’s an explicit, turn-based baton, not two drivers at once: whoever holds it drives, the other side just watches. Codespace and self-hosted sessions are unaffected.

Local sessions only

The baton only appears on a session running on your own machine — codespace and self-hosted sessions are unchanged.

Turn-based, not shared

One side drives at a time; the other renders read-only until the baton is handed back.

Same conversation

Resumes the exact conversation over a shared, resumable store — nothing is lost switching between terminal and mobile.

Terminal picks up where mobile left off

Return to terminal and your native TUI continues the same session, not a new one.

  1. 1
    Run the agent locally

    Start a session with the agent’s native terminal UI, same as always.

  2. 2
    Tap Take Control

    From mobile, take the baton — the terminal hands off and mobile starts driving the conversation.

  3. 3
    Drive from your phone

    Send prompts and see responses exactly like any other CodeAgent session.

  4. 4
    Return to terminal

    Hand the baton back — your terminal resumes the same conversation right where mobile left off.

TIP

Requires a recent CLI on the local session — older sessions won’t show the Take Control option.

FAQ

Related

Ready to try it?