straight-animal-81875
07/11/2026, 3:06 AMaverage-processor-75195
07/11/2026, 4:14 AM{
"name": "Pi",
"agent_kind": "acp",
"acp_server": "custom",
"acp_command": "pi-acp",
"acp_model": "anthropic/claude-sonnet-4-6",
"acp_prompt_timeout": 1800
}
just use custom acp, setup a secret like ANTHROPIC_API_KEY in agent canvas that pi can readstraight-animal-81875
07/11/2026, 4:20 AMaverage-processor-75195
07/11/2026, 11:16 AMaverage-processor-75195
07/11/2026, 11:24 AMnpm install -g @earendil-works/pi-coding-agent pi-acp
2. Verify Pi works directly:
pi --version
ANTHROPIC_API_KEY=... pi --provider anthropic --model sonnet --no-tools -p "Reply exactly PI_OK"
3. In Agent Canvas, add ANTHROPIC_API_KEY as a secret. (Pi recognizes certain words for inference, this is one)
4. Create a new ACP agent/LLM profile:
{
"name": "Pi",
"agent_kind": "acp",
"acp_server": "custom",
"acp_command": "pi-acp",
"acp_model": "anthropic/claude-sonnet-4-6",
"acp_prompt_timeout": 1800
}
5. Test it in a workspace path the Agent Server subprocess can actually access. In our test, this worked:
/private/tmp/pi-acp-canvas-smokestraight-animal-81875
07/11/2026, 11:26 AMstraight-animal-81875
07/11/2026, 11:29 AMaverage-processor-75195
07/11/2026, 11:33 AMstraight-animal-81875
07/11/2026, 11:35 AMaverage-processor-75195
07/11/2026, 11:37 AMstraight-animal-81875
07/11/2026, 11:37 AMstraight-animal-81875
07/11/2026, 12:30 PMaverage-processor-75195
07/11/2026, 12:48 PMstraight-animal-81875
07/11/2026, 12:49 PM