Agents, modes and swarm
Cosine operates in one of four modes that control how the AI agent behaves. The active mode is always visible in the footer bar at the bottom of the terminal user interface (TUI).
| Mode | Icon | Colour | Behaviour |
|---|---|---|---|
| Manual | ◆ | Gray | Asks for confirmation before mutating actions |
| Auto | ● | Green | Executes all actions without confirmation |
| Plan | ○ | Purple | Read-only planning — no file modifications |
| Swarm | ◈ | Blue | Multi-agent orchestration with subagents |
Manual
Section titled “Manual”The default mode. The agent can read files, search, and run analysis freely, but asks for your explicit approval before any action that modifies your project.
Executes all tool calls — including code edits, terminal commands, and file operations — without asking for confirmation. Useful when you trust the agent’s judgment and want it to work through a task end-to-end without interruption.
Puts the agent into a read-only state. It can explore your codebase and ask questions, but cannot create, modify, or delete any files. Instead, it produces a structured implementation plan saved to disk. When the plan is ready, you choose how to proceed: approve and switch to Auto or Manual, hand it to Swarm, or provide feedback for revision.
Enables multi-agent orchestration. The primary agent acts as an orchestrator that can delegate work to subagents running in parallel, each working on a portion of the task. Subagents can share the current workspace or run in background worktrees.
Subagents
Section titled “Subagents”A subagent is an additional agent spawned to help with part of a task. Subagents:
- Have access to the full set of tools
- Can run synchronously or in parallel
- Report progress in the Agents panel
- Can be reviewed and managed independently
Switching modes
Section titled “Switching modes”In the CLI and Desktop:
- Press
Shift+Tabto cycle through modes - Press
/orCtrl+Pand select Change Mode - Start with a flag:
cos start --mode auto
The last mode you select is automatically saved and restored on the next session start.
Flags for modes
Section titled “Flags for modes”cos start --mode auto # or --amcos start --mode manual # or --mmcos start --mode plan # or --pmcos start --mode swarm # or --smRelated pages
Section titled “Related pages”- Modes — Detailed behaviour and when to use each mode
- Swarm Mode — How multi-agent orchestration works
- CLI Navigation — Keyboard shortcuts and TUI layout