# Pi ## Docs - [Agent Session](https://mintlify.wiki/pt-act/pi-mono/api/agent/agent-session.md): Agent class for managing LLM conversations with tools and streaming - [Tools](https://mintlify.wiki/pt-act/pi-mono/api/agent/tools.md): Tool interface and execution for agent function calling - [Core Types](https://mintlify.wiki/pt-act/pi-mono/api/agent/types.md): Type definitions for agent state, messages, events, and configuration - [Models](https://mintlify.wiki/pt-act/pi-mono/api/ai/models.md): Model registry, querying, and configuration - [OAuth](https://mintlify.wiki/pt-act/pi-mono/api/ai/oauth.md): OAuth providers, login flow, and token management - [stream() and complete()](https://mintlify.wiki/pt-act/pi-mono/api/ai/stream-and-complete.md): Core streaming and completion functions for generating assistant messages - [Tools](https://mintlify.wiki/pt-act/pi-mono/api/ai/tools.md): Tool definitions, TypeBox schemas, and tool calling - [Extension System](https://mintlify.wiki/pt-act/pi-mono/api/coding-agent/extensions.md): Extension API for lifecycle events, custom tools, and UI customization - [Extension Hooks](https://mintlify.wiki/pt-act/pi-mono/api/coding-agent/hooks.md): Available lifecycle hooks and event handling patterns - [SDK API](https://mintlify.wiki/pt-act/pi-mono/api/coding-agent/sdk.md): Core SDK functions for creating agent sessions and managing tools - [Components](https://mintlify.wiki/pt-act/pi-mono/api/tui/components.md): TUI component system and built-in components - [Keybindings](https://mintlify.wiki/pt-act/pi-mono/api/tui/keybindings.md): Keybinding system and keyboard input handling - [Terminal](https://mintlify.wiki/pt-act/pi-mono/api/tui/terminal.md): Terminal interface for TUI rendering and screen management - [Architecture](https://mintlify.wiki/pt-act/pi-mono/concepts/architecture.md): System architecture and how packages work together - [Extension System](https://mintlify.wiki/pt-act/pi-mono/concepts/extensions.md): Build custom extensions with hooks, tools, and commands - [Session Management](https://mintlify.wiki/pt-act/pi-mono/concepts/sessions.md): Session lifecycle, branching, and compaction - [Tool System](https://mintlify.wiki/pt-act/pi-mono/concepts/tools.md): How tools work and how to create custom tools - [Customization](https://mintlify.wiki/pt-act/pi-mono/guides/customization.md): Customizing Pi with prompt templates, skills, themes, and packages - [Interactive Mode](https://mintlify.wiki/pt-act/pi-mono/guides/interactive-mode.md): Using Pi in interactive mode with commands and keyboard shortcuts - [Programmatic Usage](https://mintlify.wiki/pt-act/pi-mono/guides/programmatic-usage.md): Using the Pi SDK in your own applications - [Providers & Models](https://mintlify.wiki/pt-act/pi-mono/guides/providers-and-models.md): Supported LLM providers, authentication methods, and model selection - [Installation](https://mintlify.wiki/pt-act/pi-mono/installation.md): Detailed installation instructions for Pi across all platforms and providers - [Introduction to Pi](https://mintlify.wiki/pt-act/pi-mono/introduction.md): A minimal terminal coding agent framework that adapts to your workflow with extensions, skills, and packages - [@mariozechner/pi-agent-core](https://mintlify.wiki/pt-act/pi-mono/packages/agent-core.md): Stateful agent framework with tool execution and event streaming - [@mariozechner/pi-ai](https://mintlify.wiki/pt-act/pi-mono/packages/ai.md): Unified LLM API with automatic model discovery and provider configuration - [@mariozechner/pi-coding-agent](https://mintlify.wiki/pt-act/pi-mono/packages/coding-agent.md): Full-featured coding agent CLI with tools, sessions, and extensibility - [@mariozechner/pi-mom](https://mintlify.wiki/pt-act/pi-mono/packages/mom.md): Slack bot that delegates messages to the Pi coding agent - [@mariozechner/pi-pods](https://mintlify.wiki/pt-act/pi-mono/packages/pods.md): CLI tool for managing vLLM deployments on GPU pods - [@mariozechner/pi-tui](https://mintlify.wiki/pt-act/pi-mono/packages/tui.md): Terminal UI framework with differential rendering and synchronized output - [@mariozechner/pi-web-ui](https://mintlify.wiki/pt-act/pi-mono/packages/web-ui.md): Reusable web UI components for building AI chat interfaces - [Quick Start](https://mintlify.wiki/pt-act/pi-mono/quickstart.md): Get Pi running in minutes and start building with AI assistance ## OpenAPI Specs - [openapi](https://mintlify.wiki/pt-act/pi-mono/api-reference/openapi.json)