[GH-ISSUE #90] Build the pi.dev adapter #80

Closed
opened 2026-08-13 19:11:09 +02:00 by zaph0d · 0 comments
Owner

Originally created by @niels-emmer on GitHub (Aug 13, 2026).
Original GitHub issue: https://github.com/niels-emmer/myace/issues/90

`docs/ADAPTERS_RESEARCH.md` marks pi.dev (Pi Coding Agent) as the single highest-priority unbuilt adapter target — it's the only entry under "Viable Targets (high priority)" that isn't already shipped. Pi reads `AGENTS.md` natively (same as OpenCode), with skills → Pi skills format and settings → `~/.pi/agent/settings.json` / `.pi/settings.json`.

`docs/extending.md`'s "Adding a target adapter" walkthrough is written using pi.dev as the worked example already — this issue is literally "follow that walkthrough for real":

  1. `backend/app/adapters/pi_dev.py` implementing `BaseAdapter`
  2. Register it in `backend/app/adapters/init.py`
  3. Add `"pi-dev"` to the `target` `Literal` in `ProfileCompileRequest` (`backend/app/models/profile.py`) — easy to forget, and the failure mode is a silent 422 on `POST /profiles/compile`, see the note in `docs/extending.md` about this exact bug shipping for 4 other adapters before being caught
  4. A `TestPiDevAdapter` in `backend/tests/test_adapters.py`

Reference: https://pi.dev/docs/latest

Originally created by @niels-emmer on GitHub (Aug 13, 2026). Original GitHub issue: https://github.com/niels-emmer/myace/issues/90 \`docs/ADAPTERS_RESEARCH.md\` marks **pi.dev (Pi Coding Agent)** as the single highest-priority unbuilt adapter target — it's the only entry under "Viable Targets (high priority)" that isn't already shipped. Pi reads \`AGENTS.md\` natively (same as OpenCode), with skills → Pi skills format and settings → \`~/.pi/agent/settings.json\` / \`.pi/settings.json\`. \`docs/extending.md\`'s "Adding a target adapter" walkthrough is written using pi.dev as the worked example already — this issue is literally "follow that walkthrough for real": 1. \`backend/app/adapters/pi_dev.py\` implementing \`BaseAdapter\` 2. Register it in \`backend/app/adapters/__init__.py\` 3. Add \`"pi-dev"\` to the \`target\` \`Literal\` in \`ProfileCompileRequest\` (\`backend/app/models/profile.py\`) — easy to forget, and the failure mode is a silent 422 on \`POST /profiles/compile\`, see the note in \`docs/extending.md\` about this exact bug shipping for 4 other adapters before being caught 4. A \`TestPiDevAdapter\` in \`backend/tests/test_adapters.py\` Reference: https://pi.dev/docs/latest
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
github-mirrors/myace#80
No description provided.