# Prime Agentが自らをRustで書き換え、起動14倍高速化

Original title: Rewriting Prime Agent in Rust

> Hacker News story 50027694 · language: ja · submitted 2026-10-09
> Web version: https://zeli.app/ja/story/50027694
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 64 · by [piotrgrabowski](<https://news.ycombinator.com/user?id=piotrgrabowski>) · 💬 20
[original](<https://www.primeintellect.ai/blog/prime-agent-rust>) · [HN discussion](<https://news.ycombinator.com/item?id=50027694>)

## Summary

Prime Intellectは、コーディングエージェントPrime AgentをRustでゼロから書き直した。2週間で2,000以上のエージェントが10,000以上のサンドボックス上で2000億トークン以上を処理し、自律的に書き換えを実行。TypeScript版と比べ入力開始が約14倍速く、メモリ使用量は80%以上削減。Claude CodeやCodex CLIを上回る性能を実現した。

## Key quote

> 我々はループに数値目標を意図的に与えなかった。固定された閾値は停止点になりがちだからだ。エージェントの唯一の目的は、測定可能な改善が続く限り、パリティを壊さずにベンチマークを改善し続けることだった。

## HN discussion (20 comments)

### [AbuAssar](<https://news.ycombinator.com/item?id=50029142>)

> \> 全体として、私たちのRustへの書き換えとその後のパフォーマンス改善により、Prime Agentは大幅に高速化され、リソース効率も向上しました。入力までの時間はTypeScriptより約14倍速く、起動後のメモリ使用量は80%以上削減されています
>
> この移植の成果はとても素晴らしいですね

### [mgreg](<https://news.ycombinator.com/item?id=50028423>)

> このRustへの移行で使われたPlanner -> Implementer -> Reviewer -> Verifierのプロセスに興味があります。似たようなものは見たことがありますが、実際にどう実装したのか気になります。
>
> 新しい言語でコピーを作ったりパフォーマンスを最適化したりするだけでなく、ゼロからのコーディングにどう応用できるのかも気になります。

### [theturtletalks](<https://news.ycombinator.com/item?id=50028315>)

> つまり彼らはPrime AgentとGLM 5.3を使って群れのようにコードをRustで書き換えたのか。これはPrime Agentが自ら唱えることを実践して自分自身を作り直したことにもなる。Prime Agentは内部的にはPiなので、PiにもRustへの書き換えをプッシュするのだろうか？Piの拡張機能はTypeScriptを使っているので、動くのか気になる。
>
> Prime Agentについて話している人はあまり見かけないが、サブエージェントのオーケストレーションエージェントのように見えるので、単なるPiの拡張機能でいいのではといつも思っていた。

---

## Cite

- Page: https://zeli.app/ja/story/50027694
- Date: 2026-10-09
- Source: primeintellect.ai (https://www.primeintellect.ai/blog/prime-agent-rust)
- Hacker News: https://news.ycombinator.com/item?id=50027694

## Other languages

- en: https://zeli.app/story/50027694 · markdown: https://zeli.app/story/50027694.md
- zh: https://zeli.app/zh/story/50027694 · markdown: https://zeli.app/zh/story/50027694.md
- ko: https://zeli.app/ko/story/50027694 · markdown: https://zeli.app/ko/story/50027694.md
- de: https://zeli.app/de/story/50027694 · markdown: https://zeli.app/de/story/50027694.md
- es: https://zeli.app/es/story/50027694 · markdown: https://zeli.app/es/story/50027694.md
- ru: https://zeli.app/ru/story/50027694 · markdown: https://zeli.app/ru/story/50027694.md
