← Catalog

nano-llm-pi-extension

Nano LLM (<your-nano-llm-endpoint>) provider extension for the Pi coding agent: OpenAI-compatible, live model discovery, $NANO_LLM_API_KEY auth.

Package

Install

Install with PiG

pig install npm:nano-llm-pi-extension

Install with Pi

pi install npm:nano-llm-pi-extension
Review before installing

Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "./src/index.ts"
  ]
}

README

Written by the package's publisher, shown as published in version 0.2.1 (README.md). PiG does not review it.

nano-llm for Pi coding agent

nano-llm gateway as a Pi coding agent extension (OpenAI-compatible).

Install

pi install npm:nano-llm-pi-extension

Set your gateway API key:

export NANO_LLM_API_KEY=<your-key>

Required: NANO_LLM_BASE_URL (e.g. https://<your-host>/v1 — self-hosted endpoints welcome). Optional: NANO_LLM_API_KEY_ENV (alternate key variable name).

Use with: pi --model nano-llm/<model-id> — run pi --list-models | grep nano-llm for the list.

License

Apache-2.0