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.
Terminal
The agent wants to run bash:
$ npm test
Tests: 3 passed, 3 total
Agent
Add a screen that lists my runs, and a test for it.
I'll add src/screens/Runs.tsx with a list, a test beside it, then run the tests.
Edited src/screens/Runs.tsx
Review
- src/screens/Runs.tsx+12−0
- src/screens/Runs.test.tsx+21−0
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.
- 01
Open a project
Cmd+O on macOS. The agent works inside that folder.
- 02
Describe the change
Start a session with Shift+Cmd+S and say what to build.
- 03
Edits land as they are made
The agent writes to your working copy, file by file.
- 04
Commands wait for you
In Sandboxed and Strict, the session stops before the shell runs.
- 05
Review, undo or commit
The review panel shows the diff. Undo rolls back a message and its changes; git is your second undo.
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.
- readRead a file in the projectallow
- editChange a file in the projectallow
- glob · grep · listFind and search filesallow
- task · skillStart a subtask or call a skillallow
- bashRun a shell commandask
- webfetch · websearchReach the networkask
- doom_loopRepeat a failing stepask
- external_directoryTouch files outside the projectask
- todowrite · question · lspPlan, ask you, read the language serverallow
A project's auto-accept toggle answers the asks for you. A deny still holds.
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.