π The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
ADR-046: Dual Umbrella Packages β claude-flow + ruflo
Status: Accepted Date: 2026-02-07 Updated: 2026-02-08 Authors: RuvNet, Claude Flow Team
Context
The umbrella package is published to npm as claude-flow. As the ecosystem grows and the product establishes its own identity, a second umbrella package ruflo is introduced alongside the original.
Current State
| Aspect | Current Value |
|---|---|
| npm package | claude-flow |
| CLI binary | claude-flow |
| GitHub repo | ruvnet/claude-flow |
| Internal packages | @claude-flow/* |
| Weekly downloads | ~1,000+ |
Drivers for Change
- Brand Cohesion: Aligns with the ruv ecosystem (ruv.io, @ruvector/*, ruv-swarm)
- Trademark Safety: Removes potential trademark concerns with "Claude" in product name
- Product Identity: Establishes independent product identity beyond Claude integration
- Discoverability: "ruflo" is unique, memorable, and searchable
- Future Flexibility: Enables the platform to support multiple AI backends without name confusion
- Zero Disruption: Keeping
claude-flowensures no existing users are broken
Decision
Publish two independent npm umbrella packages β claude-flow (original) and ruflo (new) β both backed by @claude-flow/cli.
Package Architecture
npm registry
βββ claude-flow β original umbrella (bundles @claude-flow/cli)
β βββ bin: claude-flow β v3/@claude-flow/cli/bin/cli.js
βββ ruflo β new umbrella (depends on @claude-flow/cli)
β βββ bin: ruflo β @claude-flow/cli/bin/cli.js
βββ @claude-flow/cli β shared CLI implementation
What Changes
| Aspect | Before | After |
|---|---|---|
| npm packages | claude-flow only |
claude-flow + ruflo |
| CLI binaries | claude-flow |
claude-flow + ruflo |
| Install commands | npx claude-flow@latest |
Both npx claude-flow@latest and npx ruflo@latest |
| README branding | "Claude-Flow" | "Ruflo" (primary), "claude-flow" (supported) |
| Product name | Claude-Flow | Ruflo (with claude-flow alias) |
What Stays the Same
| Aspect | Value | Reason |
|---|---|---|
| GitHub repo | ruvnet/claude-flow | SEO, existing links, history |
| Internal packages | @claude-flow/* | Minimal disruption, existing integrations |
| Functionality | All features | No functional changes |
| License | MIT | No change |
| Author | RuvNet | No change |
claude-flow npm package |
Fully supported | No breaking changes for existing users |
Consequences
Positive
- Zero Disruption: Existing
claude-flowusers unaffected - Unified Brand: New
ruflopackage for the ruv ecosystem - Trademark Safety: Users can choose the non-"Claude" branded package
- Dual Discovery: Package discoverable under both names on npm
- Future Proof: Can add non-Claude integrations without name confusion
Negative
- Two packages to maintain: Must publish and tag both packages
- Documentation: Must reference both package names
- Download split: npm download stats split across two packages
Neutral
- GitHub repo unchanged: Existing links continue to work
- Internal packages unchanged: No code changes required in @claude-flow/*
Implementation
Package Structure
/workspaces/claude-flow/
βββ package.json # name: "claude-flow" (original umbrella)
β # bin: claude-flow β v3/@claude-flow/cli/bin/cli.js
β # bundles CLI files directly
βββ ruflo/
βββ package.json # name: "ruflo" (new umbrella)
β # bin: ruflo β ./bin/ruflo.js
β # depends on @claude-flow/cli
βββ bin/
β βββ ruflo.js # thin wrapper, imports @claude-flow/cli
βββ README.md # Ruflo-branded docs
Phase 1: Preparation (This PR)
- Create ADR-046 (this document)
- Keep root
package.jsonasclaude-flow(original umbrella) - Create
ruflo/directory with new umbrella package - Update main README.md with Ruflo branding
- Update install scripts to reference
ruflo
Phase 2: Publishing
# 1. Publish @claude-flow/cli (shared implementation)
cd v3/@claude-flow/cli
npm publish --tag alpha
# 2. Publish claude-flow umbrella (original)
cd /workspaces/claude-flow
npm publish --tag v3alpha
npm dist-tag add claude-flow@<version> latest
npm dist-tag add claude-flow@<version> alpha
# 3. Publish ruflo umbrella (new)
cd /workspaces/claude-flow/ruflo
npm publish --tag alpha
npm dist-tag add ruflo@<version> latest
Phase 3: Ongoing
- Both packages maintained indefinitely
- Version numbers kept in sync
- README shows both install options
ruflopromoted as primary in new documentation
Publishing Checklist
When publishing updates, all three packages must be published:
| Order | Package | Command | Tags |
|---|---|---|---|
| 1 | @claude-flow/cli |
npm publish --tag alpha |
alpha, latest |
| 2 | claude-flow |
npm publish --tag v3alpha |
v3alpha, alpha, latest |
| 3 | ruflo |
npm publish --tag alpha |
alpha, latest |
Alternatives Considered
1. Replace claude-flow with ruflo (single package)
Pros: Simpler, one package to maintain Cons: Breaks existing users, loses download history Decision: Rejected - zero disruption preferred
2. Rename to ruv-flow (hyphenated)
Pros: Matches ruv-swarm pattern Cons: Inconsistent with @ruvector (no hyphen) Decision: Rejected - "ruflo" is cleaner and matches ruvector pattern
3. Rename internal packages too (@ruflo/*)
Pros: Complete rebrand Cons: Major breaking change, complex migration, npm scope registration Decision: Rejected - disruption not worth the benefit
4. Deprecate claude-flow
Pros: Forces migration to ruflo Cons: Breaks existing users, bad developer experience Decision: Rejected - both packages coexist permanently
Migration Guide
For New Users
# Recommended
npx ruflo@latest init --wizard
# Also works
npx claude-flow@latest init --wizard
For Existing Users
No migration required. claude-flow continues to work. Optionally switch:
# Switch MCP server (optional)
claude mcp remove claude-flow
claude mcp add ruflo npx ruflo@latest mcp start
For Contributors
- Root
package.jsonis theclaude-flowumbrella ruflo/package.jsonis therufloumbrella- Internal imports remain
@claude-flow/* - GitHub repo remains
ruvnet/claude-flow
Metrics for Success
| Metric | Target | Measurement |
|---|---|---|
| Combined npm downloads | Maintain or grow | npm weekly stats (both packages) |
| GitHub stars | Maintain or grow | GitHub metrics |
| Issues from confusion | < 10 in 30 days | GitHub issues |
| ruflo adoption | 50%+ new installs in 90 days | npm stats |
References
- GitHub Issue: #1101
- npm: https://npmjs.com/package/ruflo
- npm: https://npmjs.com/package/claude-flow
- Related: ADR-017 (RuVector Integration)
Appendix: Branding Guidelines
Product Names
| Context | Use |
|---|---|
| npm packages | ruflo and claude-flow (both lowercase) |
| README title | "Ruflo" (PascalCase) |
| CLI binaries | ruflo or claude-flow (both lowercase) |
| In prose | "Ruflo" (PascalCase) |
Command Examples
# New recommended style
npx ruflo@latest init
npx ruflo@latest agent spawn -t coder
npx ruflo@latest swarm init --topology hierarchical
# Legacy style (still fully supported)
npx claude-flow@latest init
npx claude-flow@latest agent spawn -t coder
Decision Date: 2026-02-07 Updated: 2026-02-08 Review Date: 2026-03-07 (30 days post-implementation)