Basics

The message box

The message box is where you talk to a session's agent: + to attach, your message, and Send. Under it are where the session runs, what it runs with (the model, the effort and the mode) and how much of its plan and context it has used.

Sending

Type and press ↩ to send; ⇧↩ starts a new line. The square button at the right sends too (it lights up once there's something to send), and turns into Stop while the agent works.

Mentioning files

Type @ at the start of the message or after a space, and a list of the project's files opens, best matches first. ↑ and ↓ move, ↩ or Tab picks, Esc closes the list. The file goes into the message as @ and its path, quoted when the path has spaces. Claude Code reads a mentioned file itself.

The agent's commands

A / at the start of a message lists the agent's own commands as you type: Claude Code's, and Pi's (its commands, skills, prompt templates and extensions' commands). Codex has none here. ↑ and ↓ highlight one, Tab fills it in, ↩ runs it, Esc hides the list. In ⌘P, type / for the same commands.

In Claude Code, /model and a model's name switches the model, as picking it does. Magnum runs Pi's own commands, such as /model, /compact and /tree, as Pi's terminal does.

Images and files

Attach with the + button, by dropping files on the session, or by pasting an image or copied files (⌘V). Each shows as a chip above the box; ✕ takes it off. A message takes up to 5 attachments:

Sending while the agent works

You can send while the agent works: press ↩, or the second round button that shows beside Stop once you type. The message waits above the box until the agent takes it.

Stopping the turn (Esc or ⌘.) leaves Claude Code's queued messages to run, and gives Pi's back.

Pi's shell commands

In a Pi session, a message starting with ! runs the rest as a shell command, and its output goes into Pi's context. With !!, the output stays out of it. Stop ends a command still running.

Under the message box

Usage

The meter shows how full the agent's context window is (a ring, its colour changing from 80%), and a bar each for how much of your plan's 5-hour (5h) and weekly (Week) limits is used. Without plan limits, it shows what the session cost instead. Click it for Usage:

Claude Code on another provider shows no cost: Claude Code prices every turn at Claude's rates, which hold only on Anthropic's own account.