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

@mukundakatta/agentkit

v0.1.0

Published

The agent reliability stack: fit, guard, snap, vet, cast. One install for all five sibling libraries (token-aware truncation, network-egress firewall, snapshot tests, tool-arg validation, structured-output enforcer).

Readme

agentkit

The agent reliability stack in one install. Five small, focused, zero-dep libraries that fix the boring problems every long-running agent eventually hits.

npm install @mukundakatta/agentkit
import { fit, firewall, expectSnapshot, vet, cast } from '@mukundakatta/agentkit';

What's in the box

| Symbol | From | What it does | |---|---|---| | fit, count, OverBudgetError | agentfit | Fit messages into a token budget | | firewall, wrapFetch, policy, check, PolicyViolation | agentguard | Network-egress firewall for tools | | record, traceTool, expectSnapshot, diff | agentsnap | Snapshot tests for tool-call traces | | vet, validate, vetAdapters, ToolArgError | agentvet | Validate tool args before execution | | cast, extractJson, castAdapters, CastError | agentcast | Structured-output enforcer |

adapters is re-exported as vetAdapters and castAdapters to avoid the name collision. For the full surface of any one library, use the subpath import:

import * as fitLib from '@mukundakatta/agentkit/fit';
import * as guardLib from '@mukundakatta/agentkit/guard';
// ...

Pipeline

The libraries compose into a natural agent reliability pipeline — fit → guard → snap → vet → cast:

fit messages       → fit a chat history into the model's budget
firewall fetches   → block tool fetches outside the allowlist
expectSnapshot     → diff this run's tool calls against a baseline
vet args           → validate args before each tool runs
cast output        → validate the model's structured response

You don't have to use all five — pick the ones you need. They share no state and are deliberately uncoupled.

Why a meta-package

Every individual library is one npm install away too. agentkit exists because the typical real-world setup uses three or more of them, and a single package makes the dependency story cleaner: one row in package.json, one import line, one version to bump.

Sibling MCP servers

Each library also ships as an MCP server so Claude Desktop, Cursor, Cline, Windsurf, and Zed can call them mid-conversation:

npx -y @mukundakatta/agentfit-mcp
npx -y @mukundakatta/agentguard-mcp
npx -y @mukundakatta/agentsnap-mcp
npx -y @mukundakatta/agentvet-mcp
npx -y @mukundakatta/agentcast-mcp

License

MIT