feat(agent-cli): add Prime Agent and package agent runtimes - #54
Conversation
Co-Authored-By: Abhinav Pola <abhinav.pola@openrouter.ai>
Original prompt from Abhinav
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
Live runtime verification passed for the Prime Agent harness at Runtime and attribution proofOne paid OpenRouter sample cost $0.002224. It used this PR's
BoundaryModal sandbox orchestration and Terminal Bench verifier/reward scoring remain untested because Modal credentials were unavailable and the requester chose to skip them. Local Docker exercised the generated image, Ori bootstrap, Prime Agent run, parser, OpenRouter lookup, and billing reconciliation. The |
Co-Authored-By: Abhinav Pola <abhinav.pola@openrouter.ai>
Co-Authored-By: Abhinav Pola <abhinav.pola@openrouter.ai>
Co-Authored-By: Abhinav Pola <abhinav.pola@openrouter.ai>
TL;DR
Adds Prime Agent as an Ori-backed harness and makes the default Claude Code, Pi, and Prime Agent image paths consume one pinned, checksum-verified runtime artifact without cold npm or NVM dependency resolution.
What changed?
prime-agentto the shared Ori configuration for Terminal Bench, DeepSWE, and SWE-Atlas, including its launch contract and structured telemetry parser.2.1.235, Pi Coding Agent0.84.2, Prime Agent0.8.0, Node.js22.23.2, upstream artifacts, and the complete npm dependency graph.agent-runtime-v1withSHA256SUMS.Why?
ECO-2361 needs comparable model harnesses with traceable OpenRouter telemetry. Packaging every currently supported harness removes npm availability and transitive dependency drift from default cold benchmark image construction.
How to test
bun run package-agent-runtime /tmp/agent-runtime sha256sum /tmp/agent-runtime/agent-runtime-linux-x64-v1.tar.zst bun run format:check bun run check bun run typecheck bun test bun run buildThe archive checksum should be
3b4ab1055d41257071860235867f31b5934e7e9c08fa57644d2888d435293bf3. Generated default images should report Claude Code2.1.235, Pi0.84.2, Prime Agent0.8.0, and Node.jsv22.23.2, with nonpm installornvm installin their default image steps.Proof
agent-runtime-v1SHA256SUMSasset.runAgentClipath completed file-writing smoke runs for Claude and Pi, returned successful exits and OpenRouter generation IDs, and produced the requested files. Prime Agent's equivalent generated-image launch was verified earlier in this PR.Benchmark impact
New runs may select
agent: "prime-agent". Claude and Pi defaults now use pinned versions instead of@latest, so new results are reproducible but may differ from historical runs that resolved another package version. Datasets, prompts, scorers, routing, and existing launch contracts are unchanged.Reviewer focus
Checklist
Link to Devin session: https://openrouter.devinenterprise.com/sessions/ea6550fd84034992b6e49bb3c72ec2a6
Requested by: @abhinav-pola