Navigate:
Pi Mono
~$PIMO24.1%

Pi Mono: AI agent toolkit and LLM API

Monorepo providing AI agent development tools, unified LLM API, and deployment management for multiple providers.

LIVE RANKINGS • 09:49 AM • STEADY
TOP 10TOP 10TOP 10TOP 10TOP 10TOP 10TOP 10TOP 10TOP 10TOP 10TOP 10TOP 10
OVERALL
#1
3
AI & ML
#1
3
30 DAY RANKING TREND
ovr#1
·AI#1
STARS
17.2K
FORKS
1.8K
7D STARS
+3.3K
7D FORKS
+371
Tags:
See Repo:
Share:

Learn more about Pi Mono

Pi Mono is a TypeScript monorepo containing tools for building AI agents and managing LLM deployments. The toolkit includes a unified API client supporting multiple LLM providers (OpenAI, Anthropic, Google), an agent runtime with tool calling capabilities, and UI libraries for both terminal and web interfaces. It features a coding agent CLI that can interact with codebases, a Slack bot integration, and utilities for managing vLLM deployments on GPU infrastructure. The modular architecture allows developers to use individual packages or combine them for complete AI agent solutions.

Pi Mono

1

Unified LLM API

Single interface for multiple LLM providers including OpenAI, Anthropic, and Google. Abstracts provider-specific implementations behind a consistent API.

2

Modular Architecture

Seven separate npm packages that can be used independently or together. Includes agent runtime, UI libraries, deployment tools, and integrations.

3

Multi-Interface Support

Provides terminal UI, web components, CLI tools, and Slack bot integration. Supports both interactive and programmatic usage patterns.


import { Agent } from '@mariozechner/pi-agent-core';
import { OpenAIProvider } from '@mariozechner/pi-ai';

const agent = new Agent({
  provider: new OpenAIProvider({ apiKey: process.env.OPENAI_API_KEY }),
  model: 'gpt-4',
  tools: [
    {
      name: 'get_weather',
      description: 'Get current weather for a location',
      parameters: {
        type: 'object',
        properties: {
          location: { type: 'string', description: 'City name' }
        },
        required: ['location']
      },
      handler: async ({ location }) => {
        const response = await fetch(`https://api.weather.com/v1/current?location=${location}`);
        return response.json();
      }
    }
  ]
});

const response = await agent.chat('What\'s the weather in San Francisco?');
console.log(response.content);


vv0.54.0

v0.54.0: Added - Added default skill auto-discovery for `.agents/skills` locations

  • Added - Added default skill auto-discovery for `.agents/skills` locations
  • Pi now discovers project skills from `.agents/skills` in `cwd` and ancestor directories (up to git repo root, or filesystem root when not in a repo), and global skills from `~/.agents/skills`, in addition to existing `.pi` skill paths
vv0.53.0

v0.53.0: Added `SettingsManager.drainErrors()` for caller-controlled settings I/O error handling without mana

  • Added `SettingsManager.drainErrors()` for caller-controlled settings I/O error handling without manager-side console output.
  • Added auth storage backends (`FileAuthStorageBackend`, `InMemoryAuthStorageBackend`) and `AuthStorage.fromStorage(...)` for storage-first auth persistence wiring.
  • Added Anthropic `claude-sonnet-4-6` model fallback entry to generated model definitions.
  • `SettingsManager` now uses scoped storage abstraction with per-scope locked read/merge/write persistence for global and project settings.
  • Fixed project settings persistence to preserve unrelated external edits via merge-on-write, while still applying in-memory changes for modified keys.
vv0.52.12

v0.52.12: Added `transport` setting (`"sse"`, `"websocket"`, `"auto"`) to `/settings` and `settings.json` for

  • Added `transport` setting (`"sse"`, `"websocket"`, `"auto"`) to `/settings` and `settings.json` for providers that support multiple transports (currently `openai-codex` via OpenAI Codex Responses).
  • Interactive mode now applies transport changes immediately to the active agent session.
  • Settings migration now maps legacy `websockets: boolean` to the new `transport` setting.

See how people are using Pi Mono

Loading tweets...


[ EXPLORE MORE ]

Related Repositories

Discover similar tools and frameworks used by developers