https://github.com/badlogic/pi-mono
AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods
https://github.com/badlogic/pi-mono
Last synced: about 2 months ago
JSON representation
AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods
- Host: GitHub
- URL: https://github.com/badlogic/pi-mono
- Owner: badlogic
- License: mit
- Created: 2025-08-09T14:03:50.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-04-03T18:32:19.000Z (about 2 months ago)
- Last Synced: 2026-04-03T20:54:36.399Z (about 2 months ago)
- Language: TypeScript
- Size: 35.5 MB
- Stars: 31,074
- Watchers: 126
- Forks: 3,368
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
- awesome-pi-agent - pi (pi-mono)
- awesome-local-llm - pi-mono - AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods (Tools / Agent Frameworks)
- awesome-github-projects - pi-mono - AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods ⭐42,762 `TypeScript` 🔥 (🤖 AI & Machine Learning)
- awesome - badlogic/pi-mono - AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods (TypeScript)
- awesome-agent-harness - Pi Coding Agent - 01 | Mario Zechner | Yes | (Agent Harness 🚀 / 5. The Convergence: Harness-as-a-Service (HaaS))
- AiTreasureBox - badlogic/pi-mono - 03-09_21690_454](https://img.shields.io/github/stars/badlogic/pi-mono.svg)|AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods| (Repos)
- awesome - badlogic/pi-mono - AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods (TypeScript)
- awesome-opensource-ai - Pi (badlogic) - Terminal coding agent with hash-anchored edits, LSP integration, subagents, MCP support, and package ecosystem.  (4. Agentic AI & Multi-Agent Systems)
- awesome-personal-ai-assistants - pi - Monorepo of tools for building AI agents. Includes a unified multi-provider LLM API, agent runtime with tool calling, interactive coding agent CLI, Slack bot, terminal UI library, web UI components, and vLLM pod management. `TypeScript`  (Agent Frameworks)
- awesome-github-repos - badlogic/pi-mono - AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods (TypeScript)
- my-awesome - badlogic/pi-mono - 04 star:43.3k fork:5.1k AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods (TypeScript)
- awesome-rainmana - badlogic/pi-mono - AI agent toolkit: coding agent CLI, unified LLM API, TUI & web UI libraries, Slack bot, vLLM pods (TypeScript)
- awesome-openclaw - Pi-mono
- awesome-cli-coding-agents - Pi - mono toolkit; unified LLM API, TUI, skills, and MCP support. (Terminal-native coding agents / Open Source)
- StarryDivineSky - badlogic/pi-mono - mono 是一个专为开发者打造的全栈式人工智能智能体工具包,其核心价值在于彻底解决了当前 LLM 应用开发过程中面临的技术栈碎片化与工具链割裂的痛点。该项目通过构建统一的 API 抽象层,屏蔽了底层不同大模型接口的差异性,使得开发者无需重复适配即可调用多种服务,相比同类分散的工具集,它提供了极高的集成效率,避免了上下文切换带来的认知负荷;同时项目不仅支持 TUI 和 Web UI 库以灵活构建交互界面,还深度集成了 Slack Bot 与 vLLM Pods,实现了从本地终端到云端推理的无缝衔接,这种全场景覆盖的能力远超单一功能的脚本工具。在技术原理上,它如同一个通用的智能适配器,将复杂的模型调用逻辑封装为标准化的指令集,就像把不同电压的电器都转换成统一的接口插头一样,让开发者只需关注业务逻辑而非底层通信细节,从而能够专注于构建真正的智能体应用而非繁琐的工程配置,这种设计思想极大地降低了从原型验证到生产部署的迁移成本,确保团队在快速迭代中依然保持架构的稳健性,让智能体开发从技术实验转变为可持续的工程实践。 (A01_文本生成_文本对话 / 大语言对话模型及数据)
README
# 🏖️ OSS Weekend
**Issue tracker reopens Monday, April 13, 2026.**
OSS weekend runs Thursday, April 2, 2026 through Monday, April 13, 2026. New issues and PRs from unapproved contributors are auto-closed during this time. Approved contributors can still open issues and PRs if something is genuinely urgent, but please keep that to pressing matters only. For support, join [Discord](https://discord.com/invite/3cU7Bz4UPx).
> _Current focus: at the moment i'm deep in refactoring internals, and need to focus._
---
pi.dev domain graciously donated by

exe.dev
# Pi Monorepo
> **Looking for the pi coding agent?** See **[packages/coding-agent](packages/coding-agent)** for installation and usage.
Tools for building AI agents and managing LLM deployments.
## Share your OSS coding agent sessions
If you use pi or other coding agents for open source work, please share your sessions.
Public OSS session data helps improve coding agents with real-world tasks, tool use, failures, and fixes instead of toy benchmarks.
For the full explanation, see [this post on X](https://x.com/badlogicgames/status/2037811643774652911).
To publish sessions, use [`badlogic/pi-share-hf`](https://github.com/badlogic/pi-share-hf). Read its README.md for setup instructions. All you need is a Hugging Face account, the Hugging Face CLI, and `pi-share-hf`.
You can also watch [this video](https://x.com/badlogicgames/status/2041151967695634619), where I show how I publish my `pi-mono` sessions.
I regularly publish my own `pi-mono` work sessions here:
- [badlogicgames/pi-mono on Hugging Face](https://huggingface.co/datasets/badlogicgames/pi-mono)
## Packages
| Package | Description |
|---------|-------------|
| **[@mariozechner/pi-ai](packages/ai)** | Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.) |
| **[@mariozechner/pi-agent-core](packages/agent)** | Agent runtime with tool calling and state management |
| **[@mariozechner/pi-coding-agent](packages/coding-agent)** | Interactive coding agent CLI |
| **[@mariozechner/pi-mom](packages/mom)** | Slack bot that delegates messages to the pi coding agent |
| **[@mariozechner/pi-tui](packages/tui)** | Terminal UI library with differential rendering |
| **[@mariozechner/pi-web-ui](packages/web-ui)** | Web components for AI chat interfaces |
| **[@mariozechner/pi-pods](packages/pods)** | CLI for managing vLLM deployments on GPU pods |
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for contribution guidelines and [AGENTS.md](AGENTS.md) for project-specific rules (for both humans and agents).
## Development
```bash
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 (can be run from any directory)
```
> **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