pi-mixlayer

Mixlayer provider extension for pi.

Packages

Package details

extension

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

$ pi install npm:pi-mixlayer
Package
pi-mixlayer
Version
0.1.0
Published
Jun 7, 2026
Downloads
not available
Author
zackangelo
License
unknown
Types
extension
Size
6.5 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

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

README

pi Mixlayer Extension

Registers Mixlayer as a pi provider using Mixlayer's OpenAI-compatible Chat Completions API.

Usage

pi install npm:pi-mixlayer
pi

Inside pi, run:

/login mixlayer

Enter your Mixlayer API key when prompted. Pi stores the credential in ~/.pi/agent/auth.json.

The extension fetches the current model list from:

https://models.mixlayer.ai/_openrouter/models

It registers the models under the mixlayer provider with api: "openai-completions" and baseUrl: "https://models.mixlayer.ai/v1".

Run pi --list-models to verify the registered models after installation.

When Mixlayer auth is configured and no model is selected yet, the extension selects qwen/qwen3.5-397b-a17b as the preferred default if that model is present in the remote model list.