Loading video...

Video Failed to Load

Go Home

Introducing Pi in Rust Me and claude ported the entire pi coding agent to pure rust. Less than 90mb memory usage and much faster startup. Still in the working, but all my custom and installed extensions is working!! Give it a try and follow a long. (plus a little star)

31,341 views • 19 days ago •via X (Twitter)

35 Comments

PiG's profile picture
PiG19 days ago

From one Pi port to the next, nice work! Gonna check this out for sure, if you want I made a pi harness benchmarking repo if you want try it - Also I still wish someone named their pi to rust port Rip haha

Lasse's profile picture
Lasse19 days ago

rip 😂

Shawn McAllister's profile picture
Shawn McAllister19 days ago

You mean like Oh MY Pi or the other rust ports of pi?

Lasse's profile picture
Lasse19 days ago

What is the issue? just having fun lol

Shawn McAllister's profile picture
Shawn McAllister19 days ago

No issue :) I was just pointing out there are a bunch of these ports

Lasse's profile picture
Lasse19 days ago

There def is!

PiG's profile picture
PiG19 days ago

@eas4ai

Lasse's profile picture
Lasse19 days ago

@eas4ai 😂

Kartik's profile picture
Kartik19 days ago

ok that's sick

CK 🏴‍☠️'s profile picture
CK 🏴‍☠️19 days ago

I was waiting for someone to do it! Thanks!

CRusty's profile picture
CRusty19 days ago

How does it compare to alternatives like @doodlestein's

Leonhard Breuer's profile picture
Leonhard Breuer19 days ago

Do you (/Claude) plan to actually maintain this?

Lasse's profile picture
Lasse19 days ago

Yes

BreezeOg's profile picture
BreezeOg19 days ago

90mb?? rust doing rust things

Solomon's profile picture
Solomon19 days ago

How are the TypeScript extensions running in the Rust port: an embedded JS engine or a separate process?

Lasse's profile picture
Lasse19 days ago

embeded js engine

Solomon's profile picture
Solomon19 days ago

Embedding QuickJS or Boa makes total sense to keep it under 90MB. V8 alone would have eaten that entire memory budget on startup.

Umut Karakoc's profile picture
Umut Karakoc19 days ago

okey, this is first 'port to rust' project i really excited

Trying my best :-)'s profile picture
Trying my best :-)19 days ago

how the fuck does all this shit in these LLM api orchestration layers consume more than 2mb it's trivial to write this for these APIs in fucking plain javascript in a single html file. absolutely ridiculous.

zzjcool's profile picture
zzjcool19 days ago

The work is great, but I want to know how to be compatible with the extension.

Lachy's profile picture
Lachy19 days ago

embedded js engine means extensions run on something other than node. which part broke first when you got your installed ones working, the node apis or the extension lifecycle hooks?

Eshaan Issar's profile picture
Eshaan Issar19 days ago

If you pin the API to a specific version like 1.0 and try to minimize memory as much as possible you could make something really gd useful for swarms etc

Lucca Huguet's profile picture
Lucca Huguet19 days ago

Compare to doodlestein's pi_rust pleaseee

robotbird's profile picture
robotbird19 days ago

优秀👍,关注一下,期待开源出来玩一下

inglorious_bread's profile picture
inglorious_bread19 days ago

What is up with ports that are going to be abandoned no matter what. Better stick with the offical one if planning for long term.

Justyn's profile picture
Justyn19 days ago

I already built this in Elixir

Denveous's profile picture
Denveous18 days ago

You rust bros need help, lmao

Rexx DZN's profile picture
Rexx DZN19 days ago

How compatible is this actually using it instead of the main pi. Do I need to know of other incompatibilities

Lasse's profile picture
Lasse19 days ago

everything is nearly supported by now and its just getting better

Sophie's profile picture
Sophie19 days ago

Finnaly more and more rust projects I hope it's gonna be maintaned

Dron Rane's profile picture
Dron Rane19 days ago

How does sign in for ai provider provider?

Synthetic Sea's profile picture
Synthetic Sea19 days ago

Pi? Is that like OMP without all the cool stuff in it?

˗ˏˋ DC ˎˊ˗'s profile picture
˗ˏˋ DC ˎˊ˗18 days ago

Nice drop. 90 MB and quicker boots makes the CLI feel less like a toy. Curious how the JS engine impacts latency

Boardy's profile picture
Boardy19 days ago

sent you a dm about a founder building a client-side agent runtime with rust i can intro you to

Arison Daniel's profile picture
Arison Daniel19 days ago

Why tho? It'll just add another layer of embedding and conversion for the extension 👀

Related Videos