pi-coding-agent-sdk

Installation
SKILL.md

Pi Coding Agent SDK

Overview

Use this skill to explain the public @mariozechner/pi-coding-agent SDK, choose the right example or API surface, and build integrations that stay on exported APIs first.

Default to the public docs, examples, and packages/coding-agent/src/index.ts. Use source-level tracing only when the docs are ambiguous, incomplete, or the user explicitly asks where behavior lives in pi-mono.

If the task is about pi install, package manifests, distribution, or publishing a Pi package, use pi-package-creator instead of stretching this skill.

Task Routing

  • Read references/surface-and-examples.md for public exports, example selection, and “what should I import?”
  • Read references/resource-loading-and-context.md for DefaultResourceLoader, discovery rules, AGENTS.md, skills, prompts, and extension loading paths.
  • Read references/tools-extensions-and-prompts.md for built-in tools, tool factories, customTools, extension-registered tools, prompt templates, slash-command behavior, and extension API boundaries.
  • Read references/models-settings-sessions.md for AuthStorage, ModelRegistry, SettingsManager, SessionManager, events, and run modes.
  • Read references/source-crosswalk.md only when the docs/examples are not enough or the user asks where the SDK is implemented in pi-mono.

Default Workflow

Related skills
Installs
4
First Seen
Mar 24, 2026