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

@unbrowse/openai-agents

v0.1.0

Published

Unbrowse tools for the OpenAI Agents SDK (@openai/agents). Exposes resolve/execute/search as native tool() instances an Agent can call — every tool routes through Unbrowse's resolved-route marketplace cache.

Downloads

28

Readme

@unbrowse/openai-agents

Unbrowse tools for the OpenAI Agents SDK (@openai/agents).

Drop three Unbrowse tools into any Agent so it can resolve an intent to a ranked API shortlist, execute a resolved endpoint, or do both in one shot — every call routed through Unbrowse's resolved-route marketplace cache.

Install

npm install @openai/agents @unbrowse/openai-agents

Register

import { Agent } from '@openai/agents';
import { unbrowseTools } from '@unbrowse/openai-agents';

const agent = new Agent({
  name: 'web-agent',
  instructions: 'Use the unbrowse tools to fetch live data from the web.',
  tools: unbrowseTools, // resolve, execute, search
});

unbrowseTools is a plain array of tool objects in the OpenAI Agents SDK runtime shape ({ name, description, parameters, execute }), which the SDK accepts directly. If you want real tool() instances built by the SDK itself, use the factory and pass in the SDK's tool:

import { tool } from '@openai/agents';
import { createUnbrowseTools } from '@unbrowse/openai-agents';

const tools = createUnbrowseTools({ tool });
const agent = new Agent({ name: 'web-agent', tools });

You can also import each tool individually:

import {
  unbrowseResolveTool,
  unbrowseExecuteTool,
  unbrowseSearchTool,
} from '@unbrowse/openai-agents';

Tools

| tool | args | does | | ----------------- | ----------------------------- | --------------------------------------------------------------- | | unbrowse_resolve | { url, intent } | Ranked shortlist of cached endpoints for an intent + URL. | | unbrowse_execute | { endpoint_id, params? } | Run a resolved endpoint by id, returning its result body. | | unbrowse_search | { query, url? } | Resolve a query and execute the top hit in one shot. |

Each tool's execute(args) resolves to a string (JSON-stringified result), which the SDK feeds back to the model as the tool output.

Configuration

| env | meaning | | ------------------- | ------------------------------------------------------------- | | UNBROWSE_API_URL | API base (falls back to UNBROWSE_BASE, then the default). | | UNBROWSE_BASE | Alternate API base. | | UNBROWSE_API_KEY | Bearer token sent as authorization. | | UNBROWSE_X_PAYMENT| x402 payment header (x-payment); X_PAYMENT also accepted. | | UNBROWSE_DRYRUN | 1 → deterministic offline synthesized result, no network. |

Honest scope

v0.1 wraps the public resolve + execute marketplace surface only. A cache miss returns { ok: false, error: "no_cached_match" } — there is no automatic browse-and-capture fallback in this adapter; capture a route first via the Unbrowse CLI/MCP, then these tools can serve it. unbrowse_search is a thin resolve→execute-top-hit convenience, not a full web search index.

Attribution: targets the public runtime tool shape of @openai/agents (MIT, https://github.com/openai/openai-agents-js). This package depends on nothing from the SDK; it produces objects the SDK consumes.

MIT.