back to home

badlogic / pi-mono

AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods

14,602 stars
1,502 forks
7 issues
TypeScriptJavaScriptShell

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing badlogic/pi-mono in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind-ai.vercel.app/repo/badlogic/pi-mono)
Preview:Analyzed by RepoMind

Repository Summary (README)

Preview

🏖️ OSS Vacation

Issue tracker and PRs reopen February 23, 2026.

All PRs will be auto-closed until then. Approved contributors can submit PRs after vacation without reapproval. For support, join Discord.


<p align="center"> <a href="https://shittycodingagent.ai"> <img src="https://shittycodingagent.ai/logo.svg" alt="pi logo" width="128"> </a> </p> <p align="center"> <a href="https://discord.com/invite/3cU7Bz4UPx"><img alt="Discord" src="https://img.shields.io/badge/discord-community-5865F2?style=flat-square&logo=discord&logoColor=white" /></a> <a href="https://github.com/badlogic/pi-mono/actions/workflows/ci.yml"><img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/badlogic/pi-mono/ci.yml?style=flat-square&branch=main" /></a> </p> <p align="center"> <a href="https://pi.dev">pi.dev</a> domain graciously donated by <br /><br /> <a href="https://exe.dev"><img src="packages/coding-agent/docs/images/exy.png" alt="Exy mascot" width="48" /><br />exe.dev</a> </p>

Pi Monorepo

Looking for the pi coding agent? See packages/coding-agent for installation and usage.

Tools for building AI agents and managing LLM deployments.

Packages

PackageDescription
@mariozechner/pi-aiUnified multi-provider LLM API (OpenAI, Anthropic, Google, etc.)
@mariozechner/pi-agent-coreAgent runtime with tool calling and state management
@mariozechner/pi-coding-agentInteractive coding agent CLI
@mariozechner/pi-momSlack bot that delegates messages to the pi coding agent
@mariozechner/pi-tuiTerminal UI library with differential rendering
@mariozechner/pi-web-uiWeb components for AI chat interfaces
@mariozechner/pi-podsCLI for managing vLLM deployments on GPU pods

Contributing

See CONTRIBUTING.md for contribution guidelines and AGENTS.md for project-specific rules (for both humans and agents).

Development

npm install          # Install all dependencies
npm run build        # Build all packages
npm run check        # Lint, format, and type check
./test.sh            # Run tests (skips LLM-dependent tests without API keys)
./pi-test.sh         # Run pi from sources (must be run from repo root)

Note: npm run check requires npm run build to be run first. The web-ui package uses tsc which needs compiled .d.ts files from dependencies.

License

MIT