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

orchestr8-mcp

v0.1.0

Published

Agent coordination for Claude Code — shared memory, smart routing, and learning.

Readme

orchestr8

CI npm version License: MIT

Agent coordination for Claude Code — shared memory, smart routing, and learning.

The Problem

When you spawn multiple agents in Claude Code, they're isolated: no shared state, no smart assignment, no memory between sessions. orchestr8 fixes that with 5 focused modules and 13 MCP tools.

Quick Start

As an MCP Server (for Claude Code)

npx orchestr8

Or add it permanently:

claude mcp add orchestr8 -- npx orchestr8

That's it. Claude Code now has access to 13 coordination tools. Memory persists to ~/.orchestr8/memory.db across sessions.

As a Library

npm install orchestr8
import { HybridBackend, SQLiteBackend, VectorBackend, createMemoryEntry } from 'orchestr8';

const memory = new HybridBackend(
  new SQLiteBackend({ databasePath: './my-project.db' }),
  new VectorBackend()
);
await memory.initialize();

// Store something agents can share
await memory.store(createMemoryEntry({
  key: 'auth-design',
  content: 'Use JWT with refresh tokens, 15min access token TTL',
  namespace: 'project-alpha',
  tags: ['architecture', 'auth'],
}));

// Another agent retrieves it
const design = await memory.retrieve('auth-design', 'project-alpha');

// Or search by tags
const results = await memory.query({
  type: 'tag',
  tags: ['architecture'],
  namespace: 'project-alpha',
});

MCP Tools

Memory

| Tool | Description | |------|-------------| | memory_store | Store an entry in a shared namespace | | memory_retrieve | Get an entry by key | | memory_search | Search by prefix, tags, or semantic similarity | | memory_delete | Delete an entry |

Coordinator

| Tool | Description | |------|-------------| | analyze_task | Score task complexity, decompose into subtasks | | score_agents | Rank agents by capability, load, performance, health, availability | | create_delegation_plan | Full delegation: analyze + score + assign + pick strategy |

Router

| Tool | Description | |------|-------------| | route_task | Match task to best agent type with confidence score | | record_outcome | Record success/failure to improve future routing |

Learning

| Tool | Description | |------|-------------| | store_pattern | Save a learned pattern from successful work | | search_patterns | Find relevant patterns by similarity | | consolidate_patterns | Promote, prune, and deduplicate patterns |

Message Bus

| Tool | Description | |------|-------------| | publish_message | Send a message between agents | | get_messages | Read recent messages with optional filters |

Architecture

orchestr8/
├── memory/          # Dual-write: SQLite (structured) + Vector (semantic)
├── coordinator/     # Task analysis → Agent scoring → Delegation planning
├── router/          # Pattern matching + historical success tracking
├── learning/        # Pattern store with promotion lifecycle
├── message-bus/     # Priority deque pub/sub
└── mcp/             # Thin MCP server layer exposing all above

Key Design Decisions

| Decision | Why | |----------|-----| | Dual-write memory | Every write goes to both SQLite and vector store — query structured or semantic | | Namespace isolation | Agents coordinate through shared namespaces, private state stays private | | 6-dimension scoring | Agents scored on capability, load, performance, health, availability — deterministic and tunable | | Strategy selection | Auto-picks sequential/parallel/pipeline/fan-out based on task structure | | Pattern promotion | Short-term patterns that prove useful get promoted to long-term storage | | Priority deques | O(1) message enqueue/dequeue with 4 urgency levels | | sql.js (WASM) | Pure JavaScript SQLite — no native compilation, works everywhere Node runs |

Configuration

| Env Variable | Default | Description | |-------------|---------|-------------| | ORCHESTR8_DATA_DIR | ~/.orchestr8 | Directory for persistent data |

Testing

npm test              # 90 tests across 13 suites
npm run test:watch    # Watch mode
npm run test:coverage # With coverage

Development

git clone https://github.com/mrzadexinho/orchestr8.git
cd orchestr8
npm install
npm run build
npm test

License

MIT — Idris Idriszade