Learn pi by doing.
An exercise-driven course teaching pi and AI agents.
No videos: you build, a script verifies.
How it works
Clone the repo. Each exercise is a folder with a task (README.md) and an
automated check (check.sh). Do the task on your machine, then run:
./run.sh 01 — pass = exit 0.Lessons
- Exercise 01 — Your First pi Skill
Create a working pi skill called `greet` in your machine-wide skills folder:
- Exercise 02 — Fix a Bloated AGENTS.md
Copy `bloated.md` (in this folder) into a scratch file, then rewrite it to:
- Exercise 03 — Wire Up a Tool the Agent Can Actually Call
1. Pick a service you use (GitHub, Slack, a calendar — anything with an API) 2. Configure it as an MCP server or CLI for pi, so that in a ne
- Exercise 04 — Find and Fix an Agent Mistake
In `suspect.ts` (in this folder), an AI "helpfully" changed a function. Find the bug without running it, then fix it in place.