Rewriting Prime Agent in Rust

(primeintellect.ai)

25 points | by piotrgrabowski 3 hours ago

5 comments

  • mgreg 1 hour ago

    I'm interested in their Planner -> Implementer -> Reviewer -> Verifier process they used for this transition to Rust. I've see similar but curious how they actually implemented this.

    Curious how this could be applied to greenfield coding rather than just making a copy in a new language or performance optimizing.

    • helsinki 1 hour ago

      If anyone wants a 100% parity Rust port of v1.0 DeepSeek Harness, I have one here: https://github.com/trevorprater/SeekDeep-Harness

      • theturtletalks 2 hours ago

        So they used Prime Agent and GLM 5.3 to swarm and rewrite the code in Rust. This also shows Prime Agent doing what it preaches by rebuilding itself. Since Prime Agent is Pi under the hood, will they push a Rust rewrite to Pi? Pi extensions use Typescript so I wonder if they will work.

        I don’t see many people talk about Prime Agent, I always wondered if it could just be a Pi extension cause it seems to be a subagent orchestration agent.

        • oefrha 1 hour ago

          Kinda wish people break down token usage into input (cache hit), input (cache miss) and output when talking about it. Giving a total 200B tokens number doesn’t help gauge costs.

          • Tsarp 41 minutes ago

            I know people tend to hate on rust rewrites. But having something that compiles to a single binary that you can just copy over and get started has its advantages especially when working with sandboxes etc.