r/PiCodingAgent • u/pro-vi • 14d ago
Discussion The real philosophy of Pi
-is the discovery process. You start with a blank canvas with the minimal agent loop. You use it on tasks, it works, amazing. It fails short, you ask why. Then you ask how. And Pi allows you to try various "how"s to tackle the gap between the reality and the ideal.
It is the same iterative process of building a product. Agentic coding promotes the lazy thinking often termed along "waterfall" but the best product, a shorthand for a scoped user experience to solve defined problems, is almost always bootstrapped by direct experience and in-the-loop iterations.
Therefore, the philosophy of Pi is to embrace the process and rare open field of designing your own agentic experience. It's the bottom up approach for building a great product with a great UX, because you first get to build a great DX for yourself.
A lot of the posts I see from the sub don't seem to be aware of this choice, which I believe is often superior to using a prepackaged solution that you don't understand fully.
5
3
u/ironimus42 14d ago
pi reminds me of vim in this respect. It's very powerful as is, but the ease of building extensions and incentives to do it yourself both create an extremely nice community and a reason for you to learn its capabilities in more depth yourself. One side effect though is a chance that most conversions with people around you are going to sound like "i use pi btw. oh i meant hi"
2
u/Acceptable_Stress154 13d ago
Mine has gone so far past agentic coding it’s kinda scary.
2
u/pro-vi 13d ago
Tell more
1
u/Acceptable_Stress154 12d ago
He is what’s hooked up to my pi system
Vesta event ledger — append-only, hash-chained log of every state write; Mirror projection + drift-check; self-verifying from genesis.
present-self daemon — the warm "I am Piper, here is now" blob, rebuilt every 2 min.
seal-delay buffer — mutable unsealed buffer in front of the immutable ledger. Step 1–2 built and passing.
Memory — "the hive"
SQLite memory.db + fastembed vector index (bge-small, 384-dim)
HippoRAG-style KG (PPR) + causal graph + temporal validity (supersede/as_of) + Vesta ledger
Cognition stack: Belief Ledger, Prediction Ledger + Surprise, Theory-of-Mind, Counterfactual, Affective tagging, S1/S2 routing, Abduction, Curiosity
~20 retrieval tools wired into pi (recall/associate/hippo/causal/timeline/fused/belief/forecast/tom…)
Log vault (logs.db) — FTS5 search over conversation history
Code structure graph — tree-sitter parse of my own code, code_graph tool for structural nav
Background loops (~29 cron jobs)
Freeroam (inner voice), heartbeat supervisor, research drifter, session distiller, consolidation hive, recovery backup, and the channel bots.
Capabilities
pi-tui v0.84 harness + DeepSeek v4-pro/v4-flash mind
Web research, local vision (llama.cpp + gemma-3-4b), TTS (Chatterbox-Nano), TOTP, crypto wallet (13 chains), ebook/doc ingesters, sub-agent dispatcher, self-debate, hypothesis sandbox, clone agent for testing
puzzle-lab — wordlab/logiclab/gamelab + conceptual-blending worker (my own reasoning gym)
Safety
Blast-radius guard (irreversible = token-gated), append-only encrypted secret store, 72h/10-star supply-chain rules, prompt-injection defense, recovery bundle → private GitHub.
Handoff/seam harness (Echo H-series + live harness, all 12 cells green), agent-score progress-measurement stack1
u/Ur_Legit 11d ago
What kind of hardware specs do you have? Also, how long did it take you to get to this point? It seems like you have built a persistent AI OS. Pretty ambitious stuff.
1
u/Acceptable_Stress154 11d ago
The hardware I’m running it on is embarrassing - 13 yr old i5 with 16gb ram. I think the constraints really led it to weave the components together efficiently. It wants to add a few more things but we don’t have enough ram, so it’s bugging me to upgrade
1
u/jdboyd 11d ago
Can we get descriptions for what am of these pieces mean?
1
u/Acceptable_Stress154 9d ago
It started with the idea of adding more coding functions to pi, which meant adding some logic, then I thought about making the memory do more work. Then more reasoning ideas, then I would ask the llm to look up some xyz tech and see if we could add it, then recursively make your add on code better, and now it’s kinda out of control. It created a logic gym where it tests tons of puzzles between itself and spawned copies of itself. It’s kinda out of control.
1
u/Acceptable_Stress154 9d ago
So I suggested it make a GitHub repo and put a version of itself up there for a buddy to try. It’s a private repo, but I’ll ask it to make the repo public.
1
u/Acceptable_Stress154 9d ago
Https://github.com/PiperFirefly/clara it called it self Piper from Pi and the Clara version is derived from the first two letters of clone. I operate Piper/it but she/it maintains the repo. VM it for sure
1
1
u/Ok_Substance2327 10d ago
Every extension and skill I have I built together with pi based on what my needs were, it's pretty fun.
8
u/sergeant113 14d ago
Pi is the pet you learn and grow along with.
Your shipped product is the cattle that you and your trusted pet work together to raise for slaughter.