Pi Agent Core
General-purpose agent framework with transport abstraction and state management.
Agent, MCP and tool libraries npm MIT
How Pi Agent Core is used
Pi Agent Core is a dependency in 25 of the 6,208 public GitHub projects set up for AI coding agents that we scanned (0.5% of the 4,818 JavaScript/TypeScript ones), #11 of 155 in agent, mcp and tool libraries. The most used alternative in our scan is LangChain.js (37 projects). Projects that use it most often also use Clack Prompts (100.0%), Pi-AI (100.0%), Ajv (100.0%). It is more common in projects set up for OpenClaw (8.1%) than for GitHub Copilot (0.3%).
Pi Agent Core popularity over time
Gid Score 58: downloads 52, use in agent projects 36, GitHub stars 91, downloads trend 59 (each 0-100). How it is calculated.
Often used with Pi Agent Core
| Clack Prompts | 100.0% of Pi Agent Core projects · 100.1× more than average |
|---|---|
| Pi-AI | 100.0% of Pi Agent Core projects · 221.7× more than average |
| Ajv | 100.0% of Pi Agent Core projects · 41.1× more than average |
| chalk | 100.0% of Pi Agent Core projects · 34.7× more than average |
| chokidar | 100.0% of Pi Agent Core projects · 59.1× more than average |
| Commander | 100.0% of Pi Agent Core projects · 36.1× more than average |
| Croner | 100.0% of Pi Agent Core projects · 144.4× more than average |
| dotenv | 100.0% of Pi Agent Core projects · 6.4× more than average |
By coding agent
| OpenClaw | 8.1% of projects set up for it |
|---|---|
| Claude Code | 0.7% of projects set up for it |
| Gemini CLI | 3.4% of projects set up for it |
| GitHub Copilot | 0.3% of projects set up for it |
Share of public repos configured for each agent that list Pi Agent Core as a dependency.
Install
| Package | npm install @mariozechner/pi-agent-core |
|---|---|
| Main stacks | TypeScript / JavaScript (16), Python (9) |
| Example projects | Bitterbot-AI/bitterbot-desktop, raucvr/Group-Goki, hashSTACS-Global/EnClaws, smithersbot/smithersbot, bitan-del/gods-eye |
Alternatives to Pi Agent Core
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Pi Agent Core are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| LangChain.js npm Build applications with LLMs using composable abstractions for chains, agents and memory. |
70 | 37 (0.8%) | 3.6M | 18.3K | MIT |
| Mastra npm Framework for building AI agents with tools, memory and MCP server support. |
66 | 37 (0.8%) | 1.3M | 28.9K | Apache-2.0 |
| Google Genkit npm AI framework for building, testing and monitoring generative AI applications. |
42 | 12 (0.2%) | 130K | 6,533 | Apache-2.0 |
More in Agent, MCP and tool libraries: Model Context Protocol SDK (JavaScript) Model Context Protocol SDK (Python) FastMCP (Python) LangChain LangGraph Agent Client Protocol SDK MCP Inspector fastMCP (JavaScript)