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

@veedubin/boomerang-v3

v0.5.0

Published

Multi-agent orchestration plugin for OpenCode with memini-ai memory

Readme

Boomerang-v3

License: MIT OpenCode Plugin TypeScript v0.5.0

Intelligent multi-agent coordination for OpenCode with memini-ai memory.


v3.0.0 Highlights

NEW: memini-ai Integration — Boomerang v3 uses memini-ai for memory, replacing Super-Memory-TS. memini-ai is a Python-based semantic memory server with PostgreSQL/pgvector backend.

| Feature | Description | |---------|-------------| | Trust-Weighted Memory | Every memory has a trust score (0.0-1.0), adjusted by agent feedback | | Memory Graph | Track relationships (SUPERSEDES, RELATED_TO, CONTRADICTS, DERIVED_FROM) | | Knowledge Graph | Entity extraction, inference chains, semantic relationships | | Tiered Loading | L0/L1/L2 summaries for efficient context loading | | Contradiction Detection | Find and resolve conflicting memories | | PostgreSQL + pgvector | Production-grade vector storage with streaming diskANN |


Features

  • Trust-weighted memory context — Memories have trust scores adjusted by usage
  • Memory graph for decision tracking — Track relationships between memories
  • Tiered loading (L0/L1/L2) — Efficient context abstraction
  • Contradiction detection — Find and resolve conflicting memories
  • Knowledge graph integration — Entity extraction and inference
  • Thought Chains — Structured reasoning traces for complex problem solving
  • Multi-Peer & Dialectic Memory — Collaborative memory sharing and dialectic resolution
  • Python-based memini-ai — Modern memory server with FastMCP (PyPI)

Requirements

  • Node.js 18+
  • Python 3.11+ (for memini-ai)
  • PostgreSQL with pgvector (or Qdrant as fallback)

Optional: Live Visualization

memini-ai includes a live D3.js visualization for the knowledge graph:

cd memini-ai-dev
export MEMINI_DB_URL="postgresql://user:password@localhost:5432/postgres"  # Set your actual DB URL
uvx --from memini-ai-dev memini-ai --server --port 8000

Then open http://localhost:8000 for the interactive graph visualization.


Installation

npm install @veedubin/boomerang-v3

Configuration

Add to your .opencode/opencode.json. If using Ollama Cloud, ensure your provider is configured with baseURL: "https://ollama.com/v1".

{
  "plugin": ["@veedubin/boomerang-v3"],
  "mcp": {
    "memini-ai-dev": {
      "type": "local",
      "command": ["uvx", "--from", "memini-ai-dev", "memini-ai", "--stdio"],
      "environment": {
        "MEMINI_DB_URL": "{env:MEMINI_DB_URL}",
        "MEMINI_EMBEDDING_DIM": "384",
        "MEMINI_TRUST_ENGINE": "true",
        "MEMINI_MEMORY_GRAPH": "true",
        "MEMINI_KG_ENABLED": "true",
        "MEMINI_TIERED_LOADING": "true",
        "MEMINI_AUTO_EXTRACT": "true",
        "MEMINI_PRECOMPRESS": "true",
        "MEMINI_USER_MODELING": "true",
        "MEMINI_DECAY_ENABLED": "true",
        "MEMINI_MULTI_PEER_ENABLED": "true",
        "MEMINI_DIALECTIC_ENABLED": "true",
        "THOUGHT_CHAINS": "true"
      },
      "timeout": 60000,
      "enabled": true
    }
  }
}

Environment Variables

| Variable | Description | Default | |----------|-------------|---------| | MEMINI_DB_URL | PostgreSQL connection URL | Set via .env (see .env.example) | | MEMINI_PROJECT_ID | Project namespace | auto-generated | | MEMINI_EMBEDDING_DIM | 1024 or 384 | 1024 | | MEMINI_DEVICE | auto, gpu, cpu | auto | | MEMINI_TRUST_ENGINE | Enable trust scoring | false | | MEMINI_MEMORY_GRAPH | Enable memory graph | false | | MEMINI_KG_ENABLED | Enable knowledge graph | false |


Quick Start with Docker Compose

Start PostgreSQL with pgvector

docker run -d --name postgres-test \
  -e POSTGRES_PASSWORD=password \
  -p 5434:5432 \
  timescale/timescaledb:latest-pg15

Start memini-ai

cd memini-ai-dev
export MEMINI_DB_URL="postgresql://user:password@localhost:5434/postgres"  # Set your actual DB URL
uvx --from memini-ai-dev memini-ai --stdio

Run Boomerang

npm run build
npm run typecheck
npm run lint
npx vitest run

Architecture

What Boomerang Is

Boomerang is an orchestration plugin for OpenCode, not a standalone agent execution system.

  • Boomerang's role: Analyze requests, query memory, select appropriate agent, build rich Context Package
  • OpenCode's role: Handle agent execution natively using its own agent spawning mechanism
  • memini-ai's role: Persistent memory with trust scoring, knowledge graph, and tiered loading

How It Works

User Request
      │
      ▼
┌─────────────────┐
│  Boomerang      │  ← Pure decision layer
│  Orchestrator    │     - Analyzes request
│                  │     - Queries memini-ai
│                  │     - Selects agent
│                  │     - Builds Context Package
└─────────────────┘
      │
      ▼ (Context Package returned to OpenCode)
┌─────────────────┐
│  OpenCode       │  ← Native agent execution
│  Agent Runner   │     - Executes selected agent
│                  │     - Handles lifecycle
└─────────────────┘
      │
      ▼ (Memory operations via MCP)
┌─────────────────┐
│  memini-ai      │  ← Memory server
│  (Python)       │     - Trust scoring
│                  │     - Knowledge graph
│                  │     - Tiered loading
└─────────────────┘

Orchestrator (Pure Decision Layer)

The BoomerangOrchestrator class provides:

| Method | Description | |--------|-------------| | analyzeTask() | Detect task type from request keywords | | selectAgent() | Choose appropriate agent based on task type | | queryMemory() | Search memini-ai for relevant context | | buildContextPackage() | Create rich context for sub-agent | | orchestrate() | Main entry — returns {agent, systemPrompt, contextPackage, suggestions} |

Context Package System

Boomerang passes comprehensive context to sub-agents:

  • Original user request (verbatim)
  • Task background and constraints
  • Relevant files and code snippets
  • Expected output format
  • Scope boundaries and escalation targets

This ensures sub-agents have everything they need to work effectively.

memini-ai Hub

memini-ai is the central knowledge base:

  • Query before responding — Orchestrator checks memory for relevant context
  • Save after completing — Agents save detailed work to memory
  • Thin responses — Sub-agents return concise summaries + memory references
  • Thick memory — Full details stored for future retrieval with trust scoring

Memory System

Trust Engine

Every memory starts at trust=0.5 and is adjusted based on feedback:

| Signal | Trust Adjustment | |--------|------------------| | agent_used | +0.05 | | user_confirmed | +0.10 | | agent_ignored | -0.05 | | user_corrected | -0.10 |

Memory Graph

Track relationships between memories:

| Relationship | Description | |-------------|-------------| | SUPERSEDES | New memory replaces old one | | RELATED_TO | Memories are semantically related | | CONTRADICTS | Memories conflict | | DERIVED_FROM | Memory was derived from another |

Tiered Loading

| Tier | Description | Use Case | |------|-------------|----------| | L0 Summary | ~100 tokens, high-trust memories only | Session start | | L1 Key Decisions | ~2K tokens, trust ≥ 0.8 | Planning | | L2 Full Context | All memories | Deep research |

Knowledge Graph

memini-ai tracks entities and relationships:

| Tool | Purpose | |------|---------| | query_kg | Execute formal KG queries | | extract_entities | Extract entities from a memory | | get_entity_graph | Get all connections for an entity | | get_inference_chain | Find inference paths between entities |


Commands

| Command | Description | |---------|-------------| | npm run build | Build TypeScript to dist/ | | npm run typecheck | Run TypeScript type checking | | npm run lint | Run ESLint | | npx vitest run | Run test suite |


Project Structure

boomerang-v3/
├── src/
│   ├── index.ts              # Plugin interface
│   ├── orchestrator.ts       # Pure decision layer
│   ├── protocol/             # ProtocolAdvisor (mandatory enforcement)
│   ├── execution/            # TaskRunner (prompt builder only)
│   └── agents/               # Agent definitions
├── .opencode/
│   └── skills/               # Skill definitions
├── packages/
│   └── opencode-plugin/      # OpenCode plugin package
├── tests/                   # Test suite
├── AGENTS.md                # Agent roster
├── README.md                # This file
└── package.json             # @veedubin/boomerang-v3

Release History

  • v0.5.0 — Agent permission overhaul: replaced wildcard tool patterns with explicit allow-lists per agent role. Security fix: boomerang-release no longer has GitHub MCP access (local-only). boomerang-git now has explicit GitHub MCP tools for remote operations. ~57-73% reduction in tool description tokens per request.
  • v0.4.3 — Fixed critical env var mismatch for thought chains: MEMINI_THOUGHT_CHAINS_ENABLEDTHOUGHT_CHAINS
  • v0.4.2 — Removed deprecated sequential-thinking references, cleaned up orchestrator SKILL.md
  • v0.4.1 — Documentation refresh, stale version references corrected across monorepo

License

MIT License — see LICENSE for details.


Built with 🚀 by Veedubin

Your AI development team, on demand.