# Pi

Pi is a minimal agent harness. Adapt Pi to your workflows, not the other way around.

- Canonical URL: https://meetnewai.com/products/pi.dev
- Official website: https://pi.dev
- Category: [AI Coding Assistants & Editors](https://meetnewai.com/categories/ai-coding)
- Pricing model: Free
- Estimated monthly visits: 1,929,244 (2026-10)
- Screenshot captured: 2026-11-28
- Record updated: 2026-11-28

## Overview

Pi is an extensible AI agent that works from your terminal. Give it a goal and a working folder, and it can inspect files, run commands, edit content, and work through multi-step tasks.

## Features

- **Customize Pi with extensions, skills, prompt templates, and themes.**: "Customize Pi with extensions, skills, prompt templates, and themes."
- **Four modes: interactive, print/JSON, RPC, and SDK.**: "Four modes: interactive, print/JSON, RPC, and SDK."
- **Sessions are stored as trees.**: "Sessions are stored as trees."
- **Export to HTML with /export, or upload to a GitHub gist with /share**: "Export to HTML with /export, or upload to a GitHub gist with /share"
- **MCP is built in**: "MCP is built in"
- **Switch models mid-session with /model or Ctrl+L.**: "Switch models mid-session with /model or Ctrl+L."
- **Compaction: Auto-summarizes older messages when approaching the context limit.**: "Compaction: Auto-summarizes older messages when approaching the context limit."
- **Skills: Capability packages with instructions and tools, loaded on-demand.**: "Skills: Capability packages with instructions and tools, loaded on-demand."
- **Prompt templates: Reusable prompts as Markdown files.**: "Prompt templates: Reusable prompts as Markdown files."
- **Bundle them as Pi packages and share via npm or git.**: "Bundle them as Pi packages and share via npm or git."

## Use cases

- software development
- research notes
- writing projects
- data files
- hobby work

## Integrations

Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, Cerebras, Hugging Face, OpenRouter, Ollama, OpenClaw

## Sources

- [Pi](https://pi.dev/) (home)
- [Package Catalog · Pi](https://pi.dev/packages) (pricing)
- [Model Catalog · Pi](https://pi.dev/models) (features)
- [Press Kit · Pi](https://pi.dev/press-kit) (features)
- [Changelog · Pi](https://pi.dev/changelog) (changelog)
- [Pi Documentation](https://docs.pi.dev/latest) (docs)

## Related alternatives

- [opencode](https://meetnewai.com/products/opencode) — OpenCode is an open source coding agent. Use it in the desktop app, in the terminal, on your phone or from your own code with the SDK.
- [Command Code](https://meetnewai.com/products/commandcode.ai) — Command Code is the best coding agent for open models. It builds software, repairs tool calls on every model, and continuously learns your coding taste.
- [Freebuff](https://meetnewai.com/products/freebuff.com) — Code, build and deploy apps, and chat with AI for free. Work in your browser, desktop or terminal with Freebuff.
- [Cursor](https://meetnewai.com/products/cursor) — Accelerate development by handing off tasks to Cursor, while you focus on making decisions.
- [Qoder](https://meetnewai.com/products/qoder.com) — Qoder is a next-generation AI programming platform that offers intelligent code completion, AI conversational programming, and automatic code generation.
- [Kiro](https://meetnewai.com/products/kiro) — Kiro is an agentic development environment that makes it easy for developers to ship real engineering work with the help of AI agents.
