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.

Packages

Package details

extension

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

$ pi install npm:nano-llm-pi-extension
Package
nano-llm-pi-extension
Version
0.2.1
Published
Oct 17, 2026
Downloads
787/mo · 787/wk
Author
0a1n
License
Apache-2.0
Types
extension
Size
6.5 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

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

README

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