Get in Touch

Course Outline

Introduction to Pi

  • The nature of Pi and its philosophy of minimalism and control
  • Comparison with Claude Code, Codex CLI, and Cursor
  • The four core tools: read, write, edit, and bash
  • Determining when Pi is preferable to heavier agents

Installation and Configuration

  • Installing Pi through npm and package managers
  • Configuring API keys for over 15 supported providers
  • Setting up working directories and context files
  • Executing Pi in local and Docker environments

Core Terminal Workflows

  • Generating code from straightforward prompts
  • Reading and modifying files with precision
  • Safely executing bash commands within the agent
  • Managing session state and context resets

Developing Custom Skills

  • Exploring the TypeScript skill API
  • Creating custom read, write, and edit operations
  • Integrating with bash execution for specialized workflows
  • Testing and debugging skills in isolation

Prompt Templates and Themes

  • Adapting system prompts for various languages and frameworks
  • Developing reusable prompt templates for team consistency
  • Packaging themes as shareable modules

Expanding Pi with npm Packages

  • Bundling skills as pi packages
  • Publishing to npm and Git
  • Installing community-contributed packages
  • Managing dependency versions and compatibility

Provider Flexibility

  • Switching between Anthropic, OpenAI, Google, and other backends
  • Optimizing for cost, speed, and quality per task
  • Running entirely local models for sensitive code

Practical Use Cases

  • Workflows for automated testing and test generation
  • Refactoring legacy code using custom skill chains
  • Generating and maintaining documentation
  • CI integration with minimal agent overhead

Security and Control

  • Understanding the boundary of the 300-word system prompt
  • Requiring manual approval for write operations
  • Sandboxing bash execution for untrusted environments
  • Auditing logs for all agent actions

Summary and Next Steps

  • Review of minimalism, control, and extensibility principles
  • Community resources and contribution guidelines
  • Advanced topics for experienced Pi users

Requirements

  • Proficiency in terminal-based development and bash
  • Fundamental knowledge of TypeScript or JavaScript
  • Understanding of npm package management

Target Audience

  • Developers looking for a lightweight, modifiable coding agent
  • Senior engineers requiring full control over agent internals
  • Teams implementing terminal-first development practices
 14 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories