Ruflo Swarm Distributed Agent Mesh

Ruflo Swarm Distributed Agent Mesh

@ruvnet/ruflo·v3.1.0·core

A high-performance multi-agent swarm orchestration framework for DeepSeek Harness. Features dynamic DAG task distribution, shared episodic memory pools, and deterministic consensus protocols.

Multi-Agent · Swarm · DAG · Concurrency

GitHubNPM
Installation & Integration
bash
manager:
$ pnpm add @ruvnet/ruflo

Architecture

Ruflo Swarm shatters the scalability limits of monolithic agents. When tackling complex refactors or multi-service architectures, a single LLM context quickly runs out of headroom and risks reasoning drift. This plugin implements a decentralized swarm communication mesh atop the Cordis bus. Tasks decompose into dynamic Directed Acyclic Graphs (DAGs) executed concurrently by specialized roles—Architect, Developer, QA Auditor, and Security Gatekeeper. Agent interactions adhere to strict RPC protocols with automatic backpressure control.

Core Features

01

DAG Critical-Path Scheduler: Maximizes parallel throughput across non-blocking task trees

02

Isolated Worker Domains: Ensures sandboxed state isolation per subagent preventing collisions

03

CRDT-Powered State Sync: Enables conflict-free concurrent editing across multi-agent sessions

04

Automated Circuit Breaker: Suspends repeated worker failures and invokes replanning routines

Core Workflow

01

DAG Task Decomposition

Coordinator breaks target goals into modular DAG nodes with explicit dependency gates.

02

Role-Based Dispatch

Assigns specialist agents equipped with domain-specific tools and system prompts.

03

Concurrent Mesh Interop

Agents execute code and tests in parallel sandboxes, streaming artifacts over the bus.

04

Consensus Arbitration & Merge

Auditor verifies diff correctness, runs regression suites, and commits final solutions.

Configuration Parameters Reference (YAML / JSON)

ParameterTypeDefaultDescription
maxConcurrencynumber8Maximum number of concurrent subagents in swarm
timeoutPerTasknumber300Execution timeout limit per subtask in seconds
enableCRDTbooleantrueEnable CRDT-based conflict-free shared workspace