Skip to content

Run the full agent lineup on every runtime: Pi on Sprites and Fly Machines, Antigravity on Fly Machines #3898

Done

Description

@integry

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 --help flag check as Dockerfile.agent, and install pi-entrypoint.sh and pi-credentials.py. The entrypoint calls /usr/bin/python3; make sure the Sprite has it.
  • Add PI_CLI_VERSION to the Sprites CLI pins (spritesCliPins.ts) and the provisioning file list.
  • Add pi to SPRITES_AGENT_TYPES and spritesProvidedCliVersion.
  • The interactive Pi login, the readiness check and model discovery must work on Sprites.

3. Fly Machines: Antigravity and Pi

  • Add antigravity and pi to REMOTE_AGENT_TYPES with their credential store targets in STORE_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.md so 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 pi and antigravity.
    • 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-e2e matrix.

Activity

  1. propr-dev commented on Nov 29, 2026

    @propr-dev
    Contributor

    🤖 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:

    • Agent: codex
    • Model: gpt-6.2-sol
    • Branch: 3898/gpt-6.2-sol-run-the-full-agent-lineup-20261129-2314-cx5
    • Base Branch: 3758-epic-runtime-abstraction-sc0
    • Worktree: issue-3898-20261129-2314-gpt-6.2-sol-cx5

    🔍 Track Task Execution

  2. integry commented on Dec 1, 2026

    @integry
    OwnerAuthor

    Done in #3901, which merged into the runtime epic; the epic merged into main with #3774 and ships in 0.9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions