Cortex · Work with agents

cortex compact

Usage: cortex compact [--instructions <TEXT>] [COMMON_OPTIONS]. POST /compact with optional compaction instructions; no local default. It can alter active context and may invoke a model; it is not a read-only transcript query.

See CLI conventions for shared configuration and exit behavior, or browse all commands.