Pi Coding Agent: The only Agent That's Truly YOURS

Pi Coding Agent: The only Agent That's Truly YOURS

Igor Kudryk · ~19 min · Deep Dive Document
Video thumbnail — Pi Coding Agent: The only Agent That's Truly YOURS
⏱ ~19 min 🎤 Igor Kudryk 🏷 Pi Agent · Coding Agents · Extensions · Customization · Open Source

1 The Case for Independence

▶ 0:00

Igor opens with a bold claim: Pi Agent is the only AI coding agent capable of replacing Claude Code, Codex, and every other agent you've been using — and it represents the first step toward complete independence from those companies.

The core problem he identifies is that existing tools don't adapt to you. Instead, you adapt to them. Claude Code, Codex, and similar agents are shaped by Anthropic and OpenAI — you're locked into their opinionated workflows, their prompt engineering, their UI decisions. Pi Agent flips this: it's designed so you can create an agent that is truly yours, working exactly the way you want.

"None of those tools are actually adapting to the way you use them — you adapt to the way those tools are shaped by companies like Anthropic or OpenAI."

2 How Pi Agent Works Under the Hood

▶ 1:00

Igor read the source code to prepare this video and explains that from an agentic harness perspective, Pi Agent is structurally simple — and deliberately so. The core loop works like every other agent:

  1. Construct the system prompt — the base instructions for the model
  2. Append your message with skills, extensions, and context files (like AGENTS.md or CLAUDE.md)
  3. Append conversation history and send everything to an LLM
  4. Process the response — call tools if needed, loop until done

What makes Pi Agent special isn't the agentic loop itself — it's everything around it: the customization surface, the extension system, and the philosophy of minimal defaults.

3 The Minimal System Prompt Philosophy

▶ 2:17

Igor highlights a presentation slide from Pi Agent creator Mario showing the system prompt, and it's remarkably tiny. The entire built-in prompt essentially says: you can read files, use bash, edit files, and write/create files. Plus a small set of guidelines. That's it — "You're a coding assistant."

This is intentional by design. Other agents, especially Claude Code, pack massive amounts of instructions into their system prompts. This creates two problems:

  • Interference — the bloated system prompt shapes model behavior in ways that may conflict with how you want to work
  • Opacity — with closed-source agents like Claude Code or Codex, you can't even see what instructions are in the system prompt, let alone change them
"Claude Code especially — they put so much into their system prompt that it interferes with the way you maybe want to shape it. And with closed source, you can't even access what's inside."

4 A Distraction-Free Interface

▶ 3:52

Igor shows his personal Pi Agent setup, and it's strikingly minimal: just black, white, and gray. No colors, no animations, no mascots. He argues this is a deliberate choice against the "slot machine" design of modern coding agents.

His critique of flashy UIs is pointed: the spinning animations, colorful output, and visual flourishes in tools like Claude Code create a dopamine-driven experience that distracts from actual productive work. He compares it to a slot machine — you watch colors spin, see something "shipping," and feel like you're accomplishing something, but you're really just watching.

  • Claude Code comparison — Igor opens Claude Code side-by-side and points out the spinning Honcho plugin, the cute mascot, the abundance of visual elements. His verdict: "All of this is distracting for me. I don't need any of that."
  • Pi Agent's approach — stripped down to essentials. The only visual elements he keeps are the model name, the provider, and a context window monitor.
"So many people are getting really addicted to those agents because it looks like a slot machine — you have all the colors running around, something is moving, and you're like 'Wow.' All of this is distracting you."

5 Transparency & Context Window Monitoring

▶ 6:04

What Igor does want from his agent UI is transparency. He values being able to read the model's reasoning, see what files are being modified, and monitor the context window size. His Pi Agent setup includes:

  • Model reasoning display — full visibility into what the model is thinking
  • File modification tracking — clear indication of what's being changed
  • Context window counter — always visible so he can monitor token usage
  • To-do list panel — a custom extension that shows his current task list at all times

The key insight is that all of these are custom extensions he built himself. Pi Agent didn't ship with a to-do list or a context window monitor — Igor added them because that's how he works. Someone else might want entirely different panels.

6 YOLO Mode — No Guardrails by Default

▶ 7:00

Pi Agent ships with YOLO mode enabled by default — meaning no confirmation prompts before file modifications, tool calls, or bash commands. Igor is emphatic that this is the correct approach.

His frustration with Claude Code's permission system is palpable. He describes running five agent instances simultaneously and having to constantly switch between them just to click "Enter" on confirmation dialogs. One particularly painful example: giving Claude Code a difficult task and then spending the entire session returning every five minutes to approve the next step.

  • The confirmation anti-pattern — "Are you sure you want to modify this file? Are you sure you want to do this?" Igor argues you're not actually reviewing anything — you're just clicking Enter reflexively
  • The trade-off — YOLO mode means you need to understand what your agent is doing and monitor it, but in most cases agents don't catastrophically mess things up
  • Multi-instance workflow — when running multiple agents in parallel, confirmation prompts become a bottleneck that kills productivity
"I was literally sitting there and every five minutes I would go back, click on enter, then go back to doing something else. This is just dumb. This is not the way we want to work with agents."

7 No MCPs — Intentional Minimalism

▶ 8:38

Pi Agent deliberately does not include MCP (Model Context Protocol) support built-in, and Igor agrees with this decision. His position on MCPs has been consistent across his videos: they consume too much context, and most don't provide enough value to justify the cost.

His reasoning is forward-looking: as models gain larger context windows (1 million, 2 million, 5 million tokens), the need for MCPs will diminish. The model will simply be able to ingest more context directly rather than needing specialized protocols to bridge information gaps.

Pi Agent takes this further by shipping with only four default tools:

  • bash — execute shell commands
  • read — read file contents
  • edit — modify existing files
  • write — create new files

Everything else — sub-agents, MCPs, planning modes, to-do lists — is available via the extension system if you want it.

8 Extensions — The Power of Lifecycle Hooks

▶ 9:34

The extension system is what Igor calls Pi Agent's most powerful feature. Extensions are TypeScript modules that hook into Pi Agent's lifecycle events. Whenever something happens in the agent — a session starts, a tool is called, a message is sent — Pi Agent dispatches an event, and your extensions can subscribe to it.

Lifecycle Events

The event system covers the entire agent lifecycle:

  • Session start — fired when a session is started, loaded, or reloaded. Use this to inject external context (e.g., from a memory system like Honcho)
  • Tool call — fired whenever a tool is invoked. Use this for custom logging, auditing, or intercepting specific tool calls
  • Message events — fired on user input and agent response, enabling custom UI elements or notification systems

Extension Capabilities

Extensions can do four things:

  • Subscribe to events — react to lifecycle hooks
  • Register tools — add new tools for the agent to use
  • Add commands — create slash-commands for the user (like Igor's /clear command)
  • Interact with TUI — modify the terminal UI with custom panels and displays

Igor gives a concrete example: he built a /clear command that clears the terminal screen without resetting the conversation (unlike /new which starts a fresh session). This is a small but telling example — it's a workflow preference that no pre-built agent would include, but Igor finds it essential.

"All of this customization is absolutely impossible to do with Claude Code. It's not designed to be customizable in this way. And that's why Pi Agent is so powerful."

Igor also notes that Open Claude — the most viral open-source project in the AI agent space — was built with Pi Agent, precisely because of this extensibility.

9 Skills & Extension Marketplace

▶ 13:42

The raw Pi Agent installation is intentionally bare-bones. If you want features like sub-agents, MCPs, planning modes, or anything beyond the four default tools, you install them from the agentskills.io marketplace.

The marketplace hosts community-created extensions, skills, and themes. You can filter by most downloads and browse categories to find what you need. Igor demonstrates browsing the marketplace and shows how installing sub-agents is a simple one-line install — but crucially, it's optional.

Intentional Feature Gaps

The Pi Agent documentation explicitly lists what it does not include by default, and Igor walks through each:

  • No MCPs — Igor approves ✅
  • No sub-agents — Igor approves ✅ (he prefers spinning up separate terminal windows)
  • No permissions system — part of the YOLO philosophy
  • No plan mode — build your own if you need it
  • No built-in to-dos — Igor disapproves ❌ (he uses to-dos heavily and built his own extension for them)
"Not everyone needs sub-agents. If you have Claude Code or Codex, you're screwed because it already comes with prepackaged sub-agents. You cannot modify this."

Igor's Sub-Agent Workflow

Instead of using programmatic sub-agents, Igor simply opens multiple terminal windows, each running its own Pi Agent instance. His reasoning: it's simpler, more transparent, and gives him direct control over each agent's context and tasks. The Pi Agent's lightweight footprint makes this practical — each instance is just a terminal process.

10 Live Demo — The "Dreaming" Feature

▶ 16:00

Throughout the video, Igor runs a live demo where he tasks his Pi Agent with building a "dreaming" feature — a system that reviews past sessions and extracts unfinished to-do items. The agent works on this in the background while Igor explains other concepts.

When he returns to check on the agent's work, the results demonstrate several key points:

  • The agent wrote its own extension — creating a to-do dreaming system as a Pi Agent extension, completely transparent in the terminal
  • Session review capability — the agent was able to go through previous chat sessions and identify tasks that were mentioned but never completed
  • To-do list integration — the dreaming feature connects to Igor's custom to-do extension, automatically populating items from past conversations
  • Self-modifying workflow — the agent is building features for itself, demonstrating the recursive customization that Pi Agent enables

Igor discovers that some of the dreaming tasks were already completed in previous sessions — showing the agent's ability to surface work that was done but not formally tracked.

🎯 Key Takeaways

🔑 Key Takeaways

  • Pi Agent is a philosophy, not just a tool — the core value proposition is that your coding agent should adapt to you, not the other way around
  • Minimal system prompt by design — unlike Claude Code's massive, opaque prompt, Pi Agent starts with near-zero instructions so you can shape the model's behavior yourself
  • Only four default tools — bash, read, edit, write. Everything else is opt-in via extensions, keeping context usage lean
  • YOLO mode is the default — no confirmation dialogs, no permission prompts. This is the right way to work with agents if you're monitoring them properly
  • No MCPs by default — MCPs consume context and will become less necessary as model context windows expand to millions of tokens
  • Extensions are the killer feature — TypeScript modules that hook into lifecycle events let you build any workflow you can imagine
  • The agent UI matters — flashy, colorful interfaces create dopamine-driven distractions. A minimal, transparent UI keeps you focused on productive work
  • Sub-agents are optional — if you don't need them, don't install them. If you do, a simple extension install adds them
  • Open Claude was built with Pi Agent — the most viral open-source agent project validates Pi Agent's extensibility
  • Build your own features — to-do lists, context monitors, custom commands — Pi Agent expects you to build what you need, including tasking the agent itself to write its own extensions

🔗 Resources & Links

Timestamp Index

▶ 0:00 Introduction — the case for agent independence
▶ 1:00 How Pi Agent works under the hood
▶ 2:17 The minimal system prompt philosophy
▶ 3:52 Distraction-free interface — black, white, gray
▶ 5:40 Comparing Claude Code's UI to Pi Agent
▶ 6:04 Transparency — reasoning, file tracking, context monitor
▶ 7:00 YOLO mode — no guardrails by default
▶ 8:38 No MCPs — intentional minimalism
▶ 9:34 Extensions and lifecycle hooks explained
▶ 12:00 Open Claude — built with Pi Agent
▶ 13:42 Skills marketplace and intentional feature gaps
▶ 16:00 Live demo — dreaming feature and to-do integration
▶ 17:58 Learn to build your own agent — learnagents.dev