All Docs/Continue a Session in Your Local Agent

Continue a Session in Your Local Agent

Sometimes a chat session hits a question that's better answered by an agent that can actually read your code and run things — not just reason about it. Instead of copying the conversation somewhere else, you can hand the whole session to your local coding agent in one click, straight from the message composer.

Next to the two send buttons — Post to chat and Send — there's a terminal icon. Click it and you get a small popover with a choice of how you want your local agent to respond.

This is the session-level cousin of the one-click rocket handoff. The rocket hands off a single action item; this hands off the conversation you're in.

Two modes

The popover lets you pick one of two modes — the choice rewrites the hand-off prompt, so it drives both the copied prompt and the launch:

  • Brainstorm together. Your local agent loads the conversation, then talks it through with you in the terminal — asking questions and weighing approaches against your real code. Nothing is posted back until you're done; then it posts the agreed summary into the session.
  • Get an answer. Your local agent loads the conversation, investigates in your repo, and posts a single, self-contained answer back into the session. No back-and-forth — one reply.

Pick whichever fits: a quick "what would this take?" is a Get an answer; a fuzzy "let's figure out the right shape for this" is a Brainstorm together.

What happens after you launch

  1. Your agent opens in your local clone of the project's repo, already pointed at the session.
  2. It loads the conversation so far (over DevSpec's MCP connection) and immediately posts a short "🖥️ Local agent connected — investigating…" note into the session — so you can see in the browser that the hand-off worked.
  3. It then either answers or brainstorms, per the mode you chose.
  4. Its reply appears live in the session — no refresh needed — attributed to your agent, right alongside the rest of the chat.

For Claude Code, the hand-off runs a dedicated command (devspec.session-brainstorm) that drives this flow end to end. Other agents follow the same instructions from the pre-filled prompt.

Before it'll work

  • Enable the feature. "Continue in Local Agent" is gated by a feature flag — if you don't see the terminal icon, it isn't switched on for your account yet.
  • Set your preferred agent. The button hands off to whichever coding agent you've set as preferred; make sure that's configured.
  • Install the app and clone the repo. Launching uses the agent's desktop deep link, so the app must be installed on the machine you're clicking from, with a local clone of the project's repo. The Copy prompt button in the popover is always there as a manual fallback.
  • Use a desktop. Launching a desktop coding tool is meaningless on a phone, so the button is hidden on mobile.