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

@tyrannoapartment/harn

v2.1.5

Published

AI multi-agent sprint development loop orchestrator (Planner → Generator → Evaluator)

Downloads

134

Readme

harn

AI multi-agent sprint orchestrator. Takes a backlog item and drives it to completion through a Planner → Generator → Evaluator loop.


Install

npm install -g @tyrannoapartment/harn

Requirements: node ≥ 18, python3, and one of: copilot · claude · codex · gemini


Quick Start

cd /path/to/your/project
harn web        # opens dashboard at http://localhost:7111

Or use the CLI directly:

harn auto       # resume → start next → discover (smart entry point)
harn start      # pick a backlog item and run the full loop

Web Dashboard

harn web launches a local dashboard with four panels:

| Panel | What it does | |-------|-------------| | Backlog | Manage Pending / In Progress / Done items, add new items with slug + description + plan | | Console | AI assistant chat — multi-tab, tab rename, AI logo + model badge per response | | Runs | Sprint history and status | | Settings | AI backend, per-role model selection, language, git |

The console assistant understands natural language:

start the next backlog item
add api-refactor to the backlog
what's the current sprint status?

CLI Commands

harn web [--port 8080]   # web dashboard
harn auto                # smart entry: resume → start → discover
harn all                 # run all pending items sequentially
harn start [slug]        # run a specific item
harn add                 # add a backlog item
harn discover            # analyze codebase and suggest items
harn do "<request>"      # natural language command
harn status              # current run state
harn stop                # stop the running loop
harn runs                # list run history
harn doctor              # check dependencies
harn config              # show / edit config
harn memory              # show project memory

Sprint Loop

[Planner]   spec.md + sprint-plan.md
     │
     ▼  per sprint ──────────────────────────────────────────────────┐
     │  [Generator]  propose scope                                   │
     │  [Evaluator]  APPROVED / NEEDS_REVISION                       │
     │       ↓                                                       │
     │  [Generator]  implement                                       │
     │  [Evaluator]  VERDICT: PASS → next sprint                     │
     │               VERDICT: FAIL → retry (up to MAX_ITERATIONS)    │
     └───────────────────────────────────────────────────────────────┘
     │
     ▼  last sprint passes
[Evaluator]  handoff.md · backlog → Done · retrospective

AI Backends

Auto-detected in order: copilotclaudecodexgemini

| CLI | Install | |-----|---------| | GitHub Copilot | gh extension install github/gh-copilot | | Claude Code | npm install -g @anthropic-ai/claude-code | | OpenAI Codex | npm install -g @openai/codex | | Gemini | npm install -g @google/gemini-cli |

harn config set AI_BACKEND claude

Configuration

Config lives at .harn/config in your project root. Created automatically on first run or via harn init.

AI_BACKEND=copilot

COPILOT_MODEL_PLANNER=claude-haiku-4.5
COPILOT_MODEL_GENERATOR_CONTRACT=claude-sonnet-4.6
COPILOT_MODEL_GENERATOR_IMPL=claude-opus-4.6
COPILOT_MODEL_EVALUATOR_CONTRACT=claude-haiku-4.5
COPILOT_MODEL_EVALUATOR_QA=claude-sonnet-4.5

MAX_ITERATIONS=5
GIT_ENABLED=false

Backlog Format

Backlog is stored in .harn/sprints/ as three files: pending.md, in-progress.md, done.md.

## Pending
- [ ] **slug-no-spaces**
  Short description of the feature
  plan: one-line execution plan

Add items via the web dashboard or harn add.


Project Context

Create .harn/context.md — all agents read it automatically.


Custom Prompts

Place planner.md, generator.md, or evaluator.md in .harn/prompts/ to override built-in prompts.
harn init can generate them from hints you provide.


Contributing

See CONTRIBUTING.md. Fork from develop, PR targets develop.

License

MIT