← Catalog

pi-lumo-tamer

Lumo (Proton) as a first-class Pi provider via lumo-tamer

Provider

Install

Install with PiG

pig install npm:pi-lumo-tamer

Install with Pi

pi install npm:pi-lumo-tamer
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": [
    "./extensions/index.ts"
  ]
}

README

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

pi-lumo-tamer

Run Lumo (the fine-tuned Proton model) as a first-class model provider in Pi, served through a self-hosted lumo-tamer endpoint.

Install once, log in once, and get all three Lumo tiers — lumo, lumo-lite, lumo-max — with models in /model and a streaming turn that actually works, with zero manual wiring.

What it does

  • Registers Lumo as a native Pi provider (lumo-local by default), reusing Pi's built-in OpenAI-Chat-Completions implementation — streaming, tool handling, usage accounting, and cancellation for free.
  • Exposes the three Lumo tiers with validated metadata (262,144 context / 32,768 max tokens / non-reasoning).
  • Reads instances from Pi's own auth.json (no sidecar config file), and never hangs Pi startup on an unreachable endpoint.

Privacy: no cloud dependency in the data path — all traffic goes straight to your self-hosted lumo-tamer endpoint.

Prerequisites

  • A running lumo-tamer server (>= 0.6.0). The default endpoint is http://127.0.0.1:3003/v1.
  • customTools.enabled: true in your tamer's config.yaml — this is false by default, and without it tool calls silently never happen. This is the #1 setup prerequisite.

Install

# From npm (recommended):
pi install npm:pi-lumo-tamer

# From Codeberg:
pi install git:codeberg.org/denix/pi-lumo-tamer

The package has zero runtime dependencies and no build step — TypeScript is loaded directly by Pi.

Quick start

  1. Install the package (above).
  2. Run /login and pick Lumo (local).
  3. Paste your tamer's API key (the server.apiKey from its config.yaml).
  4. Open /model and select lumo, lumo-lite, or lumo-max.

The three models appear in /model immediately after login. lumo-max is the recommended coding tier; lumo-lite is the light/fast tier.

Models

ModelContextMax outputReasoning
lumo262,14432,768no
lumo-lite262,14432,768no
lumo-max262,14432,768no

Usage notes

  • Tool calls work end-to-end against lumo-tamer's OpenAI-compatible API. They require the patched streaming-tool-detector (commit 89647ab / tamer >= 0.6.0) and customTools.enabled: true.
  • Guardrails: Proton Lumo has aggressive anti-prompt-injection behavior — it may refuse requests that look like secret/env exfiltration. This is normal; rephrase the request.

Status

v0.1.0 ships Phase 1: native provider registration, the 3-model catalog, and no-hang startup.

Coming soon:

  • Client-side auto-shim so tool calls also work on unpatched tamer servers (e.g. the Home Assistant add-on image).
  • Guided multi-instance auth (/lumo auth) for managing multiple named endpoints (e.g. local + ha).
  • The /lumo management commands and the stream-fallback escape hatch.

For contributors

The branch topology is: feature/* → develop → main → release.

  1. Branch from develop:
    git checkout develop && git pull
    git checkout -b feature/my-change
    
  2. Commit and push your branch (external contributors: fork the repo first).
  3. Open a Merge Request on Codeberg targeting develop — not main. CI runs the test suite on every MR; it must pass before merge.
  4. The maintainer reviews and merges into develop. Repeated small MRs are welcome.
  5. Releases are maintainer-only: an MR from develop into main is opened when a release is due; after merge the maintainer tags the release, which publishes to npm automatically:
    # on main, after the release MR is merged:
    npm version patch        # bumps package.json, commits, tags vX.Y.Z
    git push --follow-tags   # Forgejo Actions tests + publishes to npmjs.com
    

Direct pushes to main are blocked; develop accepts maintainer pushes only — everything else lands through MRs.

Commands to execute (in order)

# 1) commit the pending runner-label fix separately (already in working tree)
git add .forgejo/workflows/publish.yml
git commit -m "ci: use codeberg-small runner label for publish workflow"

# 2) commit the test.yml trigger update
git add .forgejo/workflows/test.yml
git commit -m "ci: run tests on develop pushes and MRs targeting develop"

# 3) the README section (paste from above), then
git add README.md
git commit -m "docs: add For contributors section (branch topology, MR flow, release ritual)"

# 4) maintainer fast-path push to develop
git push origin develop

Release

After the release MR develop → main is merged:

git checkout main && git pull
npm version patch        # 0.1.1 → 0.1.2
git push --follow-tags   # tag push triggers publish.yml → npmjs.com

License

GPL-3.0