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

@auggy/ollama

v0.4.4

Published

Ollama engine adapter for auggy — local LLM runner, no API key required.

Readme

@auggy/ollama

Ollama engine adapter for auggy — drive your agent against a local LLM with no API key required.

Setup

  1. Install Ollama from ollama.com
  2. Start the server: ollama serve
  3. Pull a tool-capable model: ollama pull llama3.2
  4. Scaffold an auggy agent and pick the ollama provider:
auggy create my-agent
# → at the engine-provider prompt, choose "ollama"
# → at the model prompt, pick llama3.2 (or another pulled model)

auggy create installs @auggy/ollama into the agent dir's node_modules. No OLLAMA_API_KEY env var — Ollama doesn't authenticate by default.

agent.yaml

engine:
  provider: ollama
  model: llama3.2
  # Optional:
  # baseURL: http://localhost:11434         # default
  # maxContextTokens: 8192                  # default (Llama 3.2 supports up to 128k)
  # maxTokens: 2048                         # default; per-turn output cap
  # keepAlive: "5m"                         # default; how long to keep the model loaded
  # options:                                # native Ollama generation options
  #   temperature: 0.7
  #   seed: 42

Recommended models (tool-capable)

Ollama models vary in their support for tool-calling. These work well with auggy's tool-using flow:

| Model | Approx size | Notes | |---|---|---| | llama3.2 | ~2 GB | Meta Llama 3.2, fast, recommended for first-time setup | | llama3.1 | ~4 GB | Meta Llama 3.1, more capable but slower | | qwen2.5 | ~4 GB | Alibaba Qwen 2.5, strong multilingual support | | qwen2.5-coder | ~4 GB | Qwen 2.5 Coder, optimized for code |

Smaller / older models (e.g. llama2, mistral) may not support tool-calling at all. If you see your agent loop forever without calling tools, swap to a tool-capable model.

Pricing

costUsd is always undefined for ollama-provider responses — Ollama is free, there are no API charges. The budgets augment cannot enforce dailyBudgetUsd against ollama agents. Use these instead:

  • budgets.maxTurnsPerThread — caps turns per conversation
  • budgets.anonymousGlobalLimit — caps total anonymous turns per day

Common errors

  • fetch failed — Ollama server isn't running. Start it with ollama serve (in a separate terminal or as a service).
  • model "X" not found — Model isn't pulled locally. Run ollama pull <model> once; subsequent runs reuse the cached model.
  • Empty responses / agent loops forever — The selected model doesn't support tool-calling. Switch to one of the recommended models above.

Native API

This adapter uses Ollama's native /api/chat HTTP endpoint via the official ollama npm SDK. It does not route through Ollama's OpenAI-compatibility shim at /v1. Why native:

  • Clearer tool-call error surfacing
  • keep_alive (model unload control), format: json, and Ollama-specific generation options pass through directly
  • No vestigial OpenAI pricing/auth machinery
  • Foundation for Ollama-specific features (model listing, native vision, etc.) without an adapter rewrite

License

Apache-2.0