qhkm

Pi Rs — AI skill for Claude Code

AI community

AI agent toolkit rewritten in Rust: unified LLM API, agent runtime, TUI, coding agent CLI, Slack bot, web UI, GPU pod manager.

How to install Pi Rs

This entry records only its repository, not the path inside it, so there is no exact command to give. Open qhkm/pi-rs and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Pi Rs does

AI agent toolkit rewritten in Rust: unified LLM API, agent runtime, TUI, coding agent CLI, Slack bot, web UI, GPU pod manager.

Alternatives in AI

  • Bot On Anything — A large model-based chatbot builder that can quickly integrate AI models (including ChatGPT, Claude, Gemini) i 4.2k ★
  • Agentrq — AgentRQ: Human-in-loop realtime conversational task manager for AI Agents 1.1k ★
  • Pebrel — AI-native, GPU-accelerated terminal emulator for Windows with SSH, persistent sessions, split panes, and first 670 ★

README

π (pi) — AI Coding Agent

[![Rust](https://img.shields.io/badge/Rust-1.75+-orange.svg)](https://www.rust-lang.org) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![Tests](https://img.shields.io/badge/tests-461+-green.svg)]()

**Minimal core. Maximum extensibility. Your workflow, your way.**

A high-performance, terminal-native AI coding agent built in Rust. This is a Rust port of [pi-mono](https://github.com/badlogic/pi-mono), originally created by [Mario Zechner](https://github.com/badlogic). Features 101+ LLM models across 17 cloud providers, advanced TUI with streaming responses, and extensible plugin architecture.

**Philosophy:** Pi provides primitives, not features. Sub-agents, plan mode, permission gates—build them yourself or install a package. Adapt pi to your workflows, not the other way around. [Read more →](PHILOSOPHY.md)

🤖 **Vibe Coded** — This is a vibecoded project. It's here to inspire, not to be a polished product. Fork it, tear it apart, or use it as a starting point to build your own AI coding agent.

🚀 Quick Start

# Clone and build
git clone https://github.com/qhkm/pi-rs
cd pi-rs
cargo build --release

# Run interactive mode
./target/release/pi

# Or with a specific model
pi --model claude-3-opus

# Run a one-off task
pi "Refactor src/main.rs to use async/await"

✨ Features

🧩 Philosophy: Primitives, Not Features

What Others Bake In How Pi Does It
Sub-agents Spawn via tmux, or build with extensions
Plan mode Write to files, or build with extensions
Permission popups Run in container, or build your own flow
Built-in to-dos Use TODO.md, or build with extensions
MCP integration Build as skills, or add via extensions

**The result:** A 15MB binary that starts in <50ms instead of 100MB+ and 1-3s.

🤖 AI Providers (17+ Supported)

  • Anthropic: Claude 3 Opus, Sonnet, Haiku
  • OpenAI: GPT-4o, GPT-4.1, o1