WhoBuilt

Building pi in a World of Slop

Apr 16, 2026· 18 min· 573K views·Watch on YouTube

Speaker

Mario Zechner, creator of Pi, explains at an AI Engineer talk how he built an adaptable coding agent, dealt with AI-generated noise in open-source projects, and argues for more deliberate use of coding agents.

Why Zechner built Pi

Zechner says Claude Code initially fit his workflow, but frequent changes, bugs, limited observability, and little control over context and model choice pushed him to explore alternatives. He found issues in other harnesses too, including OpenCode pruning tool outputs and injecting LSP errors after edits. Terminal-Bench’s minimal tmux-based harness performed strongly, leading him to build Pi around a small core that users and agents can extend.

A small, adaptable agent core

Pi provides provider abstractions, an agent loop, a custom TUI, and a coding agent with four tools: read, write, edit, and bash. Its TypeScript extensions can change tools, commands, events, providers, compaction, and session state, and can be hot-reloaded. Zechner’s point is that users can ask Pi to build workflow features such as sub-agents or MCP support, rather than expecting them to be built in.

Open source under agent-generated noise

After Pi became OpenClaw’s agent core, Zechner says his project received many low-quality issues and pull requests from automated agents. He describes closing trackers, asking contributors to write a short issue in their own voice, and letting through accounts he had vouched for. The measures helped somewhat, but he presents the situation as a serious strain on open-source maintainers.

Why teams should slow down

Zechner argues that agents can compound errors faster than people can review them, creating tangled abstractions, duplicated code, and complexity drawn from mediocre examples online. Detailed specs and review agents do not remove the problem, and teams that stop reading code may struggle to fix issues agents cannot understand across a large codebase. He recommends scoped tasks, modular systems, clear ways to evaluate results, and human review, especially for critical code.

Keep human judgment in the loop

Zechner suggests delegating non-critical, repetitive work and user-issue reproductions to agents, then evaluating and finalizing the output. He advises teams to limit how much generated code they need to review, read every line of critical code, and use agents to assist without handing over decisions. For him, the friction of writing important code helps people understand the system.

Takeaways

  • Keep agent tasks scoped so the model can access the needed context and you can judge the result.
  • Give agents bounded, non-critical work, then evaluate and finalize their output yourself.
  • Review every line of critical generated code; delegate assistance, not engineering judgment.
  • Use modular code and clear evaluation criteria to make agent work easier to assess.
  • Build only features that matter, and resist adding complexity just because an agent can produce it.

Mentioned in this talk

Search inside this talk

What was claimed 8

  • built
    “I built Pi in a world of slop”
    YouTube
    Verified4 sources· Talk, Web· archived
  • uses
    “In 2025, I started using Claude Code in about April”
    YouTube
    Unverified1 source· Talk
  • metric
    Terminus: Scored higher than the native harness for the model, mostly by a wide margin, on the December 2025 leaderboard
    Scored higher than the native harness for the model, mostly by a wide margin, on the December 2025 leaderboard
    “Terminus scores higher—mostly much higher—than the native harness for that model.”
    YouTube
    Unverified1 source· Talk
  • feature
    Pi: Extensible coding agent harness with a minimal core and TypeScript extensions
    “I stripped away all the things and built a minimal core, but made it super extensible”
    YouTube
    Unverified1 source· Talk
  • feature
    Pi: Four tools: read, write, edit, and bash
    “It comes with four tools. That's all it has: read, write, edit, and bash.”
    YouTube
    Unverified1 source· Talk
  • feature
    Pi: Extensions can hook into the harness, define tools and slash-command shortcuts, listen to events, save session state, and customize compaction and providers
    “That gives you an extension API that lets you hook into everything”
    YouTube
    Unverified1 source· Talk
  • metric
    Pi: Sixth place on the October leaderboard before compaction was added
    Sixth place on the October leaderboard before compaction was added
    “It scored sixth place.”
    YouTube
    Unverified1 source· Talk
  • integrates with
    OpenClaw integrates with Pi
    “He put Pi inside OpenClaw as its agent core”
    YouTube
    Unverified1 source· Talk

Related talks