Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Pi Agent Core

General-purpose agent framework with transport abstraction and state management.

Agent, MCP and tool libraries npm MIT

Deprecated on npmThe maintainers' note: “please use @earendil-works/pi-agent-core instead going forward” Check an alternative before starting a new project with it.
Used in agent projects
25
0.5% of 4,818 JS/TS repos built with AI coding agents
Gid Score
58 /100
#847 of 3,794 tools, #29 in agent, mcp and tool libraries · ranking
Rank in agent, mcp and tool libraries
#11 of 155
by use in those projects
Downloads
263K
npm, last 7 days, @mariozechner/pi-agent-core
GitHub stars
117K
14.9K forks · last push Oct 20, 2026

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

Top tools by Gid Score

Pi Agent Core: downloads per weeknpm, @mariozechner/pi-agent-core 262,621
Pi Agent Core: GitHub starsbadlogic/pi-mono 116,548

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 Prompts100.0% of Pi Agent Core projects · 100.1× more than average
Pi-AI100.0% of Pi Agent Core projects · 221.7× more than average
Ajv100.0% of Pi Agent Core projects · 41.1× more than average
chalk100.0% of Pi Agent Core projects · 34.7× more than average
chokidar100.0% of Pi Agent Core projects · 59.1× more than average
Commander100.0% of Pi Agent Core projects · 36.1× more than average
Croner100.0% of Pi Agent Core projects · 144.4× more than average
dotenv100.0% of Pi Agent Core projects · 6.4× more than average

By coding agent

OpenClaw8.1% of projects set up for it
Claude Code0.7% of projects set up for it
Gemini CLI3.4% of projects set up for it
GitHub Copilot0.3% of projects set up for it

Share of public repos configured for each agent that list Pi Agent Core as a dependency.

Install

Packagenpm install @mariozechner/pi-agent-core
Main stacksTypeScript / JavaScript (16), Python (9)
Example projectsBitterbot-AI/bitterbot-desktop, raucvr/Group-Goki, hashSTACS-Global/EnClaws, smithersbot/smithersbot, bitan-del/gods-eye

Alternatives to Pi Agent Core

All agent, mcp and tool libraries

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 projectsDownloads / wk GitHub starsLicense
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)

Is Pi Agent Core right for your project? Ask AgentGid →