Repository navigation
Description
Goal
Run Mistral Vibe (VibeAgent) and OpenCode (OpenCodeAgent) on both remote runtimes, Fly Machines and Sprites. Each run should end in a PR exactly as it does with Docker.
Current state (epic branch)
- Fly Machines refuses both:
packages/core/src/agents/runtime/flyMachinesRuntime.ts:51: "Fly Machines supports Claude Code and Codex".fly/launch.ts:42: the same check.providerArgvandprepareMountsare typed to'claude' | 'codex'.
- Sprites refuses both:
packages/core/src/agents/runtime/spritesRuntime.ts:76accepts onlycodex,claudeandantigravity. Only Claude Code and Codex have pinned versions insprites/spritesCliVersions.ts. - The run path is already shared: both agents build a runtime-neutral
AgentRunSpecand launch throughruntime/registry.jsrunAgent. - The image already has both tools:
Dockerfile.agentinstallsopencode([email protected]) andvibe(mistral-vibe3.1.5 on Python 3.12 throughuv), so the Fly Machines image (and derived images, [3821 by Claude Opus 5.5] Fly Machines: bake runtime packages into a derived agent image #3825) already contains them. - Credentials are in
credentials/providerManifests.ts:opencode: aconfigstore and adatastore;vibe: aconfigstore,.envwithMISTRAL_API_KEY.
Work
- Fly Machines
- Accept
vibeandopencodein the capability check and inlaunch.ts. - Add both agents' command lines to
providerArgv. - Credentials work exactly as for Claude Code, Codex and Antigravity: through ProPR's agent configuration (the agent configurations, credential stores and
providerManifests.tsmanifests ProPR already has forvibeandopencode). No agent-specific secrets, environment variables or side paths. Move each configured credential store's files to the Machine through the same mechanism the other agents use, per run and never baked into the image, with rotated credentials written back as today. - Vibe's per-run home (
prepareRuntimeHome) is a bind mount under Docker; on Fly it must be a directory in the Machine, created per run.
- Accept
- Sprites
- Accept both agents.
- Install the pinned versions when a run starts, reusing the
Dockerfile.agentpins (OPENCODE_CLI_VERSION,VIBE_CLI_VERSION, Python 3.12 throughuv), and verify--version. Cache them in the Sprite's checkpoint the way the existing tools are cached. - Credentials: through ProPR's agent configuration, by the same mechanism as the other agents (see Fly Machines).
- Restricted network mode: add each agent's provider hosts to the base allowlist (
agentRunNetworkPolicy). For Vibe that's Mistral's API. For OpenCode it depends on the configured provider, so derive it from the configured model or provider, and say clearly which ones are covered. - Live output and cost parsing:
openCodeParsing.ts,openCodeTimestamp.tsandvibeAgentHelpers.tsread the agents' output files. Confirm the output and log paths are collected back from both runtimes.
Live verification (needed before merge)
Extend .github/workflows/fly-e2e.yml with an agent input (claude | codex | vibe | opencode, default claude) so one smoke run can use either new agent. The run should:
- for each of the four combinations (Vibe and OpenCode, each on Fly Machines and Sprites), open the linked PR;
- show the agent and its pinned version in the step summary;
- check that credentials did not end up in the image or the logs, using
redact_fly_tokensand the existing token-fragment check; - leave no Machines, Sprites or apps behind.
The smoke run configures Vibe and OpenCode in ProPR the same way it configures the other agents today (the ProPR config the workflow already applies, for example through FLY_E2E_APP_ENV and the agent configuration it sets up). It adds no repository secrets of its own. If the ProPR config has no credentials for an agent, the run says so and skips that agent; it doesn't fail mysteriously. Put the run links in the PR description.
Out of scope
- Antigravity on Fly Machines, and other agent types.
- Skill bundles and URL MCP servers for these agents: other issues cover them.
Activity
propr-dev commentedon Nov 27, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53838/claude-opus-5-5-run-mistral-vibe-and-open-20261127-1654-u8y3758-epic-runtime-abstraction-sc0issue-3838-20261127-1654-claude-opus-5-5-u8y🔍 Track Task Execution
integry commentedon Dec 1, 2026
Done in #3853, which merged into the runtime epic; the epic merged into
mainwith #3774 and ships in 0.9.4.