Skip to content
Esc
↑↓navigate↵open⌘Jpreview
Start
On this page

Use Autohand Code Desktop with the CLI and Web

Open projects from a terminal with ad, share folders with Autohand Code CLI, and continue a Desktop conversation in Autohand Code Web.

Share a project with the CLI

Open the same folder in Desktop and in your terminal. Edits from either side change the same files. Use a separate worktree if two tasks will edit at the same time.

Autohand Code CLI is the agent bundled with Desktop, but its terminal interface and Desktop’s threads are different surfaces. CLI slash commands, hooks, and configuration do not automatically become Desktop controls. For terminal workflows, see the Autohand Code CLI guide and the CLI reference.

Open a project from a terminal

Desktop can install a small ad command that opens a folder in the app.

  1. Choose Install ad command in the welcome tour, or in Settings > General > Terminal command.
  2. If Desktop says the command folder is not on your PATH, add the folder it shows and open a new terminal.
  3. Run it from a project folder:
cd /path/to/project
ad .

Or pass a folder:

ad /path/to/project

ad opens the folder in Desktop; it is not the autohand CLI. It installs to ~/.local/bin/ad on macOS and Linux, and to .local\bin\ad.cmd in your user folder on Windows. Desktop never replaces an existing ad command that it did not create.

Import rather than sync

Desktop can import your Claude Code and Codex projects and conversations from this machine. Check the selection before you import. Your repository stays in place, imported history can be incomplete, and it does not sync with the original CLI afterwards. Ask the agent to read the current files before continuing imported work. See projects.

Continue in Autohand Code Web

Use Hand off > Continue in Autohand Web in the thread header to carry a conversation to Autohand Code Web, in your browser or on your phone.

Hand off menu with Codex and Claude options for this thread or a new thread, and Continue in Autohand Web at the bottom.Hand off menu with Codex and Claude options for this thread or a new thread, and Continue in Autohand Web at the bottom.
Continue in Autohand Web sits at the bottom of the Hand off menu, under the options for other local agents.
  1. Choose Continue in Autohand Web. Desktop prepares a private copy and shows the title, agent, model, and message count.
  2. Optional: turn on Include workspace changes to carry your GitHub repository and local changes. This includes local commits, staged and unstaged changes, and new files Git does not ignore. Review the list before you continue.
  3. Choose Continue in Autohand Web.
  4. Sign in to Autohand Code Web with the same Autohand account and choose a model to continue. The transfer expires after 24 hours.
Autohand Code Web on a phone, asking 'What are we building?' with a prompt field, Sign up and Sign in buttons, and shortcuts such as Explore a repository and Debug an issue.
Autohand Code Web on a phone. A handed-off conversation continues here after you sign in with the same account.

The conversation in Desktop stays where it is, and so do your local checkout and permissions. Without Include workspace changes, only the conversation and its images are copied.

Handing off to Autohand Code Web is different from running a thread in a cloud sandbox, which keeps the conversation in Desktop and runs the agent remotely.

Last updated on

Was this helpful?

Send Feedback

Help us improve this documentation page. Your feedback is valuable.

We'll only contact you if we need clarification