pi-mono  by badlogic

AI agent framework and LLM deployment tools

Created 5 months ago
1,437 stars

Top 28.1% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

The pi-mono repository is a monorepo containing tools for building AI agents and managing large language model (LLM) deployments. It offers a unified LLM API, an agent runtime, a coding agent CLI, a terminal UI library, web components for chat interfaces, a CORS proxy, and a CLI for managing vLLM deployments. This suite benefits developers building AI-powered applications by providing integrated components for agent logic, LLM interaction, and deployment management.

How It Works

This project utilizes a monorepo structure managed with npm, housing distinct packages for various AI agent and LLM deployment functionalities. Key components include pi-ai for abstracting multi-provider LLM APIs (OpenAI, Anthropic, Google), pi-agent for runtime execution with state and tool-calling capabilities, and pi-coding-agent for interactive coding tasks. The repository enforces lockstep versioning, ensuring all packages maintain consistent versions, simplifying dependency management and integration across the suite.

Quick Start & Requirements

  • Install: npm install
  • Build: npm run build
  • Development: npm run dev (watch builds), then run specific CLIs like cd packages/coding-agent && npx tsx src/cli.ts.
  • Prerequisites: Node.js and npm are required. Specific packages might have implicit dependencies on LLM API keys or GPU resources for vLLM deployments.

Highlighted Details

  • Unified multi-provider LLM API (pi-ai) supporting OpenAI, Anthropic, and Google.
  • Agent runtime (pi-agent) with built-in tool calling and state management.
  • CLI for managing vLLM deployments on GPU pods (pi).
  • Lockstep versioning ensures consistency across all monorepo packages.

Maintenance & Community

The README does not provide specific details on maintainers, community channels (like Discord/Slack), or a roadmap.

Licensing & Compatibility

  • License: MIT.
  • Compatibility: The MIT license is permissive and generally compatible with commercial use and closed-source projects.

Limitations & Caveats

The README lacks detailed setup instructions beyond basic npm commands, and does not specify hardware requirements (e.g., GPU for vLLM) or potential setup time. Information regarding community support, contribution guidelines, or a detailed roadmap is absent.

Health Check
Last Commit

14 hours ago

Responsiveness

Inactive

Pull Requests (30d)
275
Issues (30d)
170
Star History
1,047 stars in the last 30 days

Explore Similar Projects

Starred by Peter Norvig Peter Norvig(Author of "Artificial Intelligence: A Modern Approach"; Research Director at Google), Zhen Lu Zhen Lu(Cofounder of Runpod), and
1 more.

agents-towards-production by NirDiamant

1.3%
17k
Production-ready GenAI agent tutorials
Created 6 months ago
Updated 1 week ago
Feedback? Help us improve.