3 ms·
I don't actually buy that tweet from Boris Cherny. When the Claude Code source leaked some months ago, there were many posts on Mastodon about how the revealed
by mwcampbell 14d ago
I don't actually buy that tweet from Boris Cherny. When the Claude Code source leaked some months ago, there were many posts on Mastodon about how the revealed code was a shit show, a big pile of hacks. I wish now that I had bookmarked some of those posts.
- simonw 14d agoHere's the one I saw most widely cited: https://neuromatch.social/@jonny/116324676116121930 https://neuromatch.social/@jonny/116324676116121930 I wasn't very impressed by that pile-on, personally. Has there ever been a rapidly evolving 1,000,000+ line codebase that suitably motivated critics couldn't pick a thousand holes in and conclude that the code was garbage? Claude Code is used by millions of people on a daily basis, has generated billions of dollars in revenue, and spits out new features on a weekly basis. Many of the complaints I saw - things like the absurdity of asking for JSON and then looping against a schema until it matches - are common patterns for building software against language models, which are weird components to need to tame.
- mwcampbell 14d agoI'm still inclined to question whether the agent harness needs to be a million lines, or even a hundred thousand lines, in the first place. I mean, isn't one supposed to just hook up tool calling and let the LLM's intelligence do the rest? At least, that's the way it appears from things like tptacek's post about writing an agent. https://fly.io/blog/everyone-write-an-agent/ https://fly.io/blog/everyone-write-an-agent/ Then again, I'm also sympathetic to the idea that the anti-AI backlash has also provoked an unreasonable backlash against development speed and scale themselves.
- seanmcdirmid 14d agoHarnesses are a lot of prompting and sandboxing also. Then you need to add goldfish reminders when it makes mistakes depending on model quality. It isn’t a lot of code, it definitely isn’t a lot of code that you can’t build with an agent.
- simonw 14d agoYeah, I'm with you on that one. It seems to be a recurring pattern though. The X.ai coding agent harness is 840,000+ lines of Rust - I dug into that here: https://simonwillison.net/2026/Jul/15/grok-build/ https://simonwillison.net/2026/Jul/15/grok-build/ Codex is 1.4m of Rust, and that's not including the extra code for the closed source desktop app. Meanwhile Pi is 265,000 lines of TypeScript (130,000 if you exclude tests), so even the agent with a reputation for being smaller is pretty huge.
- tptacek 12d agoTo be fair, I was mostly pointing out that you can get to the kernel of a useful agent very quickly and without much code, not making a claim that coding agents would or should generally be tight. Competitive coding agents in particular are tricky, in part because the two mainstream agents (Codex and Claude) are big RL targets and you generally want to be in their slipstream --- or so I'm told. On the other hand: I have basically zero interest in writing a coding agent (there are so many effective ones already), but I write lots of little agents, for instance in my music player, and those are as code artifacts pretty trivial.