What the Cortex Agent may do
Ask, Accept edits and Read only, the permission cards, and its sandbox.
The Cortex Agent can read files, search, write and edit files, run shell commands and fetch web pages. You decide how much of that happens without asking by choosing a permission mode, and you answer a card each time it asks.
The three modes
Choose the mode for a session in the chat header's menu. The change applies from the agent's next call. New sessions start in the account's default, which you set in Settings → Agents under New sessions' permissions.
| Mode | What it does |
|---|---|
| Ask ✋ | The default. Writes, edits and commands ask you first. |
| Accept edits ✎ | Writes and edits inside the agent's roots run without asking. Commands still ask. |
| Read only 👁 | The agent is not offered write, edit or bash at all. Of the Cortex tools, it keeps only the read-only ones. |
The permission card
When the agent wants to do something that asks, a card appears in the chat and the turn waits. The tab shows ◉. The card says what it wants, "The agent wants to run a command", or to write or edit a file, or to read a host, and shows the command, the path or the address in full. No button is the default.

Cortex shows every character that could hide or reorder text, such as a right-to-left override or a zero-width space, by its code point, for example <U+202E>. A long command scrolls inside the card, with "More below" under it, so nothing you allow is out of sight.
Choose one of three answers:
- Allow Once lets this one action run.
- Allow … for This Session lets it and the same kind of action run without asking again until the session's agent process ends. The wording follows what it covers: Edits for writes and edits, the host for a fetch, and the tool's name otherwise.
- Deny refuses it, and tells the model.
If you press Stop while a card waits, the card is denied.
What each tool asks
| Tool | Does | Asks |
|---|---|---|
read, list, glob, grep |
Read files, folders and search results. Folder listings follow .gitignore. |
Never, inside its roots |
write, edit |
Create or replace a file, or replace an exact string. | In Ask mode |
bash |
Run a command in a shell in the session's folder, for two minutes by default and ten at most. | Always, unless allowed for the session |
fetch |
Fetch a web page as text. | The first time per host in a session |
todo |
Keep its own checklist during a long turn. | Never |
The agent is also given Cortex's own tools; see What agents ask you before they act.
If you have a file open with unsaved changes, the agent is not allowed to write to it. It is told to propose the change instead, so that your edits are not lost. See When an agent changes a file you are editing.
Where it can reach
The agent works in its roots, which are your context and its extra roots. Every path it uses is resolved, links included, and refused unless it lies inside a root. A write is also refused inside .git/ and the context's .claude/ and .codex/ folders.
On top of that, a Cortex Agent session always runs inside a macOS sandbox, whatever Settings → Isolation says for other agents. It can use your context and extra roots and the folders you list, with secrets and every other launch folder closed. It cannot read your Keychain, ~/.claude or ~/.codex, or another session's transcript, and it cannot start another agent. Network access is open: it needs it for OpenRouter, and its fetch tool needs it for the web. The layers are explained in How sessions are kept to their context.
Something wrong or missing? Tell us