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

agentoctopus

v0.4.10

Published

Intelligent routing layer that connects user needs to Skills and MCPs — install once, use everything

Downloads

1,956

Readme

agentoctopus

Intelligent routing layer that connects user needs to Skills and MCPs — install once, use everything.

This is the all-in-one package for AgentOctopus. It re-exports everything from the individual packages so you only need a single install.

Install

# All-in-one (library + CLI)
npm install -g agentoctopus
octopus ask "translate hello to French"

# Or as a project dependency
npm install agentoctopus

CLI Usage

octopus ask "translate hello to French"     # route to best skill
octopus ask "what's the weather in Tokyo?"  # weather skill
octopus ask "look up 8.8.8.8"              # ip-lookup skill
octopus list                                # show all skills

Library Usage

Route a query to a skill

import { SkillRegistry, Router, Executor, createEmbedClient, createChatClient } from 'agentoctopus';

const registry = new SkillRegistry('./registry/skills');
await registry.load();

const embedClient = createEmbedClient({
  provider: 'openai',
  model: 'text-embedding-3-small',
  apiKey: process.env.OPENAI_API_KEY,
});

const chatClient = createChatClient({
  provider: 'openai',
  model: 'gpt-4o-mini',
  apiKey: process.env.OPENAI_API_KEY,
});

const router = new Router(registry, embedClient, chatClient);
await router.buildIndex();

const [best] = await router.route('translate hello to French');
if (best) {
  const executor = new Executor();
  const result = await executor.execute(best.skill, { query: 'translate hello to French' });
  console.log(result.formattedOutput); // 'Bonjour'
}

Start a Slack bot

import { startSlackGateway } from 'agentoctopus';

await startSlackGateway({
  appOptions: {
    token: process.env.SLACK_BOT_TOKEN,
    signingSecret: process.env.SLACK_SIGNING_SECRET,
    socketMode: true,
    appToken: process.env.SLACK_APP_TOKEN,
  },
});

Start a Discord bot

import { startDiscordGateway } from 'agentoctopus';

await startDiscordGateway({ token: process.env.DISCORD_TOKEN });

Start a Telegram bot

import { startTelegramGateway } from 'agentoctopus';

await startTelegramGateway({ token: process.env.TELEGRAM_BOT_TOKEN });

Mount the agent-to-agent protocol

import express from 'express';
import { createAgentRouter } from 'agentoctopus';

const app = express();
app.use(express.json());
app.use('/agent', await createAgentRouter());
app.listen(3002);

Individual Packages

If you only need a subset:

| Package | What it provides | |---|---| | @agentoctopus/cli | CLI (octopus ask, octopus list) | | @agentoctopus/core | Router, Executor, LLM client | | @agentoctopus/gateway | Slack/Discord/Telegram bots, agent HTTP API | | @agentoctopus/registry | Skill manifest loader, rating store | | @agentoctopus/adapters | HTTP, MCP, subprocess adapters |

Configuration

LLM_PROVIDER=openai          # openai | gemini | ollama
LLM_MODEL=gpt-4o-mini
OPENAI_API_KEY=sk-...

EMBED_PROVIDER=openai
EMBED_MODEL=text-embedding-3-small
EMBED_API_KEY=
EMBED_BASE_URL=

REGISTRY_PATH=./registry/skills
RATINGS_PATH=./registry/ratings.json

License

Apache 2.0