Skip to content

Agents and permissions

xmsadik edited this page Nov 29, 2026 · 1 revision

Kotilo tracks every agent running in its terminals, and also sessions you started in another terminal, as long as the agent's integration is installed.

Agent states

Each state differs by shape or motion as well as colour, so you can tell them apart without relying on colour.

State Looks like Meaning
Working Amber, spinning The agent is running a turn
Needs permission Red-orange, pulsing It waits for you to allow or deny a tool
Waiting for input Red-orange, pulsing It finished its turn and asked you something
Done Blue It finished and you have not looked yet
Idle Green It finished and you have seen it
Error Red-orange with ⚠ The turn ended with an error or a limit

"Waiting for input" and "Error" need the agent's integration. Done stays until you look: open the agent's tab, click its tile in Mission control or send it a new prompt. Kotilo remembers this across restarts, also for sessions started outside Kotilo.

The Agents panel

The panel at the bottom of the left column lists agents under Waiting, Working, Done and Idle, with counts. Inside a section the one that has waited longest comes first. Click a section header to collapse it. Click a row to jump to that workspace and tab; the keyboard goes straight into its terminal.

The Agents panel with waiting, working, done and idle sections

  • Ctrl+Shift+A jumps to the next agent that waits for you, from anywhere.
  • Each terminal tab and the workspace show a dot for their most urgent state; the status bar counts agents per state.

How agents are recognised. An agent with its integration reports prompts, permission requests and completion through its hooks. A custom agent can report through the Agent Integration Protocol. Without either, Kotilo recognises the agent by its process name and uses a simple rule: output means working, about three seconds of silence means idle.

The agent header

Above an agent's terminal a header strip shows the agent and project, branch and model, the state and how long it has lasted, context window use, the session's tokens (and estimated cost when the model has a price) and the agent's most-used plan limit. A dash means the agent has not reported that value. The header never takes focus from the terminal. Its buttons open Agent context and split the pane.

Agent header with context, session cost and 5-hour limit

The permission card

When an agent asks for permission, a card appears over the bottom of its terminal. It shows what the agent wants to do (the command, file or tool), how long it has been waiting, a risk label when the request looks risky (deletes files, writes to a database, network access, installs packages, pushes to a remote) and the name of any watch rule it matches.

Claude Code asks to run npm test; the card offers the agent's own options

Button Key What it does
Allow once Enter Presses the agent's own "yes" key, for example 1 (Claude Code) or y (Codex)
Always allow in this project The agent's own "always allow" option, for example 2 (Claude Code) or p (Codex), where the agent has one
Deny Esc Rejects the request, for example Esc or n (Cursor CLI)
Answer in terminal Hides the card and focuses the terminal

The buttons press the agent's own keys in its terminal, so the result is the same as answering yourself. A short note under the terminal confirms which key was sent.

After Allow once a note says which key was sent

Enter and Esc act only while focus is inside the card; otherwise the terminal keeps them. For agents whose keys are not verified, only Answer in terminal is offered. The keys for each agent are listed in Agent integrations.

The composer

Below every agent terminal there is a message field for longer messages, files, images, dictation and prompts you reuse. You can always type straight into the terminal as well; the composer never takes focus by itself.

  • Enter sends, Shift+Enter adds a line, Esc returns to the terminal.
  • Files: type @ and part of a name for suggestions from the workspace, or use the paperclip button to pick files. They are inserted as workspace-relative @ paths.
  • Images: paste an image with Ctrl+V. It is saved as a PNG in .kotilo/attachments/ in the workspace and sent as an @ path. Kotilo suggests adding .kotilo/ to .gitignore but never edits it.
  • Microphone: dictate into the message and edit it before sending. It uses the Dictation model, even when the global dictation shortcut is off.
  • Saved prompts: the bookmark button lists your saved prompts. Save message as prompt stores the current text; click one to insert it.

Typing @ in the composer suggests workspace files

The saved prompts list above the composer

How sending works: the message is pasted into the agent's terminal as one block and followed by Enter, exactly as if you had pasted it yourself. Saved prompts are the only prompt text Kotilo keeps, and only because you saved them.

Clone this wiki locally