Get in Touch

Course Outline

Introduction to Pi

  • Understanding Pi’s core philosophy of minimalism and control.
  • Comparison with Claude Code, Codex CLI, and Cursor.
  • The four built-in tools: read, write, edit, and bash.
  • Scenarios where Pi is preferable to heavier agents.

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 prompts.
  • Reading and editing files with precision.
  • Safely executing bash commands within the agent.
  • Managing session state and context resets.

Building Custom Skills

  • Understanding the TypeScript skill API.
  • Writing custom read, write, and edit operations.
  • Integrating with bash execution for specialised 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 to npm and Git.
  • Installing community-contributed packages.
  • Managing dependency versions and compatibility.

Provider Flexibility

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

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 300-word system prompt boundary.
  • Requiring manual approval for write operations.
  • Sandboxing bash execution in untrusted environments.
  • Audit logging of all agent actions.

Summary and Next Steps

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

Requirements

  • Experience with terminal-based development and bash scripting.
  • Foundational knowledge of TypeScript or JavaScript.
  • Familiarity with npm package management.

Audience

  • Developers seeking a lightweight, hackable coding agent.
  • Senior engineers who desire full control over agent internals.
  • Teams embracing terminal-first development practices.
 14 Hours

Number of participants


Price per participant

Provisional Upcoming Courses (Require 5+ participants)

Related Categories