Who it is forA developer who starts an agent task at their desk and needs to continue it later from a remote terminal.
The problemMoving work between a desktop tool and a terminal usually loses context, so the user has to rebuild the conversation by hand.
The outcomeBoth clients read and write the same session, so the terminal shows the full conversation started in the GUI.
What you need first
- A DeepSeek-compatible API key, or a Cocode Pro subscription for hosted Cocode Nut access
- For the TUI: Node.js 22.19.x or later (24+ also supported) and a real terminal (TTY)
- For the GUI: an installer for your platform from the GitHub Releases page
Steps
- Install the Cocode GUI and the TUI, keeping the TUI and @cocode-agency/host-supervisor on the same version line.
- Set the same DSH_HOME, profile, and Host configuration in both clients.
- Start a task in the GUI workspace.
- Run
cocode host status --jsonon the second machine to confirm the shared Host. - Run
cocodein the terminal and continue the task.
Prompt for your agent
Using the cocode-agency/cocode repository, confirm that the GUI and TUI on <machine> share the same DSH_HOME, profile, and Host configuration. Run `cocode host status --json` and expect a machine-readable status for the shared Host; verify that the session started in the GUI appears in the terminal.
Caveat. Sharing only works when both clients use the same DSH_HOME, profile, and Host configuration scope, and the README states that upstream compatibility may change.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cocode-agency/cocode and "Continue one agent session from desktop and terminal"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer