Where your words go with the Cortex Agent
On this page
What each turn sends, to whom, and what zero data retention changes.
The Cortex Agent sends your words to a model that does not run on your Mac, unless you use a model server of your own. This article says exactly what leaves, to whom, and what you can change. For the wider picture of what stays on your Mac, see What stays on your Mac.
What every turn sends
With an OpenRouter account, each call goes straight from your Mac to OpenRouter, and from there to the model's provider. It carries:
- the conversation since the last compaction: your messages, the files the agent read and the output of the commands it ran;
- the agent's description of itself and your context's instructions,
AGENTS.mdor elseCLAUDE.md; - images you attached, when the model reads images;
- the agent's tool definitions, and the model, effort and token settings you chose.
Two other kinds of call carry your words too: the call that writes the session's title, and the call that compacts a long conversation. Cortex also names itself in the call's headers, HTTP-Referer: https://cortex.axelar.io and X-Title: Cortex, so that the calls show under that name in your OpenRouter activity.
When the agent fetches a web page, your Mac contacts that site directly. The page's text then becomes part of the conversation and goes to the model with the rest.
Which providers may keep or train on your calls is a setting on openrouter.ai, under Settings → Privacy. The Cortex Agent's dialog in Settings → Agents links to it.
What zero data retention changes
Switch on Zero data retention only for an account, and every call asks OpenRouter for providers that keep no data. A model with no such provider is refused. This limits who handles your words; it does not stop them leaving your Mac. See Choose and order models.
With a model server of your own
A server account sends the conversation to the address you gave it, and nowhere else. On this Mac, that is not a network trip at all. On another machine it goes over your network, unencrypted if the address starts with http://. See Use your own models. The Cortex Agent does not read your ~/.claude or ~/.codex.
What stays on your Mac
- The transcripts of your sessions, in the account's folder under
~/Library/Application Support/Cortex/agents/. - Your OpenRouter key, in the macOS Keychain. It is handed to the agent's process only on a private channel, never in a file, a log, an argument or the environment.
- Cortex's own state. Cortex has no cloud of its own and sends no telemetry.
Limits to know about
The agent's commands run with network access, because it needs the network for OpenRouter and for fetching pages. Cortex keeps its file access to your context; it does not limit what a command it runs sends over the network. See What the Cortex Agent may do.
Something wrong or missing? Tell us