CLI Configuration

Config File

The CLI stores its config at ~/.synapsex/config.toml:
[api]
url = "https://api.synapsex.ai"
key = "sx-your-api-key-here"

[defaults]
model = "azure/gpt-4-1-teacher"
max_tokens = 8192
timeout = 3600

[agents]
max_parallel = 5

Environment Variables

You can also configure via environment variables:
export SYNAPSEX_API_URL=https://api.synapsex.ai
export SYNAPSEX_API_KEY=sx-...
export SYNAPSEX_DEFAULT_MODEL=azure/gpt-4-1-teacher

Quick setup

synapsex config set api-url https://api.synapsex.ai
synapsex config set api-key sx-your-key-here
synapsex config set default-model azure/gpt-4-1-teacher