Repository navigation
Done
Labels
Description
Goal
Every coding agent ProPR supports runs on every agent runtime: Docker, Sprites and Fly Machines. Then the docs and site can say "all six agents" without per-runtime exceptions.
Current gaps (epic head)
| Agent | Docker | Sprites | Fly Machines |
|---|---|---|---|
| Claude Code, Codex, OpenCode, Mistral Vibe | ✅ | ✅ | ✅ |
| Antigravity CLI | ✅ | ✅ | ❌ not in REMOTE_AGENT_TYPES (remoteRunMounts.ts) |
| Pi | ✅ | ❌ not in SPRITES_AGENT_TYPES (spritesCliVersions.ts) |
❌ not in REMOTE_AGENT_TYPES |
Live symptom on a Fly instance: adding Pi shows "The Sprites runtime does not run pi agents", and its login fails with "Sprites cannot run the pi login".
Work
1. Port Pi onto the runtime abstraction
Today PiAgent.ts builds raw docker run arguments (utils/piDockerArgsBuilder.ts) and calls executeDockerCommand directly. So do piAuthCheck.ts and piModelDiscovery.ts. Move all three onto AgentRunSpec and runAgent, the way OpenCodeAgent does with buildOpenCodeRunSpec and renderDockerRunArgs:
- Docker behaviour must stay identical, including the root-only credential write-back mount and the protections against mounts overlapping the host Pi dir.
- On remote runtimes, sync refreshed Pi credentials back after the run, the same way Claude and Codex do on Sprites and Fly Machines.
- Goal sessions (
piGoalSession.ts) can stay Docker-only, like every agent's goals.
2. Provision Pi on Sprites
scripts/sprites-agent-setup.sh: install the pinned@earendil-works/pi-coding-agent(PI_CLI_VERSION, Node ≥22.19), run the same--helpflag check asDockerfile.agent, and installpi-entrypoint.shandpi-credentials.py. The entrypoint calls/usr/bin/python3; make sure the Sprite has it.- Add
PI_CLI_VERSIONto the Sprites CLI pins (spritesCliPins.ts) and the provisioning file list. - Add
pitoSPRITES_AGENT_TYPESandspritesProvidedCliVersion. - The interactive Pi login, the readiness check and model discovery must work on Sprites.
3. Fly Machines: Antigravity and Pi
- Add
antigravityandpitoREMOTE_AGENT_TYPESwith their credential store targets inSTORE_TARGETS. - Check that
PROPR_FLY_IMAGE(the agent image) carries both CLIs and entrypoints, and that the Fly Machines login, readiness and run paths work for them.
4. Docs
- Update the runtime capability docs and
docs/docs/tutorials/setup-fly.mdso all six agents are listed for every runtime. - Keep only the remaining real limits (goals need Docker; restricted network on Fly Machines).
Acceptance
- Unit tests:
- Pi's run spec renders the same Docker args as today (snapshot against the current builder for representative configs).
- The Sprites and Fly Machines readiness checks accept
piandantigravity. - The provisioning script installs and verifies the Pi pin.
- Live on Fly, Sprites runtime:
- The Pi login completes and the agent shows Ready.
- Model discovery lists models.
- A fixture issue labeled for Pi opens a PR, and the refreshed credentials persist after the run.
- Live on Fly, Fly Machines runtime: the same issue run with Pi and with Antigravity opens a PR.
- No regression in the existing
fly-e2ematrix.
Activity
propr-dev commentedon Nov 29, 2026
🤖 AI processing has started for this issue using codex agent with gpt-6.2-sol model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
codexgpt-6.2-sol3898/gpt-6.2-sol-run-the-full-agent-lineup-20261129-2314-cx53758-epic-runtime-abstraction-sc0issue-3898-20261129-2314-gpt-6.2-sol-cx5🔍 Track Task Execution
integry commentedon Dec 1, 2026
Done in #3901, which merged into the runtime epic; the epic merged into
mainwith #3774 and ships in 0.9.4.