- Website
- pi.dev
- GitHub
- 115.7k GitHub stars
About Pi
Pi is a minimal agent harness you tailor to your workflows. It helps developers, product teams, and operations build custom AI workflows, prompts, and interfaces with extensions, skills, and themes.

Key Features
In practice, Pi gives you a live workspace to rewind, branch, and share sessions while layering context and extensions:
Tree-structured, shareable sessions
Sessions are stored as trees; navigate via /tree; all branches live in a single file. Export to HTML with /export, or upload to a GitHub gist to share a renderable session URL.
Extensions, skills, and prompts
Customize Pi with extensions, skills, prompt templates, and themes; bundle as Pi packages and share via npm or git.
Multi-provider model management
Pi supports 15+ providers and hundreds of models; switch mid-session with /model or Ctrl+L; authenticate via API keys or OAuth; add custom providers via models.json or extensions.
Context control and compaction
Minimal system prompt and per-project SYSTEM.md; AGENTS.md loaded; compaction auto-summarizes older messages as you approach the context limit; dynamic context via extensions to inject messages or enable RAG.
Summary
Best for AI/ML engineers, product and platform teams building custom automation, and developer-focused operations pilots.
Alternatives to Pi
See all →Build, run and manage secure multi-agent systems in your cloud
AI Agents for your Business
Build a crew of AI Agents today, save countless hours forever
Multiplayer AI for human-agent collaboration
Agent-Native Software Development
The AI agent that grows with you