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

@gumbee/agent

v1.4.3

Published

Agent framework with rich widget and middleware support

Readme

@gumbee/agent

npm version License

A powerful, composable agent framework built on the Vercel AI SDK.

========================

AgentsToolsMemoryStop ConditionsContextMiddlewareObservabilityTracing

Features

  • Hierarchical Agents — Agents can use other agents as tools, enabling complex multi-agent workflows
  • Typed Tools — Define tools with Zod schemas for type-safe inputs and outputs
  • Middleware — Composable middleware for fallbacks, logging, caching, and more
  • Rich Widgets — Stream structured widget outputs for dynamic UI rendering
  • Execution Graph — Full execution tracking for debugging and persistence
  • Provider Agnostic — Works with OpenAI, Anthropic, Google, and any AI SDK provider
  • Observability - Observability dashboard for debugging agents shipped with the @gumbee/agent package

AgentDashboard

Installation

  1. Install @gumbee/agent package and make sure peer dependency ai is installed as well

    bun add @gumbee/agent ai
  2. Install any ai-sdk providers you'd like to use (check Vercel docs for more info on the ai sdk)

    bun add @ai-sdk/openai # @ai-sdk/google @ai-sdk/anthropic

Quick Start

import { agent, tool, z } from "@gumbee/agent"
import { observability } from "@gumbee/agent/observability"
import { openai } from "@ai-sdk/openai"

// Define a tool
const searchTool = tool({
  name: "search",
  description: "Search the web",
  input: z.object({ query: z.string() }),
  execute: async ({ query }) => {
    return { results: await search(query) }
  },
})

// Create an agent with observability enabled
const myAgent = agent({
  name: "assistant",
  description: "A helpful assistant",
  model: openai("gpt-4o"),
  system: "You are a helpful assistant.",
  tools: [searchTool],
  middlewares: [observability()],
})

// Run the agent
const { stream } = myAgent.run("What's the weather in Tokyo?")

for await (const event of stream) {
  if (event.type === "agent-stream" && event.part.type === "text-delta") {
    process.stdout.write(event.part.textDelta)
  }
}

Start the observability dashboard before running your agent:

# Start the observability dashboard server (default port: 4500)
bunx observe

# Open the dashboard in your browser at http://localhost:4500

Development

For build information, check the package.json scripts. This package is part of the Gumbee ecosystem of packages used by myself to build various personal projects and ideas.

To report bugs or submit patches please use GitHub issues.

Releasing

This package uses changesets for version management and GitHub Actions for automated publishing.

Creating a Changeset

When you make changes that should be released, create a changeset:

bun changeset

This will prompt you to:

  1. Select the type of change (patch, minor, major)
  2. Write a summary of the changes

Commit the generated changeset file (in .changeset/) with your changes.

Publishing a Release

When ready to release:

# 1. Apply changesets to bump version and update CHANGELOG
bun run version

# 2. Commit the version bump
git add .
git commit -m "chore: release v1.x.x"

# 3. Create and push the tag
git tag v1.x.x
git push origin main --tags

The GitHub Actions workflow will automatically build and publish to npm when the tag is pushed.

License

MIT