← Catalog

@xynogen/pix-models

Pi extension — enhanced /model picker with BenchLM ranks

Extension

Install

Install with PiG

pig install npm:@xynogen/pix-models

Install with Pi

pi install npm:@xynogen/pix-models
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/extension.ts"
  ]
}

README

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

Pix

pix-models

Pi extension — /model picker with coding score and rank.

What it does

Takes over Pi's built-in /model command with a TUI picker. /model <term> opens it pre-filtered.

  • Tabs — tab / shift+tab switch between Chat, Classifier, and Image models. Classifier and image models are not chat models: selecting one shows how to call it from codemode (models.classify(), models.generateImages()).
  • Each row — model id, context window, per-M-token cost, and a coding score/rank (star bar) when available.
  • Sorting — by coding score (best first), then alphabetically for unscored models. Fuzzy search filters as you type.
  • Thinking level — on the Chat tab, left/right steps through the levels the active model supports (off → minimal → low → medium → high → xhigh → max), shown live in the header. When a model has no level map, pix fills it from the models.dev catalog and says so in a notice.
  • Select — switches the active model for the session.
  • Per-project prefs — every model / thinking change is saved with defaultProvider, defaultModel, defaultThinkingLevel in one file: <project>/.pi/settings.json for trusted projects (created on first change), otherwise ~/.pi/agent/settings.json. Pi merges the project file over the user file, so other projects fall back to user defaults. Each save shows a short notice with the target file.

Model metadata comes from ~/.cache/pi/ via pix-data; the coding score/rank is computed locally from the modelgrep catalog (best = #1).

Install

pi install npm:@xynogen/pix-models

Bundled in @xynogen/pix-core. Install it alone only if you do not use pix-core.

Full distro

This package is part of Pix. The installer sets up Pi and the full distro. See Install for the notes for each OS.

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
# Windows
irm https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.ps1 | iex

License

MIT