DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to continue one agent session from desktop and terminal with Cocode

Start a task in the GUI and pick it up in the TUI over SSH, using the same session record.

Short answer: Install the Cocode GUI and the TUI, keeping the TUI and @cocode-agency/host-supervisor on the same version line; then set the same DSH_HOME, profile, and Host configuration in both clients; start a task in the GUI workspace. All steps.

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

  1. Install the Cocode GUI and the TUI, keeping the TUI and @cocode-agency/host-supervisor on the same version line.
  2. Set the same DSH_HOME, profile, and Host configuration in both clients.
  3. Start a task in the GUI workspace.
  4. Run cocode host status --json on the second machine to confirm the shared Host.
  5. Run cocode in 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer