Prime Agent团队将其AI编程助手从TypeScript完全重写为Rust1。此次重写耗时两周,动员超过2000个智能体在10000多个沙箱环境中协作完成,处理超过200亿个tokens1。
重写后Prime Agent的性能得到显著改善1。冷启动时间比原TypeScript版本快14倍,启动后的内存使用量减少80%以上1。新版本的代码架构更加模块化,被分为9个crate进行组织,最大源文件控制在2500行,而原TypeScript版本相应代码曾达到15000行1。开发团队在hillclimbing循环中运行了144次实验,最终合并了69项有效改进1。
Prime Agent自发布以来已被下载超过300,000次,累计处理超过8万亿tokens1。新版本新增了Windows原生支持(测试版)和Homebrew安装方式1。
The Prime Agent team has completed a full rewrite of its AI programming assistant from TypeScript to Rust, leveraging over 2,000 AI agents collaborating across 10,000+ sandboxes to accomplish the migration, which processed more than 200 billion tokens.1 The extensive refactoring delivered substantial performance improvements, with cold startup times accelerating 14 times faster than the original TypeScript version and post-startup memory consumption dropping by over 80%.1
The two-week rewrite effort utilized more than 200 billion tokens from Prime Inference's GLM-5.3 endpoint.1 The team conducted 144 experiments within a hillclimbing optimization loop, successfully merging 69 valid improvements into the final codebase.1 The new architecture reorganized the code into nine modular crates, with the largest source file containing 2,500 lines—a dramatic reduction from the 15,000-line files in the TypeScript implementation.1
Since its initial release, Prime Agent has been downloaded over 300,000 times and has processed more than 8 trillion tokens.1 The updated release adds native Windows support in beta and introduces Homebrew as an installation method.1
评论
还没有评论,欢迎留下第一条。