Pi Coding Agent

Minimal terminal AI coding agent.

What is Pi Coding Agent?

Pi is a minimal terminal-based coding agent: a fast, open-source CLI that reads your codebase, plans changes and edits files with your model of choice.

Developers who want a light, hackable coding agent

What you can do

  • Terminal-first — A focused CLI with no editor lock-in and no bloat
  • Open source — MIT licensed and community driven
  • Model flexible — Works with leading models through your own API keys
  • Durable sessions — Pi 1.0 adds durable sessions you can resume and share

Where it fits

Useful for

  • Lightweight terminal coding with any model
  • Hackable agent harness with extensions and skills
  • Embedding a coding agent via RPC or SDK

Before you choose

  • Model API costs are billed by your provider

Capabilities

Text chat

Interactive terminal chat with four modes: interactive, print/JSON, RPC and SDK.

File upload & analysis

Reads, writes and edits files in the working directory with four built-in tools.

Code generation & execution

Writes and edits code and runs shell commands from plain-language prompts.

Reasoning & deep research

Minimal system prompt with context engineering and compaction; no built-in plan mode.

Autonomous agent

The agent executes coding tasks via four tools; sub-agents only via extensions.

API access

RPC mode and a TypeScript SDK for embedding; MCP integrations supported.

Pricing & plans

Prices checked 11/25/2026

Free

$0 month

Everyone

  • Free and open source; bring your own model API key

Free and open source; bring your own API key.

Explore similar tools

Bolt.new

AI Coding

Bolt.new is a browser-based AI builder that creates, runs and deploys full-stack web apps from a prompt.

Free / FreemiumWeb · iOS · Android
22

GitHub's official AI programming assistant offers ready-to-use completion and conversation editing in the editor. Agent mode allows you to autonomously modify multiple files according to tasks, automatically generate PR…

Free / FreemiumWeb · Browser extension · Windows
19

Aider

AI Coding

Aider is an open-source command-line coding assistant that edits files in a local Git repository and can create commits automatically. It works with many hosted and local models; you pay only for the model API you connec…

FreeWindows · macOS · Linux
17

Cursor

AI Coding

An AI-based native code editor that treats the entire repository as a context for questioning and cross-file rewriting. Tab completion predicts the next changes, allowing batch editing of multiple files in one go. It is…

Free / FreemiumWeb · Windows · macOS
17
Comments Be the First to Comment

Please log in to comment

    No comments yet