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

@duypham93/openkit

v0.3.6

Published

OpenKit is an AI software factory for OpenCode.

Readme

OpenKit

1. Hero

OpenKit is an AI software factory for OpenCode.

It helps OpenCode behave more like a real software team instead of a single chat session:

  • route work through the right delivery mode
  • split responsibilities across specialized agents
  • keep workflow state, approvals, issues, and evidence explicit
  • reduce hallucinated completion claims through runtime checks and verification gates

If you remember one command after launch, remember this: start with /task.

2. Why OpenKit

OpenKit exists to solve common failure modes in AI-assisted software work:

  • everything gets treated like the same kind of task
  • agents jump into code without enough planning or validation
  • completion is declared without enough evidence
  • context is lost between sessions
  • multi-step work has no shared state, no ownership, and no audit trail

It addresses that with:

  • explicit modes for different kinds of work
  • role-based handoffs between agents
  • file-backed workflow state and per-item storage
  • approvals, issue routing, and verification evidence
  • operator and maintainer tooling for diagnostics, resume, and governance

3. Core Modes

OpenKit has 3 workflow modes.

Quick

  • for bounded, low-risk work
  • keeps planning and verification lightweight
  • uses the quick_* stages
  • does not use a task board

Migration

  • for upgrades, migrations, dependency modernization, and compatibility fixes
  • preserves behavior first, then migrates safely in stages
  • uses the migration_* stages
  • validates through baseline, parity, and compatibility evidence

Full

  • for feature work and higher-risk changes
  • uses scope, solution, implementation, QA, and review handoffs
  • uses the full_* stages
  • can use a task board when the approved solution package allows it

4. How It Works

User request
   |
   v
/task
   |
   v
Master Orchestrator chooses mode
   |
   +--> Quick ------> bounded implementation -> QA Lite -> done
   |
   +--> Migration --> baseline -> strategy -> upgrade -> code review -> verify -> done
    |
   +--> Full -------> Product Lead -> Solution Lead -> Fullstack -> Code Reviewer -> QA -> done
   |
   v
Workflow state, approvals, issues, and evidence stored in .opencode/

At runtime, OpenKit keeps the process explicit through:

  • .opencode/workflow-state.json as the active compatibility mirror
  • .opencode/work-items/ as the per-item store
  • node .opencode/workflow-state.js ... for runtime inspection and operations

5. Example Flow

Example: you ask OpenKit to add a new feature.

  1. You launch OpenKit and start with /task add export support to the dashboard.
  2. Master Orchestrator inspects the request and chooses Full mode.
  3. Product Lead defines the problem, scope, and acceptance expectations.
  4. Solution Lead defines the technical direction, sequencing, and validation strategy.
  5. Fullstack Agent implements the approved work and records verification evidence.
  6. Code Reviewer checks scope compliance first and code quality second.
  7. QA Agent validates runtime behavior, routes any issues, and the workflow only closes when the gates are satisfied.

For a narrow bugfix, the same entrypoint may route to Quick. For a framework upgrade, it may route to Migration.

6. Quick Start

Install

npm install -g @duypham93/openkit

Verify setup

openkit doctor

Configure per-agent models

Before you start a session you can assign different models to different OpenKit agents:

openkit configure-agent-models --interactive

Useful commands:

openkit configure-agent-models --list
openkit configure-agent-models --models
openkit configure-agent-models --models <provider>
openkit configure-agent-models --agent <agent-id> --model <provider/model>
openkit configure-agent-models --agent <agent-id> --model <provider/model> --variant <variant>
openkit configure-agent-models --agent <agent-id> --clear

Active agent ids:

  • master-orchestrator
  • product-lead-agent
  • solution-lead-agent
  • fullstack-agent
  • code-reviewer
  • qa-agent

Recommended flow:

  1. openkit configure-agent-models --list
  2. openkit configure-agent-models --interactive
  3. openkit run

Launch OpenCode with OpenKit

openkit run

Start work

Inside OpenCode:

/task <your request>

Use /quick-task, /migrate, or /delivery only when the lane is already obvious.

If workflow state already exists, these are the fastest runtime views:

node .opencode/workflow-state.js ops-summary
node .opencode/workflow-state.js resume-summary
node .opencode/workflow-state.js status --short

7. Concepts

Orchestrator

Master Orchestrator is the delivery router.

It chooses the mode, manages handoffs, tracks feedback loops, and keeps work moving through the right workflow.

Agents

OpenKit currently ships active orchestration and delivery roles plus compatibility split-role views:

  1. Master Orchestrator: chooses the mode, routes handoffs, and manages feedback loops
  2. Product Lead: defines scope, business rules, and acceptance criteria for full delivery
  3. Solution Lead: defines technical direction, migration strategy, sequencing, and validation expectations
  4. Fullstack Agent: implements, debugs, and verifies approved work
  5. Code Reviewer: performs independent scope-compliance and code-quality review before QA
  6. QA Agent: validates implementation evidence and classifies issues

Workflow State

Workflow state is the shared runtime memory of the system.

It tracks things like:

  • current mode and stage
  • current owner
  • linked artifacts
  • approvals
  • issues and issue lifecycle
  • verification evidence
  • readiness, closeout, and release-level signals

Approvals And Evidence

OpenKit separates:

  • stage readiness
  • definition of done
  • release readiness

Approvals alone are not enough for closure-sensitive stages. Verification evidence must also be inspectable in workflow state.

8. Advanced

Product vs Compatibility Surfaces

OpenKit has 3 main surfaces:

  • product path: openkit run, openkit doctor, openkit upgrade, openkit uninstall
  • in-session path: /task, /quick-task, /migrate, /delivery
  • compatibility runtime path: node .opencode/workflow-state.js ...

Use the product path for daily use. Use the lower-level runtime CLI for inspection, diagnostics, and maintainer workflows.

Model Overrides

Per-agent model overrides are saved by the global OpenKit install and reused by future openkit run sessions.

Use them when you want different strengths per role, for example:

  • a stronger reasoning model for product-lead-agent and solution-lead-agent
  • a code-focused model for fullstack-agent
  • a careful review-oriented model for code-reviewer
  • a verification-oriented model for qa-agent

Use openkit configure-agent-models --list any time you want to inspect or confirm the current saved overrides.

Useful Runtime Commands

Some high-value runtime commands:

  • node .opencode/workflow-state.js resume-summary
  • node .opencode/workflow-state.js workflow-metrics
  • node .opencode/workflow-state.js show-dod
  • node .opencode/workflow-state.js release-readiness
  • node .opencode/workflow-state.js release-dashboard
  • node .opencode/workflow-state.js policy-trace

Release Workflow

OpenKit now supports release-level governance through:

  • release candidates
  • release notes drafting and validation
  • release gates
  • rollback plans
  • release-linked hotfixes

Where To Go Next

  • operator path: docs/operator/README.md
  • surface selection: docs/operator/surface-contract.md
  • maintainer path: docs/maintainer/README.md
  • command map: docs/maintainer/command-matrix.md
  • workflow contract: context/core/workflow.md
  • runtime command reality: context/core/project-config.md
  • session resume: context/core/session-resume.md
  • workflow-state schema: context/core/workflow-state-schema.md
  • operations runbooks: docs/operations/README.md