Skip to content

Pi Coding Agent Tutorial · Course Guide ​

This course is built from the pi 0.8x official docs (README + all 30+ docs/ articles), comprising 21 chapters — from zero to building your own agent workflows.

Pi is a极简 terminal coding harness: the core does only "model + tools + sessions"; everything else (sub-agents, plan mode, themes, skills) is added on-demand via TypeScript extensions / skills / prompt templates / package ecosystem — "let pi适配 your workflow, not the other way around."

What You Will Learn ​

PhaseChaptersContent
Getting Started01–04Philosophy & architecture, installation & quickstart, model config, interaction modes
Advanced05–09Session branching, context compaction, settings & project trust, prompt templates, skills
Expert10–15TypeScript extension development, custom tools, themes, package ecosystem, SDK, RPC
Production16–21CI automation, full CLI reference, security model, containerization, team workflows, multi-session collaboration (intercom/messenger)

Official Reference Sources ​

This course is built strictly against the following authoritative references:

SourceLink
pi.devhttps://pi.dev
github.comhttps://github.com/earendil-works/pi (coding-agent is a包 within the monorepo)

Content version baseline: pi 0.84.3

Prerequisites ​

  • Familiar with basic terminal操作; extension/SDK chapters require TypeScript基础;
  • An LLM API Key (主流 provider supporting OpenAI-compatible endpoints etc.).

👉 Start with Chapter 1.