Get in Touch

Course Outline

Introduction to Pi

  • An overview of Pi and its core philosophy of minimalism and control.
  • Comparison with tools like Claude Code, Codex CLI, and Cursor.
  • The four built-in tools: read, write, edit, and bash.
  • Scenarios where choosing Pi over heavier agents is advantageous.

Installation and Setup

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

Core Terminal Workflows

  • Generating code from simple text prompts.
  • Reading and editing files with precision.
  • Safely executing bash commands within the agent.
  • Managing session state and resetting context.

Building Custom Skills

  • Understanding the TypeScript skill API.
  • Writing 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.
  • Creating reusable prompt templates to ensure team consistency.
  • Packaging themes as shareable modules.

Extending Pi with npm Packages

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

Provider Flexibility

  • Switching between backends such as Anthropic, OpenAI, Google, and others.
  • Optimizing for cost, speed, and quality based on task requirements.
  • Running local models exclusively for sensitive code processing.

Practical Use Cases

  • Automated testing and test generation workflows.
  • Refactoring legacy code using custom skill chains.
  • Documentation generation and maintenance.
  • CI integration with minimal agent overhead.

Security and Control

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

Summary and Next Steps

  • Recap of the core principles: minimalism, control, and extensibility.
  • Accessing community resources and contribution guidelines.
  • Exploring advanced topics for experienced Pi users.

Requirements

  • Experience in terminal-based development and familiarity with bash.
  • Basic understanding of TypeScript or JavaScript.
  • Familiarity with npm package management.

Target Audience

  • Developers looking for a lightweight, customizable coding agent.
  • Senior engineers seeking full control over agent internals.
  • Teams adopting a terminal-first development approach.
 14 Hours

Number of participants


Price per participant

Upcoming Courses

Related Categories