pi-mimo

Pi extension for Xiaomi MiMo AI models provider

Package details

extension

Install pi-mimo from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-mimo
Package
pi-mimo
Version
1.3.2
Published
Apr 29, 2026
Downloads
147/mo · 147/wk
Author
neuron-mr-white
License
MIT
Types
extension
Size
9.3 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-mimo

Pi extension for Xiaomi MiMo AI models. Auto-discovers and registers all available models from the MiMo API.

Install

pi install npm:pi-mimo

Setup

Set your MiMo API key:

export MIMO_API_KEY="your-api-key"

Usage

Start pi normally — MiMo models appear under the mimo provider:

pi

Select a MiMo model with /model or use mimo/<model-id> directly.

Development

Test locally without publishing:

MIMO_API_KEY="your-key" pi -e ./extensions/index.ts

How it works

On startup, the extension:

  1. Fetches all models from https://token-plan-sgp.xiaomimimo.com/v1/models
  2. Registers them under the mimo provider using the OpenAI-compatible API
  3. Models appear in pi --list-models and /model selector

License

MIT