Skip to content

When to use this page: installing the Pi extensions for the ML Cloud Local LLM service — including the LiteLLM model auto-discovery extension.

Pi Extensions

This directory contains reusable extensions for Pi.

Installation

Copy the extension files to your Pi global extensions directory:

cp extensions/*.ts ~/.pi/agent/extensions/

Then reload Pi or restart it:

pi  # then run /reload in the TUI

Available Extensions

litellm-autodiscover

Automatically discovers and registers all models from a LiteLLM proxy instance.

Configuration:

Add to ~/.pi/agent/settings.json:

{
  "litellm-autodiscover": {
    "baseUrl": "https://your-litellm-instance.com"
  }
}

See litellm-setup-guide.md for full setup instructions.


Last update: August 24, 2026
Created: August 24, 2026