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

harmony-ai

v1.5.0

Published

Self-improving AI development framework with memory, agents, and quality verification. Learn. Protect. Deliver.

Downloads

2,287

Readme

🛡️ Harmony Framework

A self-improving AI dev framework for Claude Code, Cursor & more

Smart agent routing · Error memory · Verifiable quality gates

npm version License: MIT Node.js GitHub stars

🚀 Quick Start🧠 How It Works📚 Docs🧩 Patterns

🌐 Language: English · Français


Harmony is an AI development framework that makes your AI assistant route the right agent, remember every bug it has seen, and prove quality instead of assuming it — across Claude Code, Cursor, Windsurf and more. It lives inside your project and adapts to your code: load only what's needed, when it's needed.

"Other frameworks help you build fast. Harmony helps you build right."


🏆 The Three Pillars

╔═══════════════════════════════════════════════════════════════════════════════╗
║                      THE THREE PILLARS OF HARMONY                             ║
╠═══════════════════════════════════════════════════════════════════════════════╣
║                                                                               ║
║   🔒 GUARDIAN           🛡️ SENTINEL           ✅ HQVF                         ║
║   ─────────────        ───────────           ──────────                       ║
║   Intent Detection     Error Memory          Quality Gates                    ║
║   Agent Routing        Circuit Breaker       Use Case Verifiables             ║
║   Workflow Protection  Pattern Learning      Triple Validation                ║
║                                                                               ║
║   "Right agent,        "Never repeat         "Quality you can                 ║
║    right time"          the same bug"         prove, not assume"              ║
║                                                                               ║
╚═══════════════════════════════════════════════════════════════════════════════╝

…but Harmony is more than three pillars: 50+ specialized agents, domain specialties, tech-stack profiles, multi-IDE support, security guards and JIT context loading. 👉 See the full picture → docs/how-it-works.md


🚀 Quick Start

# Install (requires jq + yq)
npx harmony-ai --full

# Start coding
/go                    # Session kickoff
/harmony               # Interactive menu (30 commands)
/harmony sentinel      # Error memory dashboard

30 seconds to install. A lifetime of saved debugging time.

📖 Full installation guide → · All 30 commands →


🤖 The Self-Improving Loop

╔═══════════════════════════════════════════════════════════════════════════════╗
║                    🔄 THE SELF-IMPROVING LOOP                                 ║
╠═══════════════════════════════════════════════════════════════════════════════╣
║                                                                               ║
║      ┌─────────┐         ┌─────────┐         ┌─────────┐                      ║
║      │   AI    │ ──────► │ HARMONY │ ──────► │   AI    │                      ║
║      │  Makes  │         │ Learns  │         │ Better  │                      ║
║      │ Mistake │         │ Pattern │         │  Next   │                      ║
║      └─────────┘         └─────────┘         └─────────┘                      ║
║                                                                               ║
║   💡 Feed the framework with errors → It feeds you with solutions             ║
║                                                                               ║
╚═══════════════════════════════════════════════════════════════════════════════╝

Harmony lives in your project, learns your patterns, adapts to your style. The contribution cycle, zero-context-loss across sessions (UCVs), and JIT context loading are all detailed here 👉 docs/how-it-works.md


📊 What Makes Us Different

| Feature | 🏛️ Traditional | 🛡️ Harmony | |---------|:--------------:|:----------:| | 🧠 Error Memory | ❌ Start fresh every time | ✅ Learns from mistakes | | 🔄 Circuit Breaker | ❌ Repeat failures endlessly | ✅ Stops after 3 failures | | 🎯 Intent Detection | ❌ Manual agent selection | ✅ Auto-routing | | ✅ Quality Gates | ❌ "It works" = done | ✅ Triple validation (DEV+TEST+QA) | | 💾 Context Persistence | ❌ Lost between sessions | ✅ 3-tier memory | | 📈 Pattern Learning | ❌ No learning | ✅ Gets smarter over time | | 🛡️ Security Guards | ❌ Blind trust | ✅ Supply-chain + injection filtering |


🔌 Works Everywhere

| Any IDE | Any Stack | Any Team Size | |---------|-----------|---------------| | Claude Code 🟢 · Cursor · Windsurf · Continue · Cody | TypeScript · Python · Go · Rust · React · Node · Django | Solo → Enterprise (500+) |

🎯 Auto-detection: profiles & specialties activate from your project context — and they're portable (not tied to Harmony, not IDE-locked). 👉 IDE support, profiles & specialties →


🛡️ Security Guards

Guards that screen what runs, what enters, and what gets installed — and say so out loud when they fire:

| Guard | Default | Protects against | |-------|:-------:|------------------| | rules-enforcer | ✅ on | Destructive commands (rm -rf /, DROP DATABASE, fork bombs), shell-injection (curl \| bash), secrets written to files | | supply-chain-guard | ✅ on | Vulnerable / typosquatted packages, unpinned MCP servers, cooling-period packages, missing lock files | | llm-output-sanitizer | ✅ on | Prompt injection, data exfiltration, hidden Unicode, leaked secrets in external content |

Each pass prints visible proof (🛡️ Rules: clean — no interdiction); a block stops the action with its reason. Silence it anytime with HARMONY_HOOK_UI=off.

/hf:security:guards status     # See current state
/hf:security:guards off        # Disable supply-chain + sanitizer (zero perf impact)

⚠️ Defense-in-depth, not a silver bullet. Pattern-based detection — keep it updated and always combine with human review. 📖 Security Guards docs →


📋 Prerequisites

| Tool | Version | Required? | |------|---------|-----------| | Node.js | v18+ | ✅ Runtime (npx) | | Bash | 4.0+ | ✅ (macOS: brew install bash) | | jq | 1.6+ | ✅ JSON processing | | yq | v4+ (mikefarah) | ✅ YAML processing | | Bun / Python 3.8+ | latest / 3.8+ | ⚪ Optional (speed / Prompt Monitor) |

📖 Detailed setup & verification →


📚 Documentation

| 📖 Guide | Description | |----------|-------------| | 🚀 Getting Started | 5-minute tutorial | | 🧠 How It Works | The full picture — diagrams, flows, JIT, UCVs | | 💡 Core Concepts | The three pillars explained | | 🏗️ Architecture | Technical deep-dive | | ⌨️ Commands | All 30 commands | | 🤖 Agents | The agent ecosystem | | 📈 Impact & ROI | Estimated gains (from real experience) |


💬 What We Experienced Dogfooding Harmony

These are our own observations building Harmony with Harmony — your mileage will vary.

  • Recurring bugs dropped sharply once Sentinel started remembering past errors.
  • Debug time on known issues went from ~10 min to under a minute.
  • "Works on my machine" stopped being a thing thanks to triple validation (DEV+TEST+QA).
  • Agent confusion disappeared with Guardian auto-routing.

📈 Detailed estimates (token savings, time/cost projections) — clearly labeled as experience-based estimates — live in docs/enterprise.md.


🤝 Community

Report bugs · Ideas & help

📄 License

Released under the MIT License — SPDX: MIT.

© 2025 Harmony AI Team. Use it anywhere — contribute back if you can.

🏢 Enterprise & AI Consulting

Need production deployment with data security as top priority? Secure multi-env integration, LLM cost optimization, custom agents, data-security hardening. 📬 Details & contact →


🛡️ Stop repeating bugs. Start building right.

Get StartedHow it worksDocs

Star us if Harmony saves you time!