Pi Llama
Description
Pi coding agent extension: llama.cpp provider with dynamic model + context window discovery
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
pi-llama
llama.cpp Pi extension. Auto-discovers models from a running llama.cpp server and registers them as the `llama-cpp` provider in [pi](https://pi.dev).
Install
**From the shell:**
pi install git:github.com/huggingface/pi-llama
This clones to `~/.pi/agent/packages/pi-llama/` and adds an entry to your pi settings. Every future `pi` invocation auto-loads it.
**From inside an interactive pi session:**
!pi install git:github.com/huggingface/pi-llama
Then run `/reload` (or restart pi) to load the extension.
**Dev mode:**
git clone https://github.com/huggingface/pi-llama ~/code/pi-llama
pi -e ~/code/pi-llama/index.ts
`-e` loads the extension only for the current session, useful while developing.
Environment Variables
This extension supports the following environment variables:
- LLAMA_BASE_URL (Default:
http://localhost:8080/v1) - LLAMA_API_KEY (Default:
no-key)
Usage
# 1. Install llama.cpp
curl -LsSf https://llama.app/install.sh | bash
# 2. Start the server
llama serve
# Optional: Use a remote instance of llama.cpp server instead of local
export LLAMA_BASE_URL="https://llama.example.com/v1"
# 3. Launch pi in another terminal
pi
# 4. Inside pi - search "llama-cpp" to browse your local models
/model
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI