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.

FieldValue
Binarypi
Path overrideMOPHEUS_PI_PATH
Verifypi --version
Minimum version0.67.2
ProtocolNative
Task skill path.pi/skills/
Filesystem sandboxSupported 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.