Pi is an open-source terminal-based coding agent built by Mario Zner (creator of LibGDX) that prioritizes customizability over out-of-the-box polish. Unlike Claude Code's opinionated 10,000-token system prompt and fixed toolset, Pi ships with just four core tools (read, write, edit, bash) and a ~200-token system prompt. Key differentiators include: 25+ lifecycle hook points, a TypeScript extension system for building custom tools and sub-agent orchestration, a tree-based session architecture similar to Git branching, on-demand 'skills' for lean context management, and support for 15+ model providers. Pi lacks MCP support, built-in sub-agent features, and enterprise controls. It's best suited for mid-to-senior engineers who want full control over their agentic workflows, while Claude Code remains the recommended choice for teams and those wanting a polished default experience.

14m watch time

Sort: