agentforge

agentforge

Provides 300+ MCP tools for orchestrating AI agents — including swarm coordination, self-learning memory, and task management — enabling MCP clients like Claude Code and Cursor to spawn, coordinate, and learn from specialist agents across sessions.

Category
访问服务器

README

<div align="center">

⚒️ AgentForge

<img src="assets/logo-preview.png" alt="AgentForge — Where AI agents are forged" width="280"/>

Where AI agents are forged — orchestration for Claude Code & Codex

License: MIT Node Based on Ruflo Claude Code Codex

Maintained by Soulcynics404 · Harsshh

Quick Start · Install · Claude Code Integration · Swarm Commands · MCP Server · Docs

</div>


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

📦 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 ruflo

Note: the runtime package name is inherited from upstream (ruflo on npm). Project identity, branding, and maintenance are AgentForge's.


🚀 Quick Start

1️⃣ Initialize in your project

cd my-project
npx ruflo init

This 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 orchestration

2️⃣ Health check

npx ruflo doctor --fix      # verifies Node, MCP servers, memory DB, API keys

3️⃣ 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@AgentForge

The 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 npx ruflo init detects Codex and writes .agents/config.toml
Cursor / Windsurf Point their MCP config at the same npx ruflo mcp start server
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 status

Topologies: hierarchical (queen-led) · mesh (peer-to-peer) · adaptive (self-organizing) · ring · star

<details> <summary><b>⚠️ Important: how execution actually works</b></summary>

AgentForge commands create coordination records — the actual building is done by your Claude Code / Codex agents. The correct mental model:

  1. swarm init → sets up the coordination state
  2. Your Claude Code session does the work (writes code, runs tests)
  3. memory store → saves what worked for next time

Don't stop after calling a swarm command — keep working; the harness coordinates while you build. </details>


🧠 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 --latest

Memory 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 tools

Tool families: memory_*, swarm_*, agent_*, task_*, neural_*, hooks_*, policy_*, performance_* — full catalog.


📚 Documentation

Doc Contents
User Guide Complete reference: features, storage format, programmatic API
Plugin skills Bundled skill library (agentdb, browser, neural, dual-mode…)
Architecture Agent instructions & division-of-labor model
Changelog Release history
Upstream docs github.com/ruvnet/ruflo

🤝 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).

<div align="center">

⚒️ Forge smarter. Ship together.

</div>

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选