Syntax

User-visible flags reference

The flags you'll actually use day-to-day across `syntax` and `syntax-cli`.

This page lists the user-visible flags you'll see across the two Syntax binaries:

  • syntax — the application command (connect, disconnect, deploy, doctor, models, sessions, memory).
  • syntax-cli — the bundled coding harness (interactive TUI and the exec subcommand for headless runs).

For the authoritative flag list, run <command> --help directly — that output reflects the actual flags shipped in your installed version.

Placeholders use ALL_CAPS to avoid conflicts with command-line angle brackets in tables — e.g., --model ID means "supply a model ID where ID is shown".

Global flags

These work on both syntax and syntax-cli:

FlagMeaning
--versionPrint the running Syntax version.
--help, -hSubcommand-specific help.
--quietSuppress non-essential output.
--verboseExtra output (without enabling tracing).
--no-colorDisable color in terminal output.

syntax-cli (interactive harness)

FlagMeaning
--resumeResume a recent session.
--model IDOverride the default model for this session.
--mode MODEStart in a specific Runtime Mode (default, autoedit, or bypass). Bypass still requires interactive confirmation.
--planStart in Plan Mode.
--no-colorDisable color.

syntax-cli exec (headless)

FlagMeaning
--input PATHRead the task from a file instead of the command line.
--output PATHWrite structured output to a file.
--model IDOverride the default model.
--max-turns NCap the number of agent turns.
--policy PATHLoad an approval policy from a file.
--jsonEmit structured JSON output (for piping).

syntax connect

FlagMeaning
listList currently connected harnesses.
--dry-runPrint what would change without modifying anything.

syntax deploy

FlagMeaning
--target TARGETDeployment target: local, self-managed-remote, or managed-remote.
--tier TIERDeployment tier: performance or cost-optimized.
--expose-privateIssue a private exposed bearer.
--expose-publicIssue a public exposed bearer.
--profile NAMEUse a saved party profile.

Where to go next