CLI Reference

Every cortex command, grouped by area. All commands accept --config / -c <path> to point at a non-default config file.

Gateway

CommandDescription
cortex start [--background] [--bind HOST] [--port PORT]Start the gateway daemon
cortex stopStop a daemon started with --background
cortex statusShow agent config, enabled channels, and memory stats
cortex chatTalk to your agent directly from the terminal

Config

CommandDescription
cortex config showPrint the fully resolved config
cortex config initWrite a default config.toml
cortex config editOpen config.toml in $EDITOR

Channels

CommandDescription
cortex channels listShow configured channels and their status
cortex channels add <name>Guided setup for one channel
cortex channels remove <name>Disable a channel

Tools

CommandDescription
cortex tools listShow built-in and plugin-contributed tools

Voice

CommandDescription
cortex voice clone <name> <audio_files...>Upload an ElevenLabs custom voice from sample audio

Memory

CommandDescription
cortex memory pruneDelete low-importance long-term memory entries
cortex memory clearWipe all long-term memory
cortex memory edit <id>Edit a memory entry's content and/or importance score
cortex memory archiveCondense inactive sessions into dense summaries
cortex memory search <query> [--tag TAG]Search long-term memory

Misc

CommandDescription
cortex init [--force] [--dir PATH]Guided first-run setup wizard
cortex versionPrint the installed version
cortex update [--check]Check PyPI for a newer version, optionally install it