Pi Mono

Active
GitHub TypeScript MIT

Description

Pi Mono is a comprehensive AI agent toolkit including a coding agent CLI, unified LLM API, TUI and web UI libraries, Slack bot, and vLLM pod management for end-to-end agent development.

Key Features

  • Interactive coding agent CLI — terminal-based AI coding assistant for code generation, refactoring, and debugging
  • Unified multi-provider LLM API — single interface supporting OpenAI, Anthropic, Google and other LLM providers
  • Agent runtime engine — built-in tool calling and state management for complex multi-step task execution
  • Terminal UI library — differential rendering TUI components for real-time interactive interfaces
  • Supply-chain hardening — version-pinned deps, shrinkwrap generation, CI signature auditing
  • Containerized sandbox — three isolation modes: OpenShell, Gondolin micro-VM, and Docker

Use Cases

💡 AI-assisted coding: use the agent in terminal for code completion, refactoring suggestions, and automated debugging
💡 Multi-LLM provider switching: seamlessly switch between LLMs via unified API to avoid vendor lock-in
💡 Automated workflows: orchestrate multi-step tasks using the agent runtime for development automation
💡 Secure isolated execution: run untrusted code or operations in sandbox environments to protect the host
💡 Open-source session sharing: publish coding sessions to Hugging Face for community real-task data

Quick Start

# Install Pi coding agent globally
npm install -g @earendil-works/pi-coding-agent

# Start Pi in your project directory
cd your-project
pi

# Or build from source
npm install --ignore-scripts
npm run build
./pi-test.sh

Related Projects