Hacker News new | ask | show | jobs
by autocracy101 80 days ago
Author here. I built this in a few hours after the Claude Code leak.

I've been working on my own coding agent setup for a while. I mostly use pi [0] because it's minimal and easy to extend. When the leak happened, I wanted to study how Anthropic structured things: the tool system, how the agent loop flows, A 500K line codebase is a lot to navigate, so I mapped it visually to give myself a quick reference I could come back to while adapting ideas into my own harness and workflow.

I'm actively updating the site based on feedback from this thread. If anything looks off, or you find something I missed, lmk.

[0] https://pi.dev/

10 comments

How about releasing your own source code? It is a beautiful site, love the UX as well as functionality.
It screams vibe coding. This is the anthropic look. Just ask Claude and give it a screenshot.
Vibe coding is also why this was released hours after leak instead of days/weeks.
Of course I expect it is vibe coding. It would be insane to code anything by hand these days. But that doesn't mean there is no creative input by the author here.
>> It would be insane to code anything by hand these days.

I strongly disagree, but it made me chuckle a bit, thinking about labeling software as "handmade" or marketing software house as "artisanal".

There's a lot of errors you can miss by coding by hand, even as a seasoned developer. Try taking Claude Code, point it at your repo, and ask it to find bugs. I bet it will.

Claude is actually a crazy good vuln researcher. If you use it that way, your code might just be more secure than written purely by hand.

Sure, just like drug-sniffing dogs. Whether they've actually found something or are just pleasing the operator is another story.
Depends on what you’re building and whether it’s recreational or not. Complex architecture vs a ui analysis tool, for example. For a ui analysis tool, the only reason you code by hand is for the joy of coding by hand. Even though you can drive a car or fly in a plane there are times to walk or ride a bike still.
Our organic artisanal code is written by free-range developers
"free-range" means fully remote, right?
Depending on your standards and what company is making it you could even have “cruelty free.”
You well on the path to AI-fueled psychosis if you genuinely believe this.
I genuinely believe this. Even if you're inventing a new algorithm it is better to describe the algorithm in English and have AI do the implementation.
At least it's more productive than AI Derangement Syndrome.
Yes, it is vibecoded, had to get it like in 10-15 minutes. I did not know how to write a piece of code 4-5 months back.
Must everything be artisanal for some people? </s>
As a cynical modern eng look for landing page skills
Guess what? People have ZERO reason to Open Source anything now.
One reason, beside basic altruism, is so you can put the projects on your resume. This is especially helpful if the project does very well or gets lots of stars.
This said Jeavon's Paradox will likely mean far more code is open sourced simply due to how much code will get written in total.
We should be applauding the promotion of science and useful arts that genAI is fueling.

But egos are involved.

Why would you think that?
I'm a committed open source dev and I've flipped my own switch from "default public" to "default private".
Because nobody wants their shit stolen by some punk.
This is nice, I really like the style/tone/cadence.

The only suggestion/nit I have is that you could add some kind of asterisk or hover helper to the part when you talk about 'Anthropic's message format', as it did make me want to come here and point out how it's ackchually OpenAI's format and is very common.

Only because I figure if this was my first time learning about all this stuff I think I'd appreciate a deep dive into the format or the v1 api as one of the optional next steps.

I’m using pi and cc locally in a docker container connected to a local llama.cpp so the whole agentic loop is 100% offline.

I had used pi and cc to analyze the unpacked cc to compare their design, architecture and implementation.

I guess your site was also coded with pi and it is very impressive. Wonderful if you can do a visualization for pi vs cc as well. My local models might not be powerful enough.

Thanks for the hard work!

what level of success are you getting with a 100% offline loop (and on what hardware if you dont mind sharing)?
wow, the pi version looks... better v. cc?
yeah true, its looks a bit cleaner and more readable
I thought that early coding assistants came to be written in some Java/TypeScript, because AI companies just had web-devs playing around and then made it a product even though the languages being such a misfit for terminal. Why did you decide for TypeScript?
Can you give me more info about your own agentic setup ?
Hi, Autocracy. I took your site and built Clyde: https://github.com/dev-divi/choice-agent-clyde
Could you share what your agent setup and harness looks like with PI with what you've learnt from the Claude leak.
Thank you for this brother, well done
This is actually a GREAT example of vibe-coding + skill.
Is there any nice themes for pi?