Desktop Code

Build sites and apps with an agent on your machine

SynapseX Desktop Code is a local editor with a file tree, terminal, git and an agent. It writes the code, stops before it runs a command, and shows every change as a diff.

ChatWorkCodeSandboxed
src/screens/Runs.tsx

Terminal

Agent

Ask the agent
Illustration of the product · Build an app · 2/2
One window, four modes

Draft in Chat. Build in Code.

The title bar switches between them. One sign-in covers every mode, and your project stays open while you switch.

  • Code

    The default. File tree, editor, terminal, git and the agent, on your machine. The only mode that touches local files.

  • Chat

    The chat you already use, inside the same window. Good for settling an approach before any file is at risk.

  • Work

    The chat app's Work area, with your skills, in the same window and the same sign-in.

  • Labs

    The chat app's research workspace, in the same window and the same sign-in.

How a change happens
  1. 01

    Open a project

    Cmd+O on macOS. The agent works inside that folder.

  2. 02

    Describe the change

    Start a session with Shift+Cmd+S and say what to build.

  3. 03

    Edits land as they are made

    The agent writes to your working copy, file by file.

  4. 04

    Commands wait for you

    In Sandboxed and Strict, the session stops before the shell runs.

  5. 05

    Review, undo or commit

    The review panel shows the diff. Undo rolls back a message and its changes; git is your second undo.

Permissions

You decide, per tool, what runs without asking

Each mode is a rule set the agent server enforces on every tool call: allow runs, ask stops for you, deny refuses.

Everything inside the project is automatic; the shell, the network and other folders ask first. The mode for normal work.

  • readallow
  • editallow
  • glob · grep · listallow
  • task · skillallow
  • bashask
  • webfetch · websearchask
  • doom_loopask
  • external_directoryask
  • todowrite · question · lspallow

A project's auto-accept toggle answers the asks for you. A deny still holds.

On your machine

Your files stay where they are

The agent server runs inside the app on the loopback address, behind a password made fresh at every launch. Edits, commands and git happen locally; only the model traffic leaves your machine. The terminal agent is the same one, as the synapsex-code command.

synapsex-code

  • $ synapsex-codeOpen the interactive agent in this folder
  • $ synapsex-code run "add a --version flag"One task, then exit
  • $ synapsex-code run --format json …Machine-readable output for scripts
  • $ synapsex-code -m synapsex/<model>Choose a SynapseX model
  • $ synapsex-code -cContinue the last session
  • $ synapsex-code modelsList the models you can use

Limits today

  • Edits are applied to your working copy as they are made. Review the diff, and keep git as a second undo.
  • Desktop Code uses SynapseX models only.
  • The app announces new versions through its update channel. Every build is on the download page.

Open a project. Describe the change. Read the diff.

SynapseX Desktop for macOS, Windows and Linux, with the synapsex-code command line.