Get in Touch
 Duration 14 hours

Course Outline

Introduction to Pi

  • Overview of Pi and its core philosophy of minimalism and control
  • Comparative analysis with Claude Code, Codex CLI, and Cursor
  • Exploration of the four built-in tools: read, write, edit, and bash
  • Scenarios where Pi is preferable to heavier, more complex agents

Installation and Setup

  • Installing Pi using npm and other package managers
  • Configuring API keys for the 15+ supported providers
  • Establishing working directories and context files
  • Operating Pi in both local and Dockerized environments

Core Terminal Workflows

  • Generating code from concise, simple prompts
  • Precisely reading and modifying files
  • Safely executing bash commands within the agent context
  • Managing session state and resetting context

Building Custom Skills

  • Deep dive into the TypeScript skill API
  • Creating custom read, write, and edit operations
  • Integrating with bash execution for specialized tasks
  • Independent testing and debugging of skills

Prompt Templates and Themes

  • Tailoring system prompts for various languages and frameworks
  • Developing reusable prompt templates to ensure team consistency
  • Packaging themes as portable, shareable modules

Extending Pi with npm Packages

  • Bundling skills into pi packages
  • Publishing packages to npm and Git repositories
  • Installing and utilizing community-contributed packages
  • Managing dependency versions and ensuring compatibility

Provider Flexibility

  • Switching between backends such as Anthropic, OpenAI, and Google
  • Optimizing performance for cost, speed, and quality per task
  • Utilizing entirely local models for sensitive codebases

Practical Use Cases

  • Implementing automated testing and test generation workflows
  • Refactoring legacy code using custom skill chains
  • Automating documentation generation and maintenance
  • Integrating into CI pipelines with minimal overhead

Security and Control

  • Analyzing the boundaries of the 300-word system prompt
  • Implementing manual approval gates for write operations
  • Sandboxing bash execution for untrusted environments
  • Maintaining audit logs of all agent actions

Summary and Next Steps

  • Review of the principles of minimalism, control, and extensibility
  • Overview of community resources and contribution guidelines
  • Guidance on advanced topics for experienced Pi users

Requirements

  • Hands-on experience with terminal-based development and bash
  • Fundamental knowledge of TypeScript or JavaScript
  • Working familiarity with npm package management

Audience

  • Developers looking for a lightweight, highly modifiable coding agent
  • Senior engineers seeking granular control over agent internals
  • Teams prioritizing terminal-first development practices

Number of participants


Price per participant (excl. VAT)

Upcoming Courses

Related Categories