CLI Reference

CLI Reference

The syntic CLI is the primary entry point for agentic coding in the terminal. Every flag, every command, every environment variable is documented here.

Synopsis

syntic [command] [flags]

Running syntic with no command starts an interactive REPL session in the current directory.

Commands

syntic (interactive)

Launches a REPL session. The agent reads the current directory, accepts plain-English tasks, and works with your approval.

FlagDescription
--model <id>Override default model for the session
--planStart in Plan Mode — propose before executing
--no-permissionsSkip permission prompts (use with caution)
--dangerously-skip-sandboxDisable sandboxing for this session
--printPrint final response to stdout and exit (non-interactive)
--resume <session-id>Resume a previous session

syntic login

Authenticates the CLI against syntic.ai. Opens a browser tab for device approval.

syntic logout

Clears the locally stored auth token.

syntic doctor

Runs diagnostics — PATH, auth, network, model access — and prints findings.

syntic update

Updates the CLI to the latest release. Use --rollback to revert to the prior version.

syntic config

Reads, sets, or lists settings.

syntic config get model.default
syntic config set model.default kimi-k2-6
syntic config list

See Settings for the full schema.

syntic skills

Manage installed skills.

syntic skills list
syntic skills install <name>
syntic skills remove <name>
syntic skills create <name>

See Skills for authoring details.

syntic mcp

Manage MCP server connections.

syntic mcp add <name> --transport stdio --command "node server.js"
syntic mcp list
syntic mcp remove <name>

See MCP Servers.

syntic agents

Manage sub-agent definitions.

syntic agents list
syntic agents create <name>

See Sub-Agents.

Environment Variables

VariablePurpose
SYNTIC_API_KEYOverride stored credentials
SYNTIC_MODELDefault model for this shell
SYNTIC_HOMEOverride ~/.syntic location
SYNTIC_NO_TELEMETRYDisable anonymous telemetry
SYNTIC_LOG_LEVELtrace, debug, info, warn, error
HTTP_PROXY / HTTPS_PROXYStandard proxy support

Exit Codes

CodeMeaning
0Success
1Generic error
2Invalid usage / bad flags
3Auth failure
4Network / API error
130Interrupted (Ctrl+C)

Shell Integration

# bash / zsh
eval "$(syntic completions zsh)"

Enables tab completion for commands, flags, and skill names.