Skip to content

SubCode user guide

SubCode is a coding agent for SubQ's models. It runs on your computer, in your project folder. It reads your code, runs commands, edits files and answers your questions, as other coding agents do. What makes it different: every answer and every change is checked before it reaches you.

Two SubQ models work together:

  • Savant (subq-savant-1.4) does the work. It reads, plans, calls tools and writes the answers.
  • Snap (subq-snap-1.2) checks Savant. It answers fixed questions about each statement, conclusion, suggestion and action, against the evidence SubCode has collected in the session: the files read, the output of commands, the results of tools and your request.

What this means for you:

  • An answer appears only after its check. There is no live text while Savant writes.
  • A statement that Snap finds wrong goes back to Savant, which must correct it, back it up with evidence or withdraw it. If it still fails after two rounds, you see it only with a clear mark.
  • An action that changes something is checked before it runs. In the default mode you approve it, and the approval prompt shows Snap's result.
  • /checks lists every check of the session with its probabilities.

A check is a probability, not proof

SubCode does not promise correct output. Snap gives each answer a probability, and SubCode turns it into a mark. "Supported" means that Snap found the statement backed by the evidence with a high probability. It does not mean that the statement is true. Snap does not replace your tests, your compiler or your own review.

Ways to use SubCode

Way Start it with Page
The terminal subcode in the project folder The terminal
The desktop app The SubCode app The desktop app
An editor: Zed or a JetBrains IDE subcode acp, started by the editor Editors
Scripts and CI, with no person present subcode -p "<task>" Unattended runs

All four run the same engine, so the checks, the permissions, the sessions and the settings are the same everywhere.

Status of this version

  • This guide describes SubCode 0.1.0.
  • "SubCode" is a working project name. The product name and the license are not decided yet.
  • SubCode is not published yet. It comes as installers, whose download links are added when it is published: see Install.
  • It runs on macOS and Linux. Support for Windows 11 on x64 is being built: see SubCode on Windows.
  • It needs a SubQ API key that can call both models. When SubQ's documentation was last read (2026-11-20), Savant was in Early Access, enabled per organization.

Where to start

  1. Requirements
  2. Install
  3. The SubQ key
  4. Your first session

On Windows, also read SubCode on Windows.

Then read Checks and marks, Modes and Permissions. They explain what you see on the screen and why SubCode asks before it acts.