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

@kb-labs/agent-tools

v2.94.0

Published

Agent management tools for planning, coordination, and execution

Readme

@kb-labs/agent-tools

Tool registry and implementations for KB Labs agents. Provides all tools an agent can call through LLM function calling.

Tools

| Tool | Module | Description | |------|--------|-------------| | fs_read | filesystem | Read file contents | | fs_write | filesystem | Write/create files | | fs_list | filesystem | List directory contents | | fs_search | filesystem | Search files by pattern | | grep_search | search | Regex search across files | | glob_search | search | Find files by glob pattern | | semantic_search | search | Semantic code search (Mind RAG) | | shell_exec | shell | Execute shell commands (sandboxed) | | memory_read | memory | Read agent memory | | memory_write | memory | Write to agent memory | | todo_create | reporting | Create todo items | | todo_update | reporting | Update todo status | | delegate_task | delegation | Delegate subtask to another agent | | ask_user | interaction | Request user input | | mass_replace | mass-replace | Bulk find-and-replace across files |

Usage

import { createToolRegistry } from '@kb-labs/agent-tools';

const registry = createToolRegistry(context);

// Get tool definitions for LLM function calling
const tools = registry.getDefinitions();

// Execute a tool call
const result = await registry.execute('fs_read', { path: 'src/index.ts' });

Tool Configuration

Permissions and sandbox rules defined in src/config.ts:

  • File system access boundaries
  • Shell command allowlists
  • Memory size limits
  • Network access rules

Structure

src/
├── types.ts          # Tool interface definitions
├── registry.ts       # Tool registry (register, get, execute)
├── config.ts         # Permissions and sandbox configuration
├── utils.ts          # Shared utilities
└── tools/
    ├── index.ts      # createToolRegistry factory
    ├── filesystem.ts # File read/write/list/search
    ├── search.ts     # grep, glob, semantic search
    ├── shell.ts      # Shell command execution
    ├── memory.ts     # Agent memory operations
    ├── reporting.ts  # Todo and reporting tools
    ├── delegation.ts # Task delegation
    ├── interaction.ts# User interaction
    └── mass-replace.ts

Dependencies

  • @kb-labs/agent-contracts — shared types
  • @kb-labs/core-platform — platform services (semantic search)
  • glob — file pattern matching