Skip to main content
All commands operate on the client your session is bound to — you don’t pass a client id. Run any command with --help for its full options.

Global flags

These work on every command: Global flags may be placed before or after the command. Destructive commands accept --yes / -y to skip the confirmation prompt.

Environment variables

auth

Log in, log out, and switch accounts.

instances

Provision and manage memory instances.
A freshly created instance generates its memory architecture (MACA) in the background and stays pending until approved in the Dashboard. instances promote requires an approved config.

api-keys

Manage the runtime API keys your agents use with the SDK.
The plaintext key is returned only at creation. Copy it immediately and store it as SYNAP_API_KEY in your agent’s environment.

client

Inspect your client and manage its team.

requests

Inspect request-level SDK activity — the same data as the Dashboard’s Requests view. Filters for requests list:

memories

Inspect stored memories (read-only — writes happen through the SDK at runtime). Filters for memories list:

config

Local CLI settings for the active profile.

usage

Aggregate usage for your client — API calls, LLM tokens, memories stored.

doctor

Diagnose your setup — CLI version, Python, config, auth, server connectivity, and key expiry.

Use in CI

No browser is available in CI, so authenticate with a key instead of auth login:
SYNAP_API_KEY overrides any stored profile and writes nothing to disk, so it’s safe for ephemeral runners.