# Cortex CLI commands

Source: https://usecns.dev/commands-cortex/

[Start here](https://usecns.dev/manual-cortex/)
[CLI commands](https://usecns.dev/commands-cortex/)
[Configuration & integration](https://usecns.dev/cortex-topics/)

Choose a command for its syntax, options, examples and behavior. Each entry opens on its own page.

Start with [shared CLI conventions](https://usecns.dev/cortex-cli-usage/), or follow the [task guides](https://usecns.dev/manual-cortex/).

## Set up

* [`cortex`](https://usecns.dev/cortex-cli-usage/)
* [`cortex status`](https://usecns.dev/cortex-cli-status/)
* [`cortex doctor`](https://usecns.dev/cortex-cli-doctor/)
* [`cortex preflight`](https://usecns.dev/cortex-cli-preflight/)
* [`cortex seats`](https://usecns.dev/cortex-cli-seats/)
* [`cortex models`](https://usecns.dev/cortex-cli-models/)
* [`cortex config`](https://usecns.dev/cortex-cli-config/)
* [`cortexd`](https://usecns.dev/cortex-cli-cortexd/)
* [`pi-durable-daemon`](https://usecns.dev/cortex-cli-pi-durable-daemon/)
* [`cortex-mcp`](https://usecns.dev/cortex-cli-mcp/)
* [`pi-durable-mcp`](https://usecns.dev/cortex-cli-pi-durable-mcp/)

Subcommands & aliases

* [`cortex-ctl`](https://usecns.dev/cortex-cli-ctl/)
* [`cortex-ctl status`](https://usecns.dev/cortex-cli-ctl-status/)
* [`cortex-ctl doctor`](https://usecns.dev/cortex-cli-ctl-doctor/)
* [`cortex-ctl preflight`](https://usecns.dev/cortex-cli-ctl-preflight/)
* [`cortex-ctl seats`](https://usecns.dev/cortex-cli-ctl-seats/)
* [`cortex-ctl models`](https://usecns.dev/cortex-cli-ctl-models/)
* [`cortex-ctl config`](https://usecns.dev/cortex-cli-ctl-config/)
* [`pi-ctl`](https://usecns.dev/cortex-cli-pi-ctl/)
* [`pi-ctl status`](https://usecns.dev/cortex-cli-pi-ctl-status/)
* [`pi-ctl doctor`](https://usecns.dev/cortex-cli-pi-ctl-doctor/)
* [`pi-ctl preflight`](https://usecns.dev/cortex-cli-pi-ctl-preflight/)
* [`pi-ctl seats`](https://usecns.dev/cortex-cli-pi-ctl-seats/)
* [`pi-ctl models`](https://usecns.dev/cortex-cli-pi-ctl-models/)
* [`pi-ctl config`](https://usecns.dev/cortex-cli-pi-ctl-config/)

## Work with agents

* [`cortex send`](https://usecns.dev/cortex-cli-send/)
* [`cortex steer`](https://usecns.dev/cortex-cli-steer/)
* [`cortex followup`](https://usecns.dev/cortex-cli-followup/)
* [`cortex write`](https://usecns.dev/cortex-cli-write/)
* [`cortex fork`](https://usecns.dev/cortex-cli-fork/)
* [`cortex abort`](https://usecns.dev/cortex-cli-abort/)
* [`cortex compact`](https://usecns.dev/cortex-cli-compact/)
* [`cortex reset`](https://usecns.dev/cortex-cli-reset/)
* [`cortex tail`](https://usecns.dev/cortex-cli-tail/)

Subcommands & aliases

* [`cortex-ctl send`](https://usecns.dev/cortex-cli-ctl-send/)
* [`cortex-ctl steer`](https://usecns.dev/cortex-cli-ctl-steer/)
* [`cortex-ctl followup`](https://usecns.dev/cortex-cli-ctl-followup/)
* [`cortex-ctl write`](https://usecns.dev/cortex-cli-ctl-write/)
* [`cortex-ctl fork`](https://usecns.dev/cortex-cli-ctl-fork/)
* [`cortex-ctl abort`](https://usecns.dev/cortex-cli-ctl-abort/)
* [`cortex-ctl compact`](https://usecns.dev/cortex-cli-ctl-compact/)
* [`cortex-ctl reset`](https://usecns.dev/cortex-cli-ctl-reset/)
* [`cortex-ctl tail`](https://usecns.dev/cortex-cli-ctl-tail/)
* [`pi-ctl send`](https://usecns.dev/cortex-cli-pi-ctl-send/)
* [`pi-ctl steer`](https://usecns.dev/cortex-cli-pi-ctl-steer/)
* [`pi-ctl followup`](https://usecns.dev/cortex-cli-pi-ctl-followup/)
* [`pi-ctl write`](https://usecns.dev/cortex-cli-pi-ctl-write/)
* [`pi-ctl fork`](https://usecns.dev/cortex-cli-pi-ctl-fork/)
* [`pi-ctl abort`](https://usecns.dev/cortex-cli-pi-ctl-abort/)
* [`pi-ctl compact`](https://usecns.dev/cortex-cli-pi-ctl-compact/)
* [`pi-ctl reset`](https://usecns.dev/cortex-cli-pi-ctl-reset/)
* [`pi-ctl tail`](https://usecns.dev/cortex-cli-pi-ctl-tail/)

## System 1

* [`cortex sys1`](https://usecns.dev/cortex-cli-sys1/)

Subcommands & aliases

* [`cortex sys1 report`](https://usecns.dev/cortex-cli-sys1-report/)
* [`cortex sys1 facts`](https://usecns.dev/cortex-cli-sys1-facts/)
* [`cortex-ctl sys1`](https://usecns.dev/cortex-cli-ctl-sys1/)
* [`cortex-ctl sys1 report`](https://usecns.dev/cortex-cli-ctl-sys1-report/)
* [`cortex-ctl sys1 facts`](https://usecns.dev/cortex-cli-ctl-sys1-facts/)
* [`pi-ctl sys1`](https://usecns.dev/cortex-cli-pi-ctl-sys1/)
* [`pi-ctl sys1 report`](https://usecns.dev/cortex-cli-pi-ctl-sys1-report/)
* [`pi-ctl sys1 facts`](https://usecns.dev/cortex-cli-pi-ctl-sys1-facts/)

## Channels & integrations

* [`cortex mcp-list`](https://usecns.dev/cortex-cli-mcp-list/)
* [`cortex mcp-mount`](https://usecns.dev/cortex-cli-mcp-mount/)
* [`cortex mcp-unmount`](https://usecns.dev/cortex-cli-mcp-unmount/)
* [`cortex tunnel`](https://usecns.dev/cortex-cli-tunnel/)
* [`cortex call`](https://usecns.dev/cortex-cli-call/)
* [`cortex voice`](https://usecns.dev/cortex-cli-voice/)
* [`cortex slack`](https://usecns.dev/cortex-cli-slack/)
* [`cortex linear`](https://usecns.dev/cortex-cli-linear/)

Subcommands & aliases

* [`cortex tunnel status`](https://usecns.dev/cortex-cli-tunnel-status/)
* [`cortex tunnel start`](https://usecns.dev/cortex-cli-tunnel-start/)
* [`cortex tunnel stop`](https://usecns.dev/cortex-cli-tunnel-stop/)
* [`cortex voice sessions`](https://usecns.dev/cortex-cli-voice-sessions/)
* [`cortex voice status`](https://usecns.dev/cortex-cli-voice-status/)
* [`cortex voice call`](https://usecns.dev/cortex-cli-voice-call/)
* [`cortex slack status`](https://usecns.dev/cortex-cli-slack-status/)
* [`cortex slack connect`](https://usecns.dev/cortex-cli-slack-connect/)
* [`cortex slack disconnect`](https://usecns.dev/cortex-cli-slack-disconnect/)
* [`cortex linear status`](https://usecns.dev/cortex-cli-linear-status/)
* [`cortex linear sessions`](https://usecns.dev/cortex-cli-linear-sessions/)
* [`cortex linear state`](https://usecns.dev/cortex-cli-linear-state/)
* [`cortex linear install-url`](https://usecns.dev/cortex-cli-linear-install-url/)
* [`cortex-ctl mcp-list`](https://usecns.dev/cortex-cli-ctl-mcp-list/)
* [`cortex-ctl mcp-mount`](https://usecns.dev/cortex-cli-ctl-mcp-mount/)
* [`cortex-ctl mcp-unmount`](https://usecns.dev/cortex-cli-ctl-mcp-unmount/)
* [`cortex-ctl tunnel`](https://usecns.dev/cortex-cli-ctl-tunnel/)
* [`cortex-ctl tunnel status`](https://usecns.dev/cortex-cli-ctl-tunnel-status/)
* [`cortex-ctl tunnel start`](https://usecns.dev/cortex-cli-ctl-tunnel-start/)
* [`cortex-ctl tunnel stop`](https://usecns.dev/cortex-cli-ctl-tunnel-stop/)
* [`cortex-ctl call`](https://usecns.dev/cortex-cli-ctl-call/)
* [`cortex-ctl voice`](https://usecns.dev/cortex-cli-ctl-voice/)
* [`cortex-ctl voice sessions`](https://usecns.dev/cortex-cli-ctl-voice-sessions/)
* [`cortex-ctl voice status`](https://usecns.dev/cortex-cli-ctl-voice-status/)
* [`cortex-ctl voice call`](https://usecns.dev/cortex-cli-ctl-voice-call/)
* [`cortex-ctl slack`](https://usecns.dev/cortex-cli-ctl-slack/)
* [`cortex-ctl slack status`](https://usecns.dev/cortex-cli-ctl-slack-status/)
* [`cortex-ctl slack connect`](https://usecns.dev/cortex-cli-ctl-slack-connect/)
* [`cortex-ctl slack disconnect`](https://usecns.dev/cortex-cli-ctl-slack-disconnect/)
* [`cortex-ctl linear`](https://usecns.dev/cortex-cli-ctl-linear/)
* [`cortex-ctl linear status`](https://usecns.dev/cortex-cli-ctl-linear-status/)
* [`cortex-ctl linear sessions`](https://usecns.dev/cortex-cli-ctl-linear-sessions/)
* [`cortex-ctl linear state`](https://usecns.dev/cortex-cli-ctl-linear-state/)
* [`cortex-ctl linear install-url`](https://usecns.dev/cortex-cli-ctl-linear-install-url/)
* [`pi-ctl mcp-list`](https://usecns.dev/cortex-cli-pi-ctl-mcp-list/)
* [`pi-ctl mcp-mount`](https://usecns.dev/cortex-cli-pi-ctl-mcp-mount/)
* [`pi-ctl mcp-unmount`](https://usecns.dev/cortex-cli-pi-ctl-mcp-unmount/)
* [`pi-ctl tunnel`](https://usecns.dev/cortex-cli-pi-ctl-tunnel/)
* [`pi-ctl tunnel status`](https://usecns.dev/cortex-cli-pi-ctl-tunnel-status/)
* [`pi-ctl tunnel start`](https://usecns.dev/cortex-cli-pi-ctl-tunnel-start/)
* [`pi-ctl tunnel stop`](https://usecns.dev/cortex-cli-pi-ctl-tunnel-stop/)
* [`pi-ctl call`](https://usecns.dev/cortex-cli-pi-ctl-call/)
* [`pi-ctl voice`](https://usecns.dev/cortex-cli-pi-ctl-voice/)
* [`pi-ctl voice sessions`](https://usecns.dev/cortex-cli-pi-ctl-voice-sessions/)
* [`pi-ctl voice status`](https://usecns.dev/cortex-cli-pi-ctl-voice-status/)
* [`pi-ctl voice call`](https://usecns.dev/cortex-cli-pi-ctl-voice-call/)
* [`pi-ctl slack`](https://usecns.dev/cortex-cli-pi-ctl-slack/)
* [`pi-ctl slack status`](https://usecns.dev/cortex-cli-pi-ctl-slack-status/)
* [`pi-ctl slack connect`](https://usecns.dev/cortex-cli-pi-ctl-slack-connect/)
* [`pi-ctl slack disconnect`](https://usecns.dev/cortex-cli-pi-ctl-slack-disconnect/)
* [`pi-ctl linear`](https://usecns.dev/cortex-cli-pi-ctl-linear/)
* [`pi-ctl linear status`](https://usecns.dev/cortex-cli-pi-ctl-linear-status/)
* [`pi-ctl linear sessions`](https://usecns.dev/cortex-cli-pi-ctl-linear-sessions/)
* [`pi-ctl linear state`](https://usecns.dev/cortex-cli-pi-ctl-linear-state/)
* [`pi-ctl linear install-url`](https://usecns.dev/cortex-cli-pi-ctl-linear-install-url/)

## Configuration & interfaces

[Browse configuration and integration topics →](https://usecns.dev/cortex-topics/)

Reference topics

* [Configure models and routes](https://usecns.dev/cortex-topic-configure-models-and-routes/)
* [Connect seat memory](https://usecns.dev/cortex-topic-connect-seat-memory/)
* [Supervise focus and live bridges](https://usecns.dev/cortex-topic-supervise-focus-and-live-bridges/)
* [Connect MCP clients and tools](https://usecns.dev/cortex-topic-connect-mcp-clients-and-tools/)
* [Connect channels and public ingress](https://usecns.dev/cortex-topic-connect-channels-and-public-ingress/)
* [Use voice alongside durable work](https://usecns.dev/cortex-topic-use-voice-alongside-durable-work/)
* [Manage identity pairing and revocation](https://usecns.dev/cortex-topic-manage-identity-pairing-and-revocation/)
* [Build clients with cursor replay](https://usecns.dev/cortex-topic-build-clients-with-cursor-replay/)
* [Inspect System 1 and export memory outcomes](https://usecns.dev/cortex-topic-inspect-system-1-and-export-memory-outcomes/)
* [Maintain state and recover from failures](https://usecns.dev/cortex-topic-maintain-state-and-recover-from-failures/)
* [Use the durable HTTP API](https://usecns.dev/cortex-topic-use-the-durable-http-api/)
* [Administer through HTTP](https://usecns.dev/cortex-topic-administer-through-http/)
* [Manage identity through HTTP](https://usecns.dev/cortex-topic-manage-identity-through-http/)
* [Use WebSocket clients](https://usecns.dev/cortex-topic-use-websocket-clients/)
* [Inbound MCP contracts](https://usecns.dev/cortex-topic-inbound-mcp-contracts/)
* [Work in the browser](https://usecns.dev/cortex-topic-work-in-the-browser/)
* [Channel command contracts](https://usecns.dev/cortex-topic-channel-command-contracts/)
* [Authorize agent tools and workflow](https://usecns.dev/cortex-topic-authorize-agent-tools-and-workflow/)
* [Configure runtime and channel environment](https://usecns.dev/cortex-topic-configure-runtime-and-channel-environment/)
* [durable\_submit](https://usecns.dev/cortex-mcp-durable-submit/)
* [durable\_inspect](https://usecns.dev/cortex-mcp-durable-inspect/)
* [durable\_configure](https://usecns.dev/cortex-mcp-durable-configure/)
* [durable\_fork](https://usecns.dev/cortex-mcp-durable-fork/)
* [durable\_abort](https://usecns.dev/cortex-mcp-durable-abort/)
* [durable\_compact](https://usecns.dev/cortex-mcp-durable-compact/)
* [durable\_classify\_system1](https://usecns.dev/cortex-mcp-durable-classify-system1/)
* [GET S](https://usecns.dev/cortex-http-use-the-durable-http-api-get-s/)
* [GET S/tasks/graph](https://usecns.dev/cortex-http-use-the-durable-http-api-get-s-tasks-graph/)
* [GET / POST S/conversations](https://usecns.dev/cortex-http-use-the-durable-http-api-get-post-s-conversations/)
* [GET C](https://usecns.dev/cortex-http-use-the-durable-http-api-get-c/)
* [PATCH C/config](https://usecns.dev/cortex-http-use-the-durable-http-api-patch-c-config/)
* [GET C/context](https://usecns.dev/cortex-http-use-the-durable-http-api-get-c-context/)
* [GET C/entries](https://usecns.dev/cortex-http-use-the-durable-http-api-get-c-entries/)
* [POST C/submit](https://usecns.dev/cortex-http-use-the-durable-http-api-post-c-submit/)
* [POST C/abort](https://usecns.dev/cortex-http-use-the-durable-http-api-post-c-abort/)
* [POST C/compact](https://usecns.dev/cortex-http-use-the-durable-http-api-post-c-compact/)
* [POST C/reset](https://usecns.dev/cortex-http-use-the-durable-http-api-post-c-reset/)
* [POST C/fork](https://usecns.dev/cortex-http-use-the-durable-http-api-post-c-fork/)
* [POST C/classify-system1 or C/system1](https://usecns.dev/cortex-http-use-the-durable-http-api-post-c-classify-system1-or-c-system1/)
* [GET /health, /health/preflight, /models, /seats](https://usecns.dev/cortex-http-administer-through-http-get-health-health-preflight-models-seats/)
* [POST /seats](https://usecns.dev/cortex-http-administer-through-http-post-seats/)
* [GET /herdr/agents](https://usecns.dev/cortex-http-administer-through-http-get-herdr-agents/)
* [GET /herdr/read](https://usecns.dev/cortex-http-administer-through-http-get-herdr-read/)
* [POST /herdr/prompt](https://usecns.dev/cortex-http-administer-through-http-post-herdr-prompt/)
* [GET /switchboard/state](https://usecns.dev/cortex-http-administer-through-http-get-switchboard-state/)
* [POST /switchboard/route](https://usecns.dev/cortex-http-administer-through-http-post-switchboard-route/)
* [POST /switchboard/command](https://usecns.dev/cortex-http-administer-through-http-post-switchboard-command/)
* [POST /switchboard/escalate](https://usecns.dev/cortex-http-administer-through-http-post-switchboard-escalate/)
* [GET / POST /mcp/outbound](https://usecns.dev/cortex-http-administer-through-http-get-post-mcp-outbound/)
* [DELETE /mcp/outbound/{id}](https://usecns.dev/cortex-http-administer-through-http-delete-mcp-outbound-id/)
* [GET /channels/slack/status; POST /channels/slack/connect, /disconnect](https://usecns.dev/cortex-http-administer-through-http-get-channels-slack-status-post-channels-slack-connect-disconnect/)
* [GET /channels/linear/status, /sessions](https://usecns.dev/cortex-http-administer-through-http-get-channels-linear-status-sessions/)
* [POST /channels/linear/configure](https://usecns.dev/cortex-http-administer-through-http-post-channels-linear-configure/)
* [POST /channels/linear/activity](https://usecns.dev/cortex-http-administer-through-http-post-channels-linear-activity/)
* [POST /channels/linear/plan](https://usecns.dev/cortex-http-administer-through-http-post-channels-linear-plan/)
* [POST /channels/linear/issue-state](https://usecns.dev/cortex-http-administer-through-http-post-channels-linear-issue-state/)
* [POST /channels/linear/oauth/install-url](https://usecns.dev/cortex-http-administer-through-http-post-channels-linear-oauth-install-url/)
* [POST /channels/linear/oauth/refresh](https://usecns.dev/cortex-http-administer-through-http-post-channels-linear-oauth-refresh/)
* [GET /voice/sessions; POST /voice/call](https://usecns.dev/cortex-http-administer-through-http-get-voice-sessions-post-voice-call/)
* [GET /ingress/tunnel or /ingress/tunnel/status](https://usecns.dev/cortex-http-administer-through-http-get-ingress-tunnel-or-ingress-tunnel-status/)
* [POST /ingress/tunnel/start, /stop](https://usecns.dev/cortex-http-administer-through-http-post-ingress-tunnel-start-stop/)
* [GET /state](https://usecns.dev/cortex-http-manage-identity-through-http-get-state/)
* [GET /events](https://usecns.dev/cortex-http-manage-identity-through-http-get-events/)
* [POST /holds](https://usecns.dev/cortex-http-manage-identity-through-http-post-holds/)
* [POST /holds/{id}/block](https://usecns.dev/cortex-http-manage-identity-through-http-post-holds-id-block/)
* [POST /holds/{id}/allow](https://usecns.dev/cortex-http-manage-identity-through-http-post-holds-id-allow/)
* [POST /people](https://usecns.dev/cortex-http-manage-identity-through-http-post-people/)
* [PATCH /people/{id}](https://usecns.dev/cortex-http-manage-identity-through-http-patch-people-id/)
* [POST /people/{id}/surfaces](https://usecns.dev/cortex-http-manage-identity-through-http-post-people-id-surfaces/)
* [DELETE /surfaces/{id}](https://usecns.dev/cortex-http-manage-identity-through-http-delete-surfaces-id/)