Smart agent routing Β· Error memory Β· Verifiable quality gates
π 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 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
# Install (requires jq + yq)
npx harmony-ai --full
# Start coding
/go # Session kickoff
/harmony # Interactive menu (30 commands)
/harmony sentinel # Error memory dashboard30 seconds to install. A lifetime of saved debugging time.
π Full installation guide β Β· All 30 commands β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π 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
| 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 |
| 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 β
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 β
| 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 β
| π 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) |
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.
Released under the MIT License β SPDX: MIT.
Β© 2025 Harmony AI Team. Use it anywhere β contribute back if you can.
Need production deployment with data security as top priority? Secure multi-env integration, LLM cost optimization, custom agents, data-security hardening. π¬ Details & contact β
Get Started β’ How it works β’ Docs
β Star us if Harmony saves you time!