Pi
Run Mopheus agent tasks with pi-coding-agent.
Pi
pi-coding-agent is an open-source agent CLI. Mopheus runs it in non-interactive JSON event-stream mode and always uses --session-id <session-id>. The exact ID is reused for resumed tasks, so Pi recreates a missing session file instead of failing; the session directory is isolated per workspace through PI_CODING_AGENT_SESSION_DIR.
| Field | Value |
|---|---|
| Binary | pi |
| Path override | MOPHEUS_PI_PATH |
| Verify | pi --version |
| Minimum version | 0.67.2 |
| Protocol | Native |
| Task skill path | .pi/skills/ |
| Filesystem sandbox | Supported on Linux |
Install with npm install -g --ignore-scripts @earendil-works/pi-coding-agent, or follow pi's installation guide. The per-agent model is passed as --provider <name> --model <id>.
Pi reads custom provider definitions from ~/.pi/agent/models.json; Mopheus does not manage that file or pi's global auth.json. See pi's custom-models documentation.