feat(pi): support Pi coding agent via Dockerfile.pi#920
Conversation
|
LGTM ✅ — Pi agent support is now complete, tested, and wired into the release path. What This PR DoesAdds OpenAB support for the Pi coding agent via How It WorksThe PR builds a dedicated Pi runtime image with Findings
Baseline Check
Verification
Note: GitHub does not allow the PR author account to submit an approving review on its own PR, so this is recorded as a review comment rather than an approval event. |
OpenAB PR ScreeningThis is auto-generated by the OpenAB project-screening flow for context collection and reviewer handoff.
Screening reportscreening posted and project item moved.GitHub comment: #920 (comment) IntentPR #920 adds first-class container and chart support for running the Pi coding agent through the FeatFeature work. The PR adds Who It ServesDeployers and agent runtime operators who want Pi available as an OpenAB-managed coding agent. Maintainers also benefit because the integration points are documented and CI-visible. Rewritten PromptAdd Pi coding agent support to OpenAB as a packaged agent option. Create Merge PitchThis should move forward if Pi is intended to be a supported runtime option. Risk is moderate-low because the change is additive, but reviewers should check Dockerfile contract fit, unpinned global npm installs, and whether the smoke test catches packaging drift. Best-Practice ComparisonOpenClaw and Hermes Agent mostly do not apply; this is packaging, not scheduling or durable job execution. The relevant overlap is isolated execution and explicit runtime/auth state. Implementation OptionsConservative: merge Dockerfile plus CI only. Balanced: merge current integration after checking dependency/version and smoke-test strength. Ambitious: add pinned versions, ACP startup validation, Helm schema/docs coverage, and a Pi runbook. Comparison Table
RecommendationTake the balanced path. Keep this PR scoped, ask for one reviewer pass on dependency pinning/version drift and smoke-test strength, then advance if those check out. |
- No auth proxy required (native subscription support like Codex/Copilot) - Minimal tool surface (4 tools) maximizes context window - Multi-model support (15+ providers, switchable mid-session) - Branching session trees for code exploration
This PR introduces support for the Pi coding agent (using the
pi-acpadapter) in OpenAB.Key Changes
node:22-bookworm-slim. It installspi-acp(the Agent Client Protocol adapter) and@earendil-works/pi-coding-agent(the Pi coding agent CLI) globally.values.yamlwith a commented example configuration for thepiagent.templates/NOTES.txtto display the authentication instructions (pi /login) for thepiagent.docs/config-reference.mdanddocs/steering-design-guide.mdto reference the Pi coding agent and its hot memory directories.AGENTS.mdto correct the Dockerfile count and includeDockerfile.pi.Use Cases & Advantages of Pi Agent
read,write,edit,bash) and utilizes a tiny system prompt. This drastically reduces prompt overhead and maximizes the available context window size for project source files.openab-auth-proxysidecar needed for these providers.Authentication
Supported providers:
pi /loginpi /loginenv = { OPENAI_API_KEY = "..." }Tested
Dockerfile.pion zf (x86_64) ✅pi-acp✅Discord Discussion URL: https://discord.com/channels/1486155598964719616/1507511678596808764