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

@backendkit-labs/orchestrator-agent

v0.2.3

Published

Config-driven orchestration agent — decomposes tasks and coordinates specialist agents via shared vault and configurable LLM providers.

Readme

@backendkit-labs/orchestrator-agent

Config-driven multi-agent orchestration for enterprise workflows. Decomposes natural language tasks into sub-tasks, coordinates specialist agents via a shared knowledge vault, and enforces human approval gates — with full audit trail.

What it does

  • Plans: decomposes a task into a dependency-ordered plan (static flow or LLM-generated)
  • Executes: runs steps in parallel when dependencies allow, each delegated to a specialist agent
  • Gates: pauses for human approval at critical steps, either by config or by active policy rules
  • Persists: every run is saved to disk (or Redis) — survives restarts, resumes after gate approval
  • Learns: enterprise reflection monitors gate outcomes and promotes recurring failure patterns into deterministic policy rules
  • Remembers: completed runs are auto-distilled into the knowledge vault; specialist agents receive episodic context from past successful runs on similar tasks

Installation

npm install -g @backendkit-labs/orchestrator-agent
# or as a local dep in a monorepo
npm install @backendkit-labs/orchestrator-agent

Quick start (5 minutes)

1. Create orchestrator.yaml

version: 1

orchestrator:
  name: "My Orchestrator"
  provider: deepseek

providers:
  deepseek:
    api_key: ${DEEPSEEK_API_KEY}
    base_url: https://api.deepseek.com/v1
    model: deepseek-chat

agents:
  - id: analyst
    name: Data Analyst
    description: Analyzes data and produces reports
    capabilities: [analysis, reporting, metrics]
    provider: deepseek

  - id: writer
    name: Technical Writer
    description: Writes documents and summaries
    capabilities: [writing, documentation, summaries]
    provider: deepseek

2. Create .env

DEEPSEEK_API_KEY=sk-...

3. Wire into Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "orchestrator": {
      "command": "npx",
      "args": ["-y", "@backendkit-labs/orchestrator-agent"],
      "env": {
        "DEEPSEEK_API_KEY": "sk-..."
      }
    }
  }
}

4. Run a task (in Claude Desktop):

orchestrator_run
  config_path: /path/to/orchestrator.yaml
  task: "Analyze Q1 sales data and write an executive summary"

Feature overview

| Feature | Description | |---------|-------------| | Dynamic planning | LLM decomposes any task into a dependency-ordered plan | | Static flows | Pre-defined YAML workflows triggered by regex or flow_id | | Parallel execution | Independent steps run concurrently (Promise.all) | | Human gates | Steps pause for approval — configurable per-agent or per-step | | Policy rules (Cable 2) | Active rules automatically gate matching steps — no LLM involved | | LanceDB RAG | Incremental vault indexing with ANN search, fast at scale | | Redis + BullMQ | Distributed execution across worker processes for production | | HTTP trigger | REST endpoint for n8n / external system integration | | Enterprise reflection | MAPE-K: monitors outcomes → promotes patterns → enforces rules | | Run consolidation | Completed runs auto-distilled by LLM into vault — episodic→semantic loop | | Cross-run episodic memory | Agents receive past successful outputs for similar tasks as context | | Forgetting curve | Episodic memory prunes by relevance (recency × recall frequency), not just age |

MCP Tools

| Tool | Description | |------|-------------| | orchestrator_run | Start a task — returns runId immediately | | orchestrator_status | Poll status by runId | | orchestrator_approve | Approve or reject a waiting gate | | orchestrator_list_runs | List all persisted runs | | orchestrator_list_agents | Show configured agents | | orchestrator_reflect | View pending promotions, active rules, demotion candidates | | orchestrator_reflect_promote | Approve or reject a pattern promotion to policy rule | | orchestrator_reflect_demote | Demote a policy rule with audit trail |

Documentation

Data directory

By default, run state and RAG index live in .orchestrator/ adjacent to your orchestrator.yaml:

.orchestrator/
  runs/           ← JSON run files (one per run)
  rag-lance/      ← LanceDB vector index

Override with ORCHESTRATOR_DATA_DIR env var or data_dir in the YAML.

License

MIT