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

ultracontext

v1.1.0

Published

JavaScript/TypeScript SDK + CLI for the UltraContext API

Readme

All agents. All machines. One Hub.

Introduction

Agents now do our work. Today, most of our knowledge and key decisions live inside context windows. But they are spread across many agents, computers, and teams.

Not anymore.

UltraContext Features

  • Auto-ingest — Captures contexts from your agents in realtime.
  • Realtime access — Immediately see contexts created on any machine, by any agent, whenever you want.
  • Collaborate — Share contexts across your team. See what everyone sees, instantly and without any friction.
  • Switch between agents — Pick up where one agent left off with another.
  • Open source — Own your data. Self-host when you need to.
  • Plug and play — Install and run with a single line of code.
  • Fork & clone — Continue contexts while preserving the full history.
  • Customizable — Add your own agents and extend behavior with the context API (Docs here).

Install

Requires Node >= 22.

npm install -g ultracontext

That's it. The setup wizard runs automatically — walks you through API key, sync preferences, and launches the dashboard.

Already installed? Run ultracontext config to reconfigure.

Quick Start

ultracontext              # start daemon + open dashboard
ultracontext config       # run setup wizard
ultracontext start        # start daemon only
ultracontext stop         # stop daemon
ultracontext status       # check if daemon is running
ultracontext tui          # open dashboard only

The default ultracontext command does everything: checks the daemon, starts it if needed, and opens the TUI dashboard.

How it works

  1. A daemon runs in the background, watching your agents.
  2. Contexts are ingested in realtime with the Context API.
  3. Your Context Hub gets updated.

We use a git-like context engineering API under the hood to interact with the agent's contexts. You can use it to add your own custom agents, tweak behavior and more. (Docs here)

When you open an existing session from the hub, it forks the context, so the original context is always preserved by default and automatically versioned so you can keep track of it later using metadata.

There is a local caching layer that prevents duplicate context creations and appends.

Star History

Star History Chart

Everything we built so far

  • Daemon - Runs in the background, watching your agents.
  • TUI - Terminal UI for the daemon.
  • Context API - Git-like context engineering API.
  • Context API SDKs - Node and Python SDKs.

The Context API

The Context API is the simplest way to control what your agents see. Replace messages, compact/offload long context, replay decisions and roll back mistakes with a single API call. Versioned context out of the box. Full history. Zero complexity. You can use the API standalone to build your own agents or to tweak behavior of existing ones in ultracontext. (Docs here)

Context API SDKs

| SDK | Install | Source | |-----|---------|--------| | JavaScript/TypeScript | npm install ultracontext | apps/js-sdk | | Python | pip install ultracontext | apps/python-sdk |

JavaScript/TypeScript

npm install ultracontext
import { UltraContext } from 'ultracontext';

const uc = new UltraContext({ apiKey: 'uc_live_...' });

const ctx = await uc.create();
await uc.append(ctx.id, { role: 'user', content: 'Hello!' });

// use with any LLM framework
const response = await generateText({ model, messages: ctx.data });

Python

pip install ultracontext
from ultracontext import UltraContext

uc = UltraContext(api_key="uc_live_...")

ctx = uc.create()
uc.append(ctx["id"], {"role": "user", "content": "Hello!"})

# use with any LLM framework
response = generate_text(model=model, messages=uc.get(ctx["id"])["data"])

Get an API key from the UltraContext Dashboard.

Documentation