npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@vtstech/pi-model-test

v1.2.0

Published

Model benchmark/testing extension for Pi Coding Agent

Readme

@vtstech/pi-model-test

Model benchmark extension for the Pi Coding Agent.

Test any model for reasoning, tool usage, and instruction following — works with Ollama and cloud providers.

Install

pi install "npm:@vtstech/pi-model-test"

Commands

/model-test                     Test current Pi model (auto-detects provider)
/model-test qwen3:0.6b          Test a specific Ollama model
/model-test --all               Test every Ollama model

Test Suites

Ollama (6 tests)

| Test | Scoring | |------|---------| | Reasoning (snail puzzle) | STRONG / MODERATE / WEAK / FAIL | | Thinking token support | SUPPORTED / NOT SUPPORTED | | Tool usage (native + text) | STRONG / MODERATE / WEAK / FAIL | | ReAct parsing | STRONG / MODERATE / WEAK / FAIL | | Instruction following (JSON) | STRONG / MODERATE / WEAK / FAIL | | Tool support detection | NATIVE / REACT / NONE |

Cloud Providers (4 tests)

| Test | Scoring | |------|---------| | Connectivity | OK / FAIL | | Reasoning | STRONG / MODERATE / WEAK / FAIL | | Instruction following | STRONG / MODERATE / WEAK / FAIL | | Tool usage (function calling) | STRONG / MODERATE / WEAK / FAIL |

Features

  • Auto-detects Ollama vs cloud provider (OpenRouter, Anthropic, Google, OpenAI, Groq, DeepSeek, Mistral, xAI, Together, Fireworks, Cohere)
  • Uses native fetch() for all HTTP communication (no shell subprocess or curl dependency)
  • Streaming Ollama chat — uses /api/chat with stream: true for earlier timeout detection and reduced memory
  • Automatic remote Ollama URL resolution (reads from models.json on every call — picks up config changes immediately)
  • Timeout resilience with exponential backoff retry on connection failures
  • Configurable test parameters — override timeouts, delays, temperature via ~/.pi/agent/model-test-config.json
  • Test history with regression detection — tracks results at ~/.pi/agent/cache/model-test-history.json, flags score degradation
  • Rate limit delay between tests (configurable)
  • Thinking model fallback (retries with think: true)
  • Tool support cache (~/.pi/agent/cache/tool_support.json)
  • JSON repair for truncated output (stack-based nesting-aware parser)
  • Tab-completion for model names

Links

License

MIT — VTSTech