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

thoth-agents

v0.1.8

Published

Delegate-first OpenCode plugin with seven agents, thoth-mem persistence, and bundled SDD skills.

Readme


thoth-agents is a delegate-first agent system for coding harnesses. It started as an OpenCode plugin and now provides a shared seven-agent workflow for OpenCode and Codex, with each harness getting the integration surface that fits it best.

OpenCode remains the stable default path: native plugin install, native task delegation, optional tmux monitoring, and generated config. Codex is supported through an explicit agent-pack and Personal plugin setup path, with documented trust review and instruction-level governance caveats where Codex does not provide the same hard runtime controls.

What It Is

  • A canonical seven-agent roster: orchestrator, explorer, librarian, oracle, designer, quick, and deep.
  • A delegate-first operating model that keeps the root coordinator focused on decisions while specialists gather evidence, implement, review, and verify.
  • A bundled requirements interview and SDD pipeline for moving from ambiguous requests to planned, verified implementation.
  • A thoth-mem integration for durable project memory, SDD artifacts, and cross-session recovery.
  • A multi-harness package that preserves OpenCode defaults while adding a Codex setup path.

What It Is Not

  • It is not a claim that every harness has identical runtime behavior.
  • It is not a replacement for each harness's security, trust, sandbox, or approval model.
  • It does not rename the seven roles or require new visual assets.
  • It does not make Codex tmux-aware; tmux integration is scoped to OpenCode child task sessions.

Harness Support

| Harness | Status | Setup path | Notes | | --- | --- | --- | --- | | OpenCode | Stable default | npx thoth-agents@latest install or npx thoth-agents@latest install --agent=opencode | Native plugin config, native task delegation, optional tmux panes, OpenCode provider auth. | | Codex | Supported explicit path | npx thoth-agents@latest install --agent=codex | Installs ambient/root guidance, six role subagents, and a Personal plugin source. Requires /plugins and /hooks trust review. Some governance remains instruction-level. |

OpenCode can load the plugin with:

{
  "plugin": ["thoth-agents@latest"]
}

That plugin entry is not a shell command. To run the installer or TUI, use the npm binary through a global install, npx thoth-agents@latest, or pnpm dlx thoth-agents@latest.

Quick Start

Run the binary with no arguments in an interactive terminal to open the multi-harness TUI:

npx thoth-agents@latest

The same no-argument binary invocation falls back to the OpenCode install path in CI, redirected, or TERM=dumb terminals. Use explicit commands when you need deterministic automation.

OpenCode

npx thoth-agents@latest install
npx thoth-agents@latest install --agent=opencode
opencode auth login
opencode

Then ask OpenCode to verify the roster:

ping all agents

For non-interactive setup:

npx thoth-agents@latest install --no-tui --tmux=no --skills=yes

Interactive status, list, update, sync, and model previews are available from the no-argument TUI. Command help also documents the explicit command names for terminal workflows.

Codex

Review the plan first, then install explicitly:

npx thoth-agents@latest install --agent=codex --dry-run
npx thoth-agents@latest install --agent=codex

Restart Codex and review plugin/hook trust:

/plugins
/hooks

Codex install does not create a selectable orchestrator TOML, does not bypass trust review, and does not make role permissions or memory governance hard runtime guarantees unless Codex exposes those controls.

Reset Generated Config

npx thoth-agents@latest install --reset

Seven-Agent Roster

The delegate-first philosophy is simple: the orchestrator coordinates while specialists execute. Shared concepts are the same across harnesses, but the dispatch mechanism is harness-bound. In OpenCode, specialists are launched with the native task tool. In Codex, the installed role agents and plugin-bundled skills provide the closest supported workflow, with some behavior enforced by instructions rather than hard runtime APIs.

Primary Agent

Specialist Subagents

SDD And Memory

The bundled requirements interview is the front door for open-ended work. It clarifies intent, assesses scope, asks for user approval when needed, and routes work into direct implementation, accelerated SDD, or full SDD.

propose -> [spec || design] -> tasks -> apply -> verify -> archive

For moderate work, the accelerated path usually runs propose -> tasks. For high-risk or high-complexity work, the full path adds specification and design artifacts before task execution.

Artifacts can be persisted in four modes:

| Mode | Writes to | Cost | Use when | | --- | --- | --- | --- | | thoth-mem | Memory only | Low | Fast iteration without repo planning files | | openspec | openspec/ files only | Medium | Reviewable planning artifacts in the repo | | hybrid | Both | High | Maximum durability; default | | none | Neither | Lowest | Ephemeral iterations, no persistence |

Thoth-mem is the local memory MCP used for durable observations, architectural decisions, SDD artifacts, and session summaries. The core retrieval pattern is:

  1. mem_search for compact candidate records
  2. mem_timeline for chronological context
  3. mem_get_observation for the full selected record

Skills And MCPs

thoth-agents ships bundled skills for requirements discovery, plan review, SDD planning/execution, verification, and archiving. It also registers MCP servers for docs research, public code search, and local memory where the harness supports that delivery surface.

| Surface | Shared concept | OpenCode binding | Codex binding | | --- | --- | --- | --- | | Skills | Requirements, SDD, review, execution workflows | Copied into the OpenCode skills directory when --skills=yes | Packaged as plugin-bundled skills for the Personal plugin source | | MCPs | exa, context7, grep_app, thoth_mem | Registered by generated OpenCode plugin config | Packaged/configured only on validated Codex surfaces | | Delegation | Seven-role specialist workflow | Native task tool | Custom agents plus prompt/plugin guidance | | Blocking choices | Use a structured question surface | OpenCode question tool | request_user_input when enabled and available |

See docs/skills-and-mcps.md for the detailed matrix.

Documentation

Development

The OpenCode integration targets @opencode-ai/plugin and @opencode-ai/sdk v1.4.7. The repository also contains Codex adapter and packaging code for the multi-harness install path.

Use Node.js >=22.13 with Corepack-managed [email protected]:

corepack enable
corepack prepare [email protected] --activate
pnpm install

| Command | Purpose | | --- | --- | | pnpm run build | Build TypeScript into dist/ and generate declarations/schema | | pnpm run typecheck | Run TypeScript type checking without emit | | pnpm test | Run the Vitest suite | | pnpm run lint | Run Biome linter | | pnpm run format | Run Biome formatter | | pnpm run check | Run Biome check with auto-fix | | pnpm run check:ci | Run Biome check without writes | | pnpm run dev | Build and launch the OpenCode plugin in local dev mode |

License

MIT