How Pi AI is used
Pi AI is a dependency in 6 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 57 projects, and what it is used with below comes from all of them. The most used alternative in our scan is AI SDK (273 projects). Projects that use it most often also use yaml (33.3%), TypeScript (80.7%), tsx (40.4%).
Pi AI popularity over time
Gid Score 73: downloads 78, use in agent projects 43, GitHub stars 91, downloads trend 82 (each 0-100). How it is calculated.
Often used with Pi AI
| yaml | 33.3% of Pi AI projects · 10.7× more than average |
|---|---|
| TypeScript | 80.7% of Pi AI projects · 1.5× more than average |
| tsx | 40.4% of Pi AI projects · 2.7× more than average |
| Vitest | 43.9% of Pi AI projects · 2.1× more than average |
| ws | 21.1% of Pi AI projects · 6.7× more than average |
| undici | 19.3% of Pi AI projects · 11.9× more than average |
From all 57 projects in our scan that use Pi AI, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|
Share of public repos configured for each agent that list Pi AI as a dependency.
Install
| Package | npm install @earendil-works/pi-ai |
|---|---|
| Main stacks | TypeScript / JavaScript (54), Next.js (2), Python (1) |
| Example projects | spinabot/brigade, Companion-Inc/feynman, getkimchi/kimchi, n-WN/SubgroupX, clay-good/OpenLore |
Alternatives to Pi AI
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Pi AI are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| AI SDK npm Vercel's unified SDK for building AI apps with OpenAI, Anthropic, Google and more. |
80 | 273 (5.7%) | 18.4M | 27.4K | Apache-2.0 |
| Anthropic SDK npm Official TypeScript SDK for calling Claude API and building agent applications. |
69 | 232 (4.8%) | 28.3M | 2,145 | MIT |
| Google Generative AI npm Official SDK for Google Gemini API to build AI-powered applications. |
64 | 169 (3.5%) | 14.7M | 1,691 | Apache-2.0 |
| Ollama JavaScript Library npm Official JavaScript client library for Ollama to run and interact with local language models. |
50 | 29 (0.6%) | 454K | 4,392 | MIT |
| Groq SDK npm Official TypeScript SDK for calling Groq's fast language models API. |
42 | 20 (0.4%) | 511K | 267 | Apache-2.0 |
More in Model SDKs: OpenAI OpenAI Python Library Anthropic Python SDK Google GenAI Python SDK Hugging Face Hub LiteLLM Ollama Pi-AI