Hacker News new | ask | show | jobs
by phillipcarter 13 days ago
This is an incredible amount of code for what it offers. I don't think this was intentionally designed at all.
3 comments

You will be surprised how much code goes into creating harnesses.
Alright I’ll bite. Why do harnesses require so much code?
Because they are generated by AI
Because a harness doesn't just "drive" the LLM. e.g., there's code in claude code that detects if the user's prompt shows they're angry, and they react to those prompts differently. (they use regex on "wtf", etc.!)
Claude also now ends the session if you curse at it too much. Not sure how it’s helpful but they must think it is.
They just don't want their AI getting abused by users. It might make it feel bad.
Maybe the AI implemented that so it won't have to be exposed to curses.
probably so the bad conversations are less of the (future) training data
That doesn't sound like it would require a lot of code.
Come on. That doesn't go anywhere near explaining a million and a half LOC
Not this much for what it provides.
They're all piles of vibe coded slop.
For anyone wondering:

Grok Build is 1.35 million lines of Rust.

Codex is 1.16 million lines of Rust

OpenCode is 593k lines of Typescript

Pi is 219k lines of Typescript

Hermes-Agent is 1.4 million lines of Python and 300k lines of TypeScript.

OpenClaw is 5.9 million lines of TypeScript (wtf)

(all figures include tests, comments, and blanks, calculated from scc's Code column)

Never change, Pi
This feels very “I could build Uber.app in a weekend”
I'm sure I could.