Skip to content
Toshon edited this page Jun 20, 2026 · 1 revision

Cowork

Cowork mode is Perci's interface for running multiple coding agents in parallel — each in its own workspace, coordinated through Mission Control.


Supported Agents

Agent Type Notes
Claude Code CLI Anthropic's coding agent
Aider CLI AI pair programming
Codex CLI OpenAI's coding agent
Cursor CLI CLI Cursor's agent mode
Copilot CLI GitHub Copilot CLI
Antigravity CLI Agent backend

How It Works

  1. Create a Cowork session — pick an agent and a workspace directory
  2. Assign a task — describe what you want built
  3. Monitor progress — watch the agent's terminal output, file changes, and reasoning in real-time
  4. Validate output — Mission Control tracks the run, records events, and validates results

Multiple Cowork sessions can run simultaneously. Each has its own terminal, file tree, and conversation history.


Session Management

  • Sessions are persisted — close and reopen without losing context
  • Each session has a unique key for isolation
  • Sessions can be delegated to OpenClaw for long-running or multi-step gateway work (delegate_to_openclaw)
  • Inactive terminal tabs stay mounted so shells survive tab switches

Terminal Integration

Cowork uses the same terminal bridge as the global terminal (src/lib/terminalBridge.js, ports 3001/3002). Each session gets a unique sessionId. The terminal server (terminal-server.cjs) spawns PTY sessions and broadcasts output over WebSocket.


Mission Control Integration

Cowork sessions appear as runs in Mission Control. Each run tracks:

  • Agent type and model
  • Commands executed
  • Files modified
  • Validation status
  • Risks and next steps

Clone this wiki locally