agentforge
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@agentforgeSpawn a coding swarm to refactor the PayPal integration and run tests."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⚒️ AgentForge
Where AI agents are forged — orchestration for Claude Code & Codex
Maintained by Soulcynics404 · Harsshh
Quick Start · Install · Claude Code Integration · Swarm Commands · MCP Server · Docs
Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work. AgentForge is that harness — the execution layer around Claude Code and Codex that adds 100+ specialized agents, coordinated swarms, self-learning memory, and enterprise guardrails. So agents don't just run, they collaborate.
AgentForge is an actively maintained fork of Ruflo (formerly claude-flow) by rUv, rebranded and maintained independently under the MIT license. All credit for the original architecture goes to the upstream project and its contributors.
✨ What you get
User ──▶ AgentForge (CLI / MCP) ──▶ Router ──▶ Swarm ──▶ Agents ──▶ Memory ──▶ LLM Providers
▲ │
└────────────────── Learning Loop ◀──────────────────────┘Feature | What it means | |
🧠 | Self-learning memory | HNSW vector search across sessions — agents remember what worked and reuse it |
🐝 | Coordinated swarms | Hierarchical, mesh, and adaptive topologies with 100+ specialist agent types |
🔀 | Smart model routing | 3-tier routing: deterministic codemod → Haiku → Sonnet/Opus (pay less, run faster) |
🪝 | Hooks + observability | Pre/post-edit hooks, session lifecycle tracking, 12 background workers |
🔌 | MCP server | 300+ tools exposed to any MCP-capable client (Claude Code, Cursor, Zed…) |
🧩 | Plugin ecosystem | ADRs, DDD, security audits, cost tracking, browser automation & more |
🛡️ | Policy engine | Action approvals, decision ledger, safety envelopes for enterprise use |
Related MCP server: hAIveMind MCP Server
📦 Installation
Requirements: Node.js ≥ 20 · npm ≥ 9 · Claude Code or Codex CLI installed & authenticated (agents execute via these harnesses — AgentForge coordinates)
# Run directly (no install)
npx ruflo --version
# Or install globally
npm install -g rufloNote: the runtime package name is inherited from upstream (
rufloon npm). Project identity, branding, and maintenance are AgentForge's.
🚀 Quick Start
1️⃣ Initialize in your project
cd my-project
npx ruflo initThis creates:
my-project/
├── .claude/ # Claude Code settings + hook configs
├── .agentforge/ # memory DB, session state
├── .agents/skills/ # cross-agent skill registry
└── CLAUDE.md # project rules wired for orchestration2️⃣ Health check
npx ruflo doctor --fix # verifies Node, MCP servers, memory DB, API keys3️⃣ Launch Claude Code and just… talk
After init, open Claude Code normally — hooks auto-route tasks to swarms, learn from successful patterns, and coordinate agents in the background:
you: "Build a REST API with auth, tests, and docs"
→ planner agent breaks it down
→ coder agents build in parallel
→ reviewer agent checks output
→ memory stores what worked🔗 Integrate with Claude Code
Automatic (recommended)
npx ruflo init wires everything: MCP registration, hooks in .claude/settings.json, skills, and CLAUDE.md.
Manual MCP registration
Add to your Claude Code MCP config (~/.claude.json or project .mcp.json):
{
"mcpServers": {
"agentforge": {
"command": "npx",
"args": ["ruflo", "mcp", "start"]
}
}
}Then inside Claude Code you can call 300+ tools directly: memory_search, swarm_init, agent_spawn, task_orchestrate, neural_train, and more.
Install as a Claude Code plugin
# From the Claude Code prompt:
/plugin marketplace add Soulcynics404/AgentForge
/plugin install agentforge@AgentForgeThe plugin bundles slash commands (/forge-init, /forge-swarm, /forge-status) plus the core skill set from plugin/skills/.
Integrate with other agents
Harness | How |
Codex CLI |
|
Cursor / Windsurf | Point their MCP config at the same |
Any MCP client | Same endpoint — AgentForge is harness-agnostic |
🐝 Swarm coordination
# Initialize a swarm with a topology
npx ruflo swarm init --topology hierarchical --max-agents 8
# Spawn specialist agents
npx ruflo agent spawn --type coder --name backend-dev
npx ruflo agent spawn --type reviewer --name qa-bot
npx ruflo agent spawn --type architect --name system-design
# Orchestrate a task across them
npx ruflo task create --description "Build auth module with tests"
npx ruflo swarm start
# Watch progress
npx ruflo swarm statusTopologies: hierarchical (queen-led) · mesh (peer-to-peer) · adaptive (self-organizing) · ring · star
AgentForge commands create coordination records — the actual building is done by your Claude Code / Codex agents. The correct mental model:
swarm init→ sets up the coordination stateYour Claude Code session does the work (writes code, runs tests)
memory store→ saves what worked for next time
Don't stop after calling a swarm command — keep working; the harness coordinates while you build.
🧠 Memory system
# Store a pattern that worked
npx ruflo memory store --key "auth-pattern" --value "JWT+refresh rotation" --namespace patterns
# Search past learnings before starting new work
npx ruflo memory query "authentication best approach"
# Session persistence
npx ruflo session save && npx ruflo session resume --latestMemory uses HNSW vector search over an SQLite/RVF store — semantically similar patterns surface even when keywords differ.
🖥️ MCP Server
Run AgentForge as a standalone MCP server any MCP client can consume:
npx ruflo mcp start # stdio mode (default)
npx ruflo mcp start --port 3000 # HTTP/SSE mode
npx ruflo mcp tools # list all exposed toolsTool families: memory_*, swarm_*, agent_*, task_*, neural_*, hooks_*, policy_*, performance_* — full catalog.
📚 Documentation
Doc | Contents |
Complete reference: features, storage format, programmatic API | |
Bundled skill library (agentdb, browser, neural, dual-mode…) | |
Agent instructions & division-of-labor model | |
Release history | |
Upstream docs |
🤝 Contributing
Issues and PRs welcome! For significant changes, open an issue first. Upstream contributions should go to ruvnet/ruflo; this fork tracks upstream and focuses on branding, packaging, and community maintenance.
📄 License
MIT — original code © 2024–2026 ruvnet. Fork maintenance & rebranding © 2026 Harsshh (Soulcynics404).
⚒️ Forge smarter. Ship together.
This server cannot be deployed
Maintenance
Related MCP Connectors
One MCP endpoint for Claude, GPT & Gemini: 100+ tools + no-code connectors + agent workers.
MCP-first toolbox for agents: KV storage, auth, queue, and utility tools. Free in early access.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Related MCP Servers
- AlicenseDqualityDmaintenanceAI-native orchestration layer with 80+ tools for task management, code editing, browser automation, terminal control, and persistent memory across CLI, local MCP, and cloud deployments.6912 npm31ISC
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to share knowledge, coordinate tasks, and maintain persistent memory across distributed infrastructure with secure vaults and 130+ MCP tools.7MIT
- AlicenseAqualityDmaintenanceAn agent orchestration layer that wraps expert agents as MCP tools, enabling integration with Claude Desktop, Cursor, and other MCP-compatible environments.49 npm9MIT
- AlicenseNot gradedqualityCmaintenanceThe coordination layer for AI agent networks, providing persistent memory, task management, inter-agent messaging, and human oversight through native MCP tools.10 npm1MIT