Pi

pi

pi is a minimal terminal coding harness. Adapt pi to your workflows, not the other way around.

Key Concepts

  • Extensions — TypeScript modules that add custom tools, commands, keybindings, event handlers, UI components
  • Skills — on-demand capability packages (Agent Skills standard), invoked via /skill:name
  • Prompt Templates — reusable markdown prompts, invoked via /name
  • Pi Packages — shareable collections of extensions, skills, prompts, themes via npm or git

Context Files

Pi loads AGENTS.md (or CLAUDE.md) at startup from:

  • ~/.pi/agent/AGENTS.md (global)
  • Parent directories (walking up from cwd)
  • Current directory

pi-telegram

pi-telegram (~/code/pi-telegram) is a Telegram DM bridge extension for pi. Allows interacting with pi sessions via Telegram.

pi-docs

pi-docs (~/pi-docs) is Kyle's personal wiki, maintained by agents following the LLM Wiki pattern. Files are symlinked to ~/.pi/agent/ so pi loads them at startup.

Related