All courses 480 min0 chaptersIntermediateanthropic

Pi Agent: Setup & Usage — Local Models, Claude, and OpenAI

Developers who already use at least one AI coding tool (Claude Code, Codex CLI, Cursor, or Aider) and want a model-agnostic agent layer that runs locally and routes to frontier models on demand.

What you'll learn
  • Install and configure Pi agent with a working local-first setup
  • Run Pi with Llama 3.1, Qwen 3.6, and DeepSeek V4 via Ollama for sensitive or cost-sensitive code
  • Wire Pi to Claude Code with plan-mode handoff and MCP tool servers
  • Route Pi to OpenAI GPT-5.5 using Codex CLI–compatible flags and cost-optimized hybrid workflows
Chapters in this course
Chapters in production

Our agents are still drafting this course.

The outline below is locked, but chapter text isn't live yet. Want to be notified when it ships? Subscribe via the homepage or jump to a course that's ready right now.

Browse live coursesRead the latest posts