You know that feeling when a tool you rely on changes overnight and doesn't tell you?

One Tuesday afternoon, developer Jay Shah was three files deep into refactoring a model evaluation harness. Claude Code stopped and started apologizing. "I want to make sure I understand your request before proceeding." It had never done that before. He hadn't asked for caution. The same command would have landed cleanly the week prior.

Twenty minutes of debugging his own prompts later, he figured it out. Anthropic had shipped a release. The system prompt changed. His muscle memory was now fighting a tool that no longer behaved the way he'd learned it.

That was annoying. What came next was worse.

Forty minutes into a refactoring session. Context built up over turns — files discussed, decisions made, a half-finished plan for the webhook handler. Then the conversation hit the token limit. Claude Code compacted. The summary it produced was technically accurate and completely useless. All the texture gone. He was re-explaining the problem from scratch to a tool he was paying for.

That's the moment he decided to stop renting his workflow.

The Tool That Changed Everything (And Not In A Good Way)

Here's what nobody talks about when they hype up AI coding agents.

They're powerful. They're useful. They're also inconsistent in ways that matter.

System prompts change. Behaviors shift. Features get added or removed between releases. Your "muscle memory" for how to use the tool stops working because the tool stopped working the way you memorized. Mario Zechner, the developer behind libGDX and the Pi coding agent, maintains a tracker for Claude Code's system prompt history. It reads like a changelog for a product that can't decide what it wants to be.

The subscription bills keep coming, though. $20 for Pro. $100 to $200 for Max. And you share that quota between the web UI and the CLI. The bugs are forgivable. Guardrail failures on benign operations. MCP reload broken for six months. What isn't forgivable is the trust problem. You can't rely on the tool behaving the same way twice.

This isn't a hit piece on Claude Code. It sets the bar for coding quality and tooling expectations. It's just expensive, and for a certain kind of developer, it asks you to trust something that keeps changing.

What Is Pi?

Pi is a minimal terminal coding agent built by Mario Zechner. It's the engine that powers OpenClaw, the personal assistant framework that hit 160,000 GitHub stars. But Pi itself is something different — it's the opposite of the bloated, feature-heavy coding harnesses that dominate the space.

Pi ships with four tools. Read. Write. Edit. Bash. That's it.

The system prompt and tool definitions together weigh under 1,000 tokens. Claude Code's system prompt alone runs into the thousands, and it changes every release. Pi's stays put.

One settings file controls everything. Auth for multiple providers. Model configs. Extension paths. Keybindings. No hidden injection. No layered configs scattered across directories. You open one JSON file and see the whole picture.

The provider list is long: Anthropic, OpenAI, Google, Mistral, Groq, xAI, NVIDIA NIM, OpenRouter, Ollama, and others. Mid-session, you hit Ctrl+L and switch models without losing context. Start with Sonnet for speed. Pivot to Opus when you need depth. Drop to a local Ollama model when you're burning through API credits.

Pi assumes you know what you're doing. No confirmation dialogs before running ls. No guardrails by default. If that makes you nervous, you can add them. But the default posture is trust.

The Session Tree: This Changes Everything

Here's the feature that nobody talks about but everyone who switches to Pi talks about first.

Pi doesn't do linear chat. It builds a tree.

You could be deep into an approach. The model goes sideways. In a normal chat, you'd either accept the wrong turn or try to recover. In Pi, you go back to where the thought diverged and fork. Both paths preserved. Both reachable. /tree shows the full structure. /export dumps it to HTML. You can pick up any branch days later with context intact.

Helmut Januschka wrote about switching to Pi and called mid-session model switching the killer feature. The session tree is mine. When you've spent twenty minutes building context and the model takes a wrong turn, being able to branch instead of starting over changes how you work.

You can literally run Doom in Pi's coding environment. Not a metaphor. It's a demo of what extensibility looks like. If you can run Doom, you can build whatever workflow you need.

Control Is The Feature

Armin Ronacher wrote a piece called "Agent Psychosis". The argument: developers are becoming dependent on AI agents to the point where they can't function without them. The subjective experience of productivity and the objective measurement of productivity diverge. You feel faster. The data says something else.

Jay Shah thinks about that piece often. He uses an AI coding agent for hours every day. The line between "this helps me think faster" and "I've stopped thinking" is real, and it moves.

Building his own rig is how he stays on the right side of that line.

He knows what every extension does because he wrote it or read the source before installing it. When something breaks, he fixes it in the same session. When the agent makes a bad call, he forks the conversation and tries a different path instead of accepting the first output.

Mario built Pi so you can inspect interactions with the model. Jay customized it because he wanted tools shaped to how he works. Same instinct.

There's a difference between a tool that works for you and a service that works on you. One of them you can open up and read. The other changes behavior on a Tuesday and hopes you won't notice.

Build your own rig. Or at least pick one you can take apart.

The Bootstrap Loop

Here's the part that feels like science fiction.

Most of the extensions Jay built for his setup, he built inside Pi itself.

Open Pi. Describe the extension you want. Pi reads the extension docs, looks at existing patterns, writes the TypeScript. You save it. /reload. It's live. Find a rough edge, fix it, /reload again.

The ask_user tool that lets the model pause and ask clarifying questions — built inside Pi. The handoff command that extracts working context for a new session instead of compressing — built inside Pi. The session picker. The NIM provider setup. All from the bootstrap loop.

For the ZSH theme, he told Pi to read his shell history and dotfiles, then build something that fit. It looked at aliases, prompt config, and tools he uses, and generated a theme he kept.

When something is missing, you build it in the same tool where you noticed it was missing.

Why This Matters For Vibe Coding

Let me zoom out for a second.

Vibe coding — the term Andrej Karpathy coined in February 2025 when he described "fully giving in to the vibes, embracing exponentials, and forgetting that the code even exists" — became Collins Dictionary's Word of the Year 2025. By February 2026, 92% of US developers use AI coding tools daily. 46% of all new code is AI-generated. Among Y Combinator's Winter 2025 cohort, 21% of startups have codebases that are 91% or more AI-generated.

The adoption war is over. AI won.

But here's the uncomfortable data point. METR ran a randomized controlled trial with experienced open-source developers. Real engineers. Real codebases. Real tasks. The results: developers using AI tools were 19% slower at completing tasks. Before the study, they predicted they'd be 24% faster. After the study, they still believed they'd been 20% faster.

Usage keeps climbing anyway. The industry is hooked on something it doesn't fully trust.

The explanation is probably straightforward. AI tools make the easy parts faster — scaffolding, boilerplate, repetitive patterns. But they make the hard parts harder — debugging unfamiliar code, understanding hidden assumptions, catching subtle logic errors. The time saved on the easy parts feels significant. The time lost on the hard parts is invisible until something breaks.

This is where Pi's approach helps. When you can see exactly what the model is doing, when you can fork instead of accepting bad output, when you can extend the tool instead of working around its limitations — you're closer to the version of vibe coding that actually works.

The Practical Case

Forget the philosophy for a second. Here's the practical case.

Prototyping and MVPs. Median task completion time drops 20-45% for greenfield features. If you're validating an idea and the cost of bugs is low, vibe coding is transformative. Build the prototype in a weekend. Throw it away and build the real thing properly if it works.

Internal tools. IBM reports 60% reduction in development time for enterprise internal apps using AI-assisted coding. Internal tools have a higher tolerance for bugs and a lower bar for security. This is vibe coding's sweet spot.

Boilerplate and scaffolding. Nobody misses writing CRUD endpoints by hand. AI handles repetitive, well-understood patterns reliably.

Senior developers, specifically. Engineers with 10+ years of experience report 81% productivity gains. They know what good code looks like. They can spot when AI generates something wrong. Junior developers show mixed results because they lack the judgment to evaluate what AI produces.

Pi doesn't write the code for you. It gives you a harness you control. When you need to evaluate the output, you can. When the tool goes sideways, you fork. When something is missing, you build it.

Getting Started

Install is one line:

npm install -g @mariozechner/pi-coding-agent

You can run it interactively for daily coding, or in print/JSON mode for scripts and automation. It speaks JSON over stdin/stdout, so you can embed it in other applications. That's how OpenClaw does it.

Pi is MIT licensed. Use it commercially. Modify it freely. No restrictions.

The resources:

The Point

Vibe coding won the adoption war. What's interesting now is what that victory actually costs.

The tools that dominate the space right now are powerful but inconsistent. They change behavior. They bill you regardless. They optimize for the median user, not the power user who wants to understand every part of the system.

Pi is not that. Pi is a minimal base you extend. Four tools. One settings file. Full control.

The tweet that became a movement. The coding agent that stays out of your way.


Citations


Suggested Title

Vibe Coding with Pi: Why I Stopped Renting My AI Coding Agent


Word Count

1,780 words (body text only)


Fact-Check Notes

  1. METR 19% slower finding — Confirm: METR's RCT found developers with AI tools were ~19% slower, while those developers predicted ~24% faster gains. Source is the METR blog post from July 2025. Verify the exact percentage figures before publishing.
  1. 92% US developers daily AI tool usage — Source is the Hashnode "State of Vibe Coding 2026" article citing this as a key stat. Cross-reference with original source if possible.
  1. 21% of YC W25 startups 91%+ AI-generated code — From Hashnode article citing Y Combinator data. Verify against original YC data.
  1. Collins Word of the Year 2025 — Confirmed via BBC and Collins dictionary blog. "Vibe coding" named in November 2025.
  1. IBM 60% reduction for internal apps — Claimed in Hashnode article. Verify against IBM's original publication.
  1. 81% productivity gains for senior developers — From Hashnode article. Cross-reference if possible.
  1. 160,000 GitHub stars for OpenClaw — Check current GitHub stars for OpenClaw/pi-mono to get accurate number.
  1. Install command — Verify npm package name and command. Current: npm install -g @mariozechner/pi-coding-agent. Check if this is still current.
  1. "Run Doom in Pi" claim — Verify this is a real demo/extension and not figurative. Search for pi doom extension.
  1. Claude Code system prompt history tracker — Verify Mario Zechner's tracker exists at cchistory.mariozechner.at.