Syntax

CLI overview

The two Syntax binaries — `syntax` (the application command) and `syntax-cli` (the bundled coding harness) — and what each one is for.

Syntax ships with two distinct binaries:

  • syntax is the umbrella command for the Syntax application itself — connecting and disconnecting harnesses, deploying models, managing the catalog, inspecting sessions, running diagnostics.
  • syntax-cli is the bundled coding harness — the interactive TUI agent. It's a sibling of Codex, Claude Code, OpenCode, and Pi from a conceptual standpoint, but it ships with Syntax and is always available without a syntax connect step.

Anything you can do in the desktop app for application-level operations, you can do via syntax. The interactive coding experience lives in syntax-cli (and in the desktop app, which shares the same agent core).

syntax commands at a glance

CommandPurpose
syntax connect <agent>Wire a coding assistant to the Bridge.
syntax disconnect <agent>Restore a coding assistant's original config.
syntax doctorSelf-check: hardware, deps, network, deployments.
syntax deployDeploy a model or party from the CLI.
syntax modelsBrowse / search the catalog.
syntax sessionsList / inspect / resume past sessions.
syntax memoryInspect or edit Layer 1 / Layer 2 memory.
syntax --versionPrint the running Syntax version.
syntax --helpTop-level help.

Subcommand-specific help is available on every command:

syntax connect --help
syntax deploy --help

syntax-cli commands at a glance

CommandPurpose
syntax-cliStart an interactive coding session (TUI).
syntax-cli --resumeResume a recent session.
syntax-cli execRun a one-shot agent task headlessly (CI / scripting).
syntax-cli --helpHarness-specific help.

When to use the CLI

  • Interactive coding in a terminal. Run syntax-cli to start a TUI session.
  • Scripted automation. syntax-cli exec runs a single task headlessly with structured I/O — fits naturally into CI pipelines, cron jobs, and pre-commit hooks.
  • Setup / teardown. syntax connect, syntax disconnect, syntax doctor, syntax deploy are one-liners that don't need a GUI.
  • Remote shells. When you're SSH'd into a box and just need a coding agent there.

When the desktop app is better

  • Browsing the catalog visually and composing parties.
  • Watching multi-deployment fleets at a glance.
  • Issuing / revoking exposed-endpoint bearers (the bearer is shown exactly once, and copying from a popup is more reliable than copying from a terminal).
  • Configuring hardware / providers / managed remote targets.

Where to go next