Headless Mode
Headless mode sends a single message to the Svantic mesh, streams the response to stdout, and exits. No interactive UI is rendered. This mode is designed for shell scripts, CI/CD pipelines, and programmatic invocation.Running a Headless Command
Pass--headless with a message:
Exit Codes
Check the exit code in scripts:
Output Streams
Response text goes to stdout, diagnostics go to stderr:Verbose Mode
Add--verbose to see tool calls, results, and thinking on stderr:
Shell Script Example
CI/CD Integration
GitHub Actions
GitLab CI
Combining with Flags
Override the model or Svantic URL per invocation:Authentication Errors
If credentials are missing or invalid, the terminal exits with code 1:SVANTIC_CLIENT_ID and SVANTIC_CLIENT_SECRET are set. See Environment and Config for details.