Hacker News new | ask | show | jobs
by slopinthebag 3 days ago
pi is 100k loc in it's core? i thought it was supposed to be minimal?

> Pi is a minimal agent harness.

it lacks basic features like subagents which people have fit into harnesses which are an order of magnitude smaller, so I'm not sure what they're doing over there...

4 comments

Pi's model has always been "build your own harness" without building the core agent loop, which is why it's missing features like subagents and MCP (until very recently, they just added MCP). OpenClaw is built on top of Pi's core, and became the thing it is today because the core was so small so they could just build the giant automated agent framework they built and not have to build a core agent coding system.
I'd be curious about this too, 100k loc for a minimal harness seems crazy.
They are vibecoding.
what harnesses are these?
Here's an example, this is my own personal harness. The core part is smaller than that, but the whole project in sum is bigger than 100k -- does have full subagents with workflow graphs though.

https://github.com/devoidfury/hotdog