Áoearendil-works/pi
AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Ngày
#1 Repository Của Tháng
#1 Repository Của Tuần
🧭 Pi Agent Harness
An open-source AI agent toolkit that unifies LLM providers, runs an agent loop, and ships a self-extensible coding agent CLI.
Pi is the home of the Pi agent harness, a TypeScript project by earendil-works that bundles a unified multi-provider LLM API, an agent runtime with tool calling and state management, and an interactive coding agent CLI. It's designed to be self-extensible — you can extend the agent with your own tools and workflows. By default it runs with the permissions of the user and process that launched it, and if you need stronger boundaries, containerization patterns are documented for Docker, OpenShell, or a micro-VM extension.
✨ Highlights
- Unified LLM API: Single interface across OpenAI, Anthropic, Google, and other providers via
@earendil-works/pi-ai. - Agent runtime: Tool calling and state management in
@earendil-works/pi-agent-core. - Interactive CLI: Self-extensible coding agent in
@earendil-works/pi-coding-agent. - Terminal UI: Differential rendering TUI library in
@earendil-works/pi-tui. - Containerization: Docker, OpenShell, and Gondolin micro-VM patterns for sandboxing.
- Supply-chain hardening: Pinned dependencies, shrinkwrap generation, and audit CI.
- Session sharing: Publish OSS coding sessions to Hugging Face for agent improvement.
💡 Why it matters
Pi packages the full agent stack — LLM API, agent loop, and TUI — into modular, composable packages rather than a monolithic framework. The self-extensible design means the coding agent can grow with your needs without forking the project. The supply-chain hardening is unusually thorough for an AI agent project, with pinned deps, lockfile checks, and audit CI. If you're building on top of coding agents or want a multi-provider LLM abstraction that actually handles tool calling and state, Pi is worth a look.
#AI #OpenSource #CodingAgent #LLM #TiniX