Loading video...

Video Failed to Load

Go Home

I built a Rust-based image compressor, WASM binary, and SvelteKit app! I wanted to see how far I could go using only coding agents. I did not write any code by hand. After 520 agents, 350M tokens, and $287 I can now say… extremely far.

565,145 views • 10 months ago •via X (Twitter)

52 Comments

Lee Robinson's profile picture
Lee Robinson10 months ago

My library, pixo, has zero runtime dependencies. All algorithms were implemented from scratch. It achieves performance close to a 30-year-old highly optimized C/Assembly library. It has 900+ tests with 85% coverage. No slop or vibes here.

Lee Robinson's profile picture
Lee Robinson10 months ago

Here’s a few interesting things coding agents did for me: 1. Created benchmarks against similar tools, found performance gaps, and then fixed them 2. Optimized the WASM binary, looking up the right config/flags to use, shrinking the size 3. Measured code coverage, found gaps, and then wrote tests based on the missing coverage 4. Found public domain images to scaffold a comprehensive test suite 5. Researched compression specs and RFCs to validate correctness of all tests 6. Added CI for linting, testing, and generating WASM binaries What a time to be alive.

Lee Robinson's profile picture
Lee Robinson10 months ago

I wrote up a very detailed post about how I built pixo and how I'm thinking about the future of software. I don't really expect people to use the library, but open to contributions or suggestions on how to make it better!

Lee Robinson's profile picture
Lee Robinson10 months ago

Btw if anyone wants to roast the Rust code, please do. If you open some issues, I'll have Cursor fix them 🫡

💭's profile picture
💭10 months ago

When you say 520 agents ? That means like different agent chats started ?

Lee Robinson's profile picture
Lee Robinson10 months ago

Yep!

Maximilian's profile picture
Maximilian10 months ago

This is pretty amazing! And inspiring

Robin Ebers's profile picture
Robin Ebers10 months ago

glad the word is spreading it’s insane what we can do now haven’t written code in 10 months barely even reading diffs

Lee Robinson's profile picture
Lee Robinson10 months ago

I would still read the diffs 😄

Robin Ebers's profile picture
Robin Ebers10 months ago

i did early on, but then started trusting them especially gpt-5-high ones depends on the stake of the app tho of course. i wouldn’t write cursor features without checking them. 😂

jason 💬's profile picture
jason 💬10 months ago

this is the future of dev work imo, crazy that $287 gets you a fully functional app without writing a single line of code yourself

Lee Robinson's profile picture
Lee Robinson10 months ago

And that's API pricing, this would be in the $200/mo Cursor plan!

Adrian | JavaScript Mastery's profile picture
Adrian | JavaScript Mastery10 months ago

What about time? How much total time did this take end-to-end?

Lee Robinson's profile picture
Lee Robinson10 months ago

About 5 days over the holidays. Have made a few tweaks since then. A good chunk of that time was away from the keyboard too, reading books to my daughter 😄

Aryo's profile picture
Aryo10 months ago

How did you create 520 agents?

rohit's profile picture
rohit10 months ago

extremely good aesthetics

Lee Robinson's profile picture
Lee Robinson10 months ago

🖤

rijndael's profile picture
rijndael10 months ago

Great read. Thanks!

Ray Fernando's profile picture
Ray Fernando10 months ago

Thank you for the really lengthy blog post. It is literally a masterclass in modern engineering. You're pioneering this and appreciate you talking about it publicly. My favorite part of the blog post is where you mentioned that someone who was really good at English might not get to the same results, and you specifically called upon your computer science background and the understanding of certain concepts. Not that you're writing the assembly by hand, but that you're able to guide an agent to do that for you. I had a similar epiphany when making a multiplayer soccer game, and I've never written a line of code in Rust and was really shocked at what I could do in 12 days

Jaydan Urwin's profile picture
Jaydan Urwin10 months ago

couldn't you have used as a reference repo and saved a lot of tokens and time?

Lee Robinson's profile picture
Lee Robinson10 months ago

Check out the benchmarks and codebase comparisons! Squoosh with your png/jpeg codec of choice was still a much larger binary. Happy to be proven wrong 😁 But as mentioned in the post, I don’t expect that people will adopt pixo.

kanav's profile picture
kanav10 months ago

had a similar experience while building why trust shady websites when you can spin up your own version in a couple hours

Ibro's profile picture
Ibro10 months ago

Had a very similar experience with - live annotation tool for Linux (on wayland). Was quite fun, but then I kept adding user-requested features, and some of my own. Totally fun :)

Lee Robinson's profile picture
Lee Robinson10 months ago

@ibrahimsuta Very cool idea!

Carlos M. González's profile picture
Carlos M. González10 months ago

the result looks good but 520 agents and 350M tokens ($287) seem expensive for that app yeah, hiring a dev would cost more, but as a developer, $287 is still a lot

Lee Robinson's profile picture
Lee Robinson10 months ago

$200/mo plan for almost 40,000 lines of high quality code is insane value. This is alien technology 😄

Michael Grinich's profile picture
Michael Grinich10 months ago

epic

salt's profile picture
salt10 months ago

damn it, i want to work at cursor now

Francis's profile picture
Francis10 months ago

Pretty cool

Markus Tripp's profile picture
Markus Tripp10 months ago

I use Composer 1 as my default model, and I‘m pretty happy for most of my tasks. Why did you prefer Codex and Opus for your development? Did you use it primarily for long running agentic tasks?

Lee Robinson's profile picture
Lee Robinson10 months ago

Yeah, everything here was long running. I did use Composer when making some of the design updates on the web app.

defido's profile picture
defido10 months ago

Oh man next years gonna be so fun and the year after that and the year after that

spectrapulse's profile picture
spectrapulse10 months ago

bro really bypassed my gen ai muted terms with "coding agents"

Camilo Aguilar's profile picture
Camilo Aguilar10 months ago

same, I’m writing a hypervisor type 2 like firecracker in Go without CGO, and with support also for MacOS VZ. I’m almost done and it has been probably 3 weeks since I started.

Lee Robinson's profile picture
Lee Robinson10 months ago

Awesome idea

Joshua Levy's profile picture
Joshua Levy10 months ago

Nice work! Just want to echo the exact same experience in a different full stack app. It is so incredibly fun that you can build so much without writing *any* of the code. Only thing I’d emphasize is for certain things you benefit a lot from tons of specs. A few more takeaways and my prompts are here:

Pronsh's profile picture
Pronsh10 months ago

This. Is. Amazing. You don't understand how epic this is

Brian Chew's profile picture
Brian Chew10 months ago

crazy

shivang.'s profile picture
shivang.10 months ago

Wow, you vibe-coded a perfect web app in rust. That's really impressive.

Yxory's profile picture
Yxory10 months ago

didn’t write any code by hand👇🏼 check it out ❤️

Mohammad Albarham's profile picture
Mohammad Albarham10 months ago

Super nice, I completely agree that these models opening a new era for products :)

Timothy Okooboh's profile picture
Timothy Okooboh10 months ago

Great stuff!

Nordlaing's profile picture
Nordlaing10 months ago

Hmm how much of the generated code is just squoosh?

Lee Robinson's profile picture
Lee Robinson10 months ago

The better question is: how much of the generated code is similar to the *codecs* that sqooush can choose from? e.g. mozjpeg. Could be interesting to compare, although mozjpeg is C/Assembly and this is Rust. That codec has 30 years of bug fixes/improvements/perf optimizations!

Aymeric Rabot's profile picture
Aymeric Rabot10 months ago

I’ve been taking the challenge to do that using only using a phone while on vacation. Building a book reader app with cursor agents, v0, and chrome browser on iOS

yk's profile picture
yk9 months ago

this is awesome

César Couto's profile picture
César Couto10 months ago

Love the UI!

Lee Robinson's profile picture
Lee Robinson10 months ago

Thank you! Fun fact, this was the first version of the UI the model generated. It technically works but it's boring and crowded. Having good taste matters 😄

César Couto's profile picture
César Couto10 months ago

Yeah, I saw. I mean, that's the difference between using it and just skipping it, the final UI looks so polished and really feels like something you want to use. It's a night-and-day difference and feels so pleasant.

something hot and spicy and yummy's profile picture
something hot and spicy and yummy10 months ago

all the tools i love are used in this

Lee Robinson's profile picture
Lee Robinson10 months ago

Rust is a lot of fun, big fan

Armando⚡️'s profile picture
Armando⚡️10 months ago

I did a similar test but with rust, the language is not a barrier anymore, I have even prompted phyton scripts, love opus 4.5 inside cursor so much

Related Videos