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

@itsshadowai/delve

v0.2.7

Published

Coral-backed multi-agent research CLI with a SQLite blackboard and Delve-style negotiation.

Readme

delve

Coral-backed multi-agent research CLI. Delve starts a local Coral session, launches specialist research agents, gathers live sources with Exa, writes shared state to SQLite, blocks finalization until negotiation verdicts exist, and emits a structured final package for downstream synthesis.

The npm package is @itsshadowai/delve; the installed command is delve.

Install

npm i -g @itsshadowai/delve
delve --help

Delve requires Node.js 24 or newer because the blackboard uses node:sqlite.

Uninstall

npm does not run package cleanup hooks on uninstall, so remove Delve-owned local state before removing the global package:

delve uninstall --dry-run
delve uninstall
npm uninstall -g @itsshadowai/delve

delve uninstall removes ${DELVE_HOME:-~/.delve} and the packaged Codex skill at ${CODEX_HOME:-~/.codex}/skills/delve. If that skill was locally edited, pass --force to remove it. Project-local research outputs such as .delve/blackboard.db and artifacts/ are left alone.

If you already removed the CLI first, clean the default paths manually:

rm -rf ~/.delve ~/.codex/skills/delve

Prerequisites

Required for live research:

  • EXA_API_KEY for source search and fetch.
  • CORAL_API_KEY for Coral Cloud's LLM proxy.

Recommended:

  • Install a LaTeX compiler such as tectonic if you want Codex or local scripts to turn generated .tex drafts into PDFs.

Optional:

  • CORAL_SERVER_URL, defaults to http://localhost:5555.
  • CORAL_SERVER_AUTH_KEY, defaults to dev.

Example shell setup:

export EXA_API_KEY="..."
export CORAL_API_KEY="..."
export DELVE_MODEL="deepseek-v4-pro"

Or store credentials through Delve without echoing them in the terminal:

delve set auth exa
delve set auth coral
delve model select # or: delve model set deepseek-v4-pro

delve set auth prompts with terminal echo disabled and writes ${DELVE_HOME:-~/.delve}/config.env with file mode 0600. Shell environment variables and a project-local .env override stored defaults. For automation, pipe a token through stdin:

printf '%s\n' "$CORAL_API_KEY" | delve set auth coral --stdin

Or create a project-local .env in the directory where you run delve:

EXA_API_KEY=
CORAL_API_KEY=
DELVE_MODEL=deepseek-v4-pro
CORAL_SERVER_URL=http://localhost:5555
CORAL_SERVER_AUTH_KEY=dev

First Run

From the project directory where you want outputs:

delve init
delve codex install-skill
delve set auth coral
delve set auth exa
delve model select # or: delve model set deepseek-v4-pro
delve --json doctor

delve init creates the blackboard and artifact directories it reports, then prints the local setup checklist: expected credentials, output paths, optional LaTeX tooling, Coral reachability, and Codex skill status.

delve codex install-skill copies the packaged Delve skill into ${CODEX_HOME:-~/.codex}/skills/delve. It does not run automatically during npm install; the write into Codex's skill directory is explicit. Use --dry-run to preview and --force to replace an existing non-matching skill.

Run a live research pass:

delve --json research run \
  --topic "Can query-adaptive retrieval budgeting preserve evidence recall while reducing retrieval work?" \
  --format markdown \
  --db .delve/blackboard.db \
  --out artifacts \
  --topology dynamic-revision \
  --coral-url http://localhost:5555 \
  --auth-key dev

delve research run auto-starts Coral on the requested loopback URL when it is not already reachable. If port 5555 is busy, use another local port:

delve --json research run \
  --topic "your topic" \
  --db .delve/blackboard.db \
  --out artifacts \
  --coral-url http://localhost:5556

Defaults write to the current working directory:

  • .delve/blackboard.db
  • artifacts/<run-id>/research.md
  • artifacts/<run-id>/final-package.json

Inspect A Run

Use the runId printed by research run:

delve --json blackboard notes --run <run-id> --db .delve/blackboard.db
delve --json blackboard sources --run <run-id> --db .delve/blackboard.db
delve --json blackboard claims --run <run-id> --db .delve/blackboard.db
delve --json blackboard negotiation --run <run-id> --db .delve/blackboard.db
delve --json blackboard quality --run <run-id> --db .delve/blackboard.db
delve --json blackboard topology --run <run-id> --db .delve/blackboard.db
delve --json final --file artifacts/<run-id>/final-package.json

blackboard quality is the main audit command. It summarizes degraded agent work, revision requests, and dissenting verdicts.

Codex Skill

Install or update the packaged Codex skill:

delve codex install-skill

Check where the skill would be installed:

delve codex skill-status
delve codex install-skill --dry-run

The target defaults to ${CODEX_HOME:-~/.codex}/skills/delve. To install somewhere else:

delve codex install-skill --target /path/to/skills/delve

Offline Smoke

The offline fixture is deterministic and does not do live research. Use it only to verify install wiring:

delve --json research run \
  --topic "optimisation techniques for real-time voice agents" \
  --format markdown \
  --db /tmp/delve-fixture/blackboard.db \
  --out /tmp/delve-fixture/artifacts \
  --offline-fixture

JSON Contract

Use --json for stable machine-readable output. Commands return plain JSON values. Errors under --json use:

{
  "ok": false,
  "error": "message"
}

Secrets are never printed in full. doctor reports only presence and source category.

Topology Modes

--topology fixed is the default. It runs the specialist roster, records notes/claims/sources, then requires negotiation before finalization.

--topology dynamic-revision keeps the same specialist roster but turns current revise verdicts into targeted follow-up tasks before finalization. After follow-up notes are written, Delve requests a post-revision verdict pass so a resolved task is not mistaken for accepted synthesis. It records revision tasks, post-revision review events, and topology events in SQLite and final-package.json.

Model And Source Routing

Live agents search and fetch sources through Exa MCP:

  • web_search_exa
  • web_search_advanced_exa
  • web_fetch_exa

Agent synthesis uses Coral Cloud's OpenAI-compatible LLM proxy when CORAL_API_KEY is configured:

  • default model: deepseek-v4-pro
  • selected model: ${DELVE_MODEL:-deepseek-v4-pro}

Use these commands to inspect or change the model:

delve model status
delve model list
delve model select
delve model set deepseek-v4-pro

delve model list uses Coral Cloud model listing when CORAL_API_KEY is configured. If a live Coral proxy URL is explicitly supplied, it can also read that OpenAI-compatible /v1/models endpoint; otherwise it falls back to the model configured for Delve.

If model synthesis fails, Delve writes an extractive source-backed fallback note and marks the work as degraded.

Codex Synthesis Handoff

Delve does not create native .docx or .pptx deliverables. Codex owns final artifact synthesis.

Use final-package.json as the source of truth. Important fields:

  • usableFinal and qualityGate: machine-readable signal for whether downstream Codex should treat the package as accepted synthesis.
  • finalizationBlockedBeforeNegotiation: whether Delve's pre-negotiation guard blocked early finalization during the run.
  • notes: role-specific blackboard notes with source metadata.
  • sources: deduplicated sources with domains, reliability notes, and linked note IDs.
  • claims: evidence-backed claims with confidence, caveats, and source URLs.
  • negotiation: debate transcripts and verdicts.
  • runQuality: degraded work, revision requests, and dissenting verdicts.
  • topologyTrace: selected topology mode, topology events, revision tasks, open tasks, and degraded topology actions.
  • synthesis.document.recommendedSections: suggested long-form document sections.
  • synthesis.slides.recommendedSlides: suggested slide structure.
  • markdown: a ready Markdown research artifact.

Architecture

  • src/cli.ts: Commander CLI and JSON envelope handling.
  • src/coral-client.ts: live Coral REST and Puppet client.
  • src/research-runner.ts: live/offline orchestration, blocking finalization, artifact writing.
  • src/blackboard.ts: SQLite schema, safe read tools, finalization rules.
  • src/exa-research.ts: Exa MCP search/fetch normalization.
  • src/llm-client.ts: Coral Cloud LLM proxy JSON model calls.
  • src/agent-research.ts: role-specific research and negotiation synthesis.
  • src/eve-coral-agent.ts: Coral MCP bridge used by the local agent manifests.
  • agent/: Vercel Eve project files, specialist subagents, blackboard tools, and Exa MCP connection.
  • agents/: Coral executable agent manifests and startup scripts.