Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

monobrain

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

monobrain

Monobrain - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration

latest
Source
npmnpm
Version
1.5.3
Version published
Maintainers
1
Created
Source
Monobrain — Enterprise AI Agent Orchestration

npm version Downloads Stars License: MIT Node TypeScript

Deploy 60+ specialized agents in coordinated swarms with self-learning capabilities, fault-tolerant consensus, and enterprise-grade security.

Why Monobrain? Claude Code is powerful — but it thinks alone. Monobrain gives it a brain trust: a coordinated swarm of 100+ specialized agents that share memory, reach consensus, learn from every task, and route work to the right specialist automatically. Built on a WASM-powered intelligence layer, it gets smarter every session.

How Monobrain Works

User → Monobrain (CLI/MCP) → Router → Swarm → Agents → Memory → LLM Providers
                           ↑                          ↓
                           └──── Learning Loop ←──────┘
📐 Expanded Architecture — Full system diagram with RuVector intelligence
flowchart TB
    subgraph USER["👤 User Layer"]
        U[User]
        CC[Claude Code]
    end

    subgraph ENTRY["🚪 Entry Layer"]
        CLI[CLI / MCP Server]
        AID[AIDefence Security]
    end

    subgraph ROUTING["🧭 Routing Layer"]
        KW[Keyword Pre-Filter]
        SEM[Semantic Router]
        LLM_FB[LLM Fallback · Haiku]
        TRIG[MicroAgent Triggers]
        HK[17 Hooks · Event Bus]
    end

    subgraph SWARM["🐝 Swarm Coordination"]
        TOPO[Topologies<br/>hierarchical/mesh/adaptive]
        CONS[Consensus<br/>Raft/BFT/Gossip/CRDT]
        CLM[Claims<br/>Trust Tiers]
        GOV[Guidance<br/>Policy Gates]
    end

    subgraph AGENTS["🤖 100+ Agents"]
        AG1[coder]
        AG2[tester · reviewer]
        AG3[architect · planner]
        AG4[security-auditor]
        AG5[devops · sre]
        AG6[60+ more...]
    end

    subgraph RESOURCES["📦 Resources"]
        MEM[(AgentDB · HNSW · SQLite)]
        PROV[Providers<br/>Claude/GPT/Gemini/Ollama]
        WORK[12 Workers<br/>ultralearn/audit/optimize]
    end

    subgraph RUVECTOR["🧠 RuVector Intelligence"]
        direction TB
        SONA[SONA<br/>Self-Optimize<br/>&lt;0.05ms]
        EWC[EWC++<br/>Anti-Forgetting]
        FLASH[Flash Attention<br/>2.49–7.47x]
        HNSW_I[HNSW<br/>150x–12500x]
        RB[ReasoningBank<br/>RETRIEVE→JUDGE→DISTILL]
        LORA[LoRA/MicroLoRA<br/>128x compress]
    end

    subgraph LEARNING["🔄 Learning Loop"]
        L1[RETRIEVE] --> L2[JUDGE] --> L3[DISTILL] --> L4[CONSOLIDATE] --> L5[ROUTE]
    end

    U --> CC --> CLI --> AID
    AID --> KW & SEM & LLM_FB & TRIG & HK
    KW & SEM & LLM_FB & TRIG --> TOPO & CONS & CLM & GOV
    TOPO & CONS --> AG1 & AG2 & AG3 & AG4 & AG5 & AG6
    AG1 & AG2 & AG3 & AG4 & AG5 & AG6 --> MEM & PROV & WORK
    MEM --> SONA & EWC & FLASH & HNSW_I & RB & LORA
    LORA --> L1
    L5 -.->|loop| SEM

RuVector Intelligence Components:

ComponentPurposePerformance
SONASelf-Optimizing Neural Architecture — learns optimal routing<0.05ms adaptation
EWC++Elastic Weight Consolidation — prevents catastrophic forgettingPreserves all learned patterns
Flash AttentionOptimized attention computation2.49–7.47× speedup
HNSWHierarchical Navigable Small World vector search150×–12,500× faster
ReasoningBankPattern storage with RETRIEVE→JUDGE→DISTILL pipelineSub-ms recall
HyperbolicPoincaré ball embeddings for hierarchical dataBetter code relationship mapping
LoRA / MicroLoRALow-Rank Adaptation weight compression128× compression ratio
Int8 QuantizationMemory-efficient weight storage~4× memory reduction
9 RL AlgorithmsQ-Learning, SARSA, A2C, PPO, DQN, A3C, TD3, SAC, HERTask-specific policy learning

Get Started Fast

Option 1 — npx (recommended):

npx monobrain@latest init --wizard
claude mcp add monobrain -- npx -y monobrain@latest mcp start
npx monobrain@latest daemon start
npx monobrain@latest doctor --fix

Option 2 — Clone from GitHub:

git clone https://github.com/nokhodian/monobrain.git
cd monobrain
npm install
node packages/@monobrain/cli/bin/cli.js init --wizard

# Wire up the MCP server in Claude Code
claude mcp add monobrain -- node "$PWD/packages/@monobrain/cli/bin/cli.js" mcp start

New to Monobrain? You don't need to learn 170+ MCP tools or 41 CLI commands up front. After running init, just use Claude Code normally — the hooks system automatically routes tasks to the right agents, learns from successful patterns, and coordinates multi-agent work in the background.

Key Capabilities

🤖 100+ Specialized Agents — Ready-to-use AI agents for every engineering domain: coding, review, testing, security, DevOps, mobile, ML, blockchain, SRE, and more. Each optimized for its specific role.

🐝 Coordinated Agent Swarms — Agents organize into teams using hierarchical (queen/workers) or mesh (peer-to-peer) topologies. They share context, divide work, and reach consensus — even when agents fail.

🧠 Learns From Every Session — Successful patterns are stored in HNSW-indexed vector memory and reused. Similar tasks route to the best-performing agents automatically. Gets smarter over time without retraining.

3-Tier Cost Routing — Simple transforms run in WASM at <1ms and $0. Medium tasks use Haiku. Complex reasoning uses Sonnet/Opus. Smart routing cuts API costs by 30–50%.

🔌 Deep Claude Code Integration — 170+ MCP tools expose the full platform directly inside Claude Code sessions. The hooks system fires on every file edit, command, task start/end, and session event.

🔒 Production-Grade Security — CVE-hardened AIDefence layer blocks prompt injection, path traversal, command injection, and credential leakage. Per-agent WASM/Docker sandboxing with cryptographic audit proofs.

🧩 Extensible Plugin System — Add custom capabilities with the plugin SDK. Distribute via the IPFS-based decentralized marketplace. 20 plugins available today across core, integration, optimization, and domain categories.

🏛️ Runtime Governance@monobrain/guidance compiles your CLAUDE.md into enforced policy gates: destructive-op blocking, tool allowlists, diff size limits, secret detection, trust tiers, and HMAC-chained proof envelopes.

Claude Code: With vs Without Monobrain

CapabilityClaude Code AloneClaude Code + Monobrain
Agent CollaborationOne agent, isolated contextSwarms with shared memory and consensus
Hive Mind⛔ Not availableQueen-led hierarchical swarms with 3+ queen types
Consensus⛔ No multi-agent decisionsByzantine fault-tolerant (f < n/3), Raft, Gossip, CRDT
MemorySession-only, ephemeralHNSW vector memory + knowledge graph, persistent cross-session
Self-LearningStatic, starts fresh every timeSONA self-optimization, EWC++ anti-forgetting, pattern reuse
Task RoutingManual agent selectionIntelligent 3-layer routing (keyword → semantic → LLM), 89% accuracy
Simple TransformsFull LLM call every timeAgent Booster (WASM): <1ms, $0 cost
Background WorkNothing runs automatically12 workers auto-dispatch on hooks events
LLM ProvidersAnthropic onlyClaude, GPT, Gemini, Cohere, Ollama with failover and cost routing
SecurityStandard Claude sandboxingCVE-hardened, WASM/Docker sandbox per agent, cryptographic proofs
GovernanceCLAUDE.md is advisoryRuntime-enforced policy gates with HMAC audit trail
CostFull LLM cost every task30–50% reduction via WASM, caching, smart routing

Architecture Deep Dives

🧭 Intelligent Task Routing — 3-layer pipeline that routes every request

Every request passes through a 3-layer pipeline before any agent sees it:

Request
  │
  ├─► [Layer 1] Keyword pre-filter     → instant match, zero LLM cost
  │
  ├─► [Layer 2] Semantic routing       → embedding similarity vs. agent catalog
  │
  └─► [Layer 3] LLM fallback (Haiku)  → Haiku-powered classification for ambiguous tasks

Once classified, the task hits the 3-tier cost model:

TierHandlerLatencyCostUsed for
1Agent Booster (WASM)<1ms$0Simple transforms (var→const, add types, logging)
2Haiku~500ms~$0.0002Moderate tasks, summaries, Q&A
3Sonnet / Opus2–5s$0.003–$0.015Architecture, security, complex reasoning

Hook signals — what the system emits to guide routing:

# Agent Booster can handle it — skip LLM entirely
[AGENT_BOOSTER_AVAILABLE] Intent: var-to-const
→ Use Edit tool directly, <1ms, $0

# Model recommendation for Task tool
[TASK_MODEL_RECOMMENDATION] Use model="haiku" (complexity=22)
→ Pass model="haiku" to Task tool for cost savings

Microagent trigger scanner — 10 specialist agents with keyword frontmatter triggers:

DomainTrigger keywordsAgent
Securityauth, injection, CVE, secretsecurity-architect
DevOpsdeploy, CI/CD, pipeline, k8sdevops-automator
Databasequery, schema, migration, indexdatabase-optimizer
FrontendReact, CSS, component, SSRfrontend-dev
Soliditycontract, ERC, Solidity, DeFisolidity-engineer
🐝 Swarm Coordination — How agents organize and reach consensus

Agents organize into swarms with configurable topologies and consensus algorithms:

TopologyBest forConsensus
HierarchicalCoding tasks, feature work (default)Raft (leader-based)
MeshDistributed exploration, researchGossip / CRDT
AdaptiveAuto-switches based on loadByzantine (BFT)

Consensus algorithms:

AlgorithmFault toleranceUse case
Raftf < n/2Authoritative state, coding swarms
Byzantine (BFT)f < n/3Untrusted environments
GossipEventual consistencyLarge swarms (100+ agents)
CRDTNo coordination overheadConflict-free concurrent writes

Anti-drift swarm configuration (recommended for all coding tasks):

npx monobrain@latest swarm init \
  --topology hierarchical \
  --max-agents 8 \
  --strategy specialized \
  --consensus raft
SettingWhy it prevents drift
hierarchicalCoordinator validates every output against the goal
max-agents 6–8Smaller team = less coordination overhead
specializedClear roles, no task overlap
raftSingle leader maintains authoritative state

Task → agent routing:

TaskAgents
Bug fixcoordinator · researcher · coder · tester
New featurecoordinator · architect · coder · tester · reviewer
Refactorcoordinator · architect · coder · reviewer
Performancecoordinator · perf-engineer · coder
Security auditcoordinator · security-architect · auditor
🧠 Self-Learning Intelligence — How Monobrain gets smarter every session

Every task feeds the 4-step RETRIEVE-JUDGE-DISTILL-CONSOLIDATE pipeline:

RETRIEVE  ──►  JUDGE  ──►  DISTILL  ──►  CONSOLIDATE
   │               │            │               │
HNSW search   success/fail   LoRA extract   EWC++ preserve
150x faster    verdicts       128x compress  anti-forgetting

Memory architecture:

FeatureDetails
Episodic memoryFull task histories with timestamps and outcomes
Entity extractionAutomatic extraction of code entities into structured records
Procedural memoryLearned skills from .monobrain/skills.jsonl
Vector search384-dim embeddings, sub-ms retrieval via HNSW
Knowledge graphPageRank + community detection for structural insights
Agent isolationPer-agent memory scopes prevent cross-contamination
Hybrid backendSQLite + AgentDB, zero native binary dependencies

Specialization scorer — per-agent, per-task-type success/failure tracking with time-decay. Feeds routing quality over time. Persists to .monobrain/scores.jsonl.

Agent Booster (WASM) — Skip the LLM for simple code transforms

Agent Booster uses WebAssembly to handle deterministic code transforms without any LLM call:

IntentExamplevs LLM
var-to-constvar x = 1const x = 1352× faster
add-typesAdd TypeScript annotations420× faster
add-error-handlingWrap in try/catch380× faster
async-await.then()async/await290× faster
add-loggingInsert structured debug logs352× faster
remove-consoleStrip all console.* calls352× faster
format-stringModernize to template literals400× faster
null-checkAdd ?. / ?? operators310× faster

When hooks emit [AGENT_BOOSTER_AVAILABLE], Claude Code intercepts and uses the Edit tool directly — zero LLM round-trip.

💰 Token Optimizer — 30–50% API cost reduction

Smart caching and routing stack multiplicatively to reduce API costs:

OptimizationSavingsMechanism
ReasoningBank retrieval–32%Fetches relevant patterns, not full context
Agent Booster transforms–15%Simple edits skip LLM entirely
Pattern cache (95% hit rate)–10%Reuses embeddings and routing decisions
Optimal batch size–20%Groups related operations
Combined30–50%Multiplicative stacking
🏛️ Governance — Runtime policy enforcement from CLAUDE.md

@monobrain/guidance compiles CLAUDE.md into a 7-phase runtime enforcement pipeline:

CLAUDE.md ──► Compile ──► Retrieve ──► Enforce ──► Trust ──► Prove ──► Defend ──► Evolve
PhaseEnforces
EnforceDestructive ops, tool allowlist, diff size limits, secret detection
TrustPer-agent trust accumulation with privilege tiers
ProveHMAC-SHA256 hash-chained audit envelopes
DefendPrompt injection, memory poisoning, collusion detection
EvolvePolicy drift detection, auto-update proposals

1,331 tests · 27 subpath exports · WASM security kernel

Quick Start

Prerequisites

  • Node.js 20+ (required)
  • Claude Codenpm install -g @anthropic-ai/claude-code

Installation

One-line (recommended):

curl -fsSL https://cdn.jsdelivr.net/gh/nokhodian/monobrain@main/scripts/install.sh | bash

Via npx:

npx monobrain@latest init --wizard

Manual:

# Register MCP server with Claude Code
claude mcp add monobrain -- npx -y monobrain@latest mcp start

# Start background worker daemon
npx monobrain@latest daemon start

# Health check
npx monobrain@latest doctor --fix

First Commands

# Spawn an agent
npx monobrain@latest agent spawn -t coder --name my-coder

# Launch a full swarm
npx monobrain@latest hive-mind spawn "Refactor auth module to use OAuth2"

# Search learned patterns
npx monobrain@latest memory search -q "authentication patterns"

# Dual Claude + Codex workflow
npx monobrain-codex dual run feature --task "Add rate limiting middleware"

⚡ Slash Commands

Type these directly in Claude Code. No setup beyond npx monobrain init.

🤖 Agent Intelligence

CommandWhat it does
/specialagentScores all 60+ agents against your task and picks the best one (or recommends a full swarm config). Prevents wasting a generic coder on a job that needs a Database Optimizer or tdd-london-swarm.
/use-agent [slug]Instantly activates a non-dev specialist agent — Sales Coach, TikTok Strategist, Legal Compliance Checker, UX Researcher, etc. Without a slug, auto-picks from conversation context.
/list-agents [category]Lists all available specialist agents, optionally filtered by category (marketing, sales, design, academic, product, project-management, support).

🌐 Browser & UI Automation

CommandWhat it does
/ui-test <url>Full UI test run: opens the URL, snapshots interactive elements, walks golden-path flows, tests edge cases, reports pass/fail/warn. Powered by agent-browser.
/browse <url>Navigates to a URL and walks through it step by step — narrating what's on screen, proposing actions, and helping you accomplish tasks via the browser.
/crawl <url>Crawls a website — extracts links, text, structured data, or anything you specify. Great for scraping, auditing, or data extraction tasks.
/browserRaw agent-browser session: opens an interactive browser automation context with snapshot, click, fill, and screenshot tools. Use when you need fine-grained control.

🏛️ SPARC Methodology

CommandWhat it does
/sparcRuns the full SPARC orchestrator — breaks down your objective, delegates to the right modes, and coordinates the full development lifecycle.
/sparc spec-pseudocodeCaptures requirements, edge cases, and constraints, then translates them into structured pseudocode ready for implementation.
/sparc codeAuto-coder mode — writes clean, efficient, modular code from pseudocode or a spec.
/sparc debugDebugger mode — traces runtime bugs, logic errors, and integration failures systematically.
/sparc security-reviewSecurity reviewer — static and dynamic audit, flags secrets, poor module boundaries, and injection risks.
/sparc devopsDevOps mode — CI/CD, Docker, deployment automation.
/sparc docs-writerWrites clear, modular Markdown documentation: READMEs, API references, usage guides.
/sparc refinement-optimization-modeRefactors, modularizes, and improves system performance. Enforces file size limits and dependency hygiene.
/sparc integrationSystem integrator — merges outputs of all modes into a working, tested, production-ready system.

🐝 Swarm & Memory

CommandWhat it does
/monobrain-swarmCoordinates a multi-agent swarm for complex tasks — spawns agents, distributes work, waits for results, synthesizes output.
/monobrain-memoryInteracts with the AgentDB memory system — store, search, retrieve, and inspect patterns across sessions.
/monobrain-helpShows all Monobrain CLI commands and usage reference inline.

Pro tip — automatic activation: You don't need to type slash commands for most flows. The UserPromptSubmit hook reads every prompt and automatically suggests the right slash command (or activates it) based on what you wrote. /specialagent activates when you ask "which agent", /ui-test activates when you say "test the UI", /browse activates when you say "go to the website", etc.

Agents

100+ specialized agents across every engineering domain:

🔧 Core Development
AgentSpecialization
coderClean, efficient implementation across any language
reviewerCode review — correctness, security, maintainability
testerTDD, integration, E2E, coverage analysis
plannerTask decomposition, sprint planning, roadmap
researcherDeep research, information gathering
architectSystem design, DDD, architectural patterns
analystCode quality analysis and improvement
🔒 Security
AgentSpecialization
security-architectThreat modeling, secure design, vulnerability assessment
security-auditorSmart contract audits, CVE analysis
security-engineerApplication security, OWASP, secure code review
threat-detectionSIEM rules, MITRE ATT&CK, detection engineering
compliance-auditorSOC 2, ISO 27001, HIPAA, PCI-DSS
🐝 Swarm & Consensus
AgentSpecialization
hierarchical-coordinatorQueen-led coordination with specialized worker delegation
mesh-coordinatorP2P mesh, distributed decision-making, fault tolerance
adaptive-coordinatorDynamic topology switching, self-organizing
byzantine-coordinatorBFT consensus, malicious actor detection
raft-managerRaft protocol, leader election, log replication
gossip-coordinatorGossip-based eventual consistency
crdt-synchronizerConflict-free replication
consensus-coordinatorSublinear solvers, fast agreement
🚀 DevOps & Infrastructure
AgentSpecialization
devops-automatorCI/CD pipelines, infrastructure automation
cicd-engineerGitHub Actions, pipeline creation
sreSLOs, error budgets, chaos engineering
incident-responseProduction incident management, post-mortems
database-optimizerSchema design, query optimization, PostgreSQL/MySQL
data-engineerData pipelines, lakehouse, dbt, Spark, streaming
🌐 Frontend, Mobile & Specialized
AgentSpecialization
frontend-devReact/Vue/Angular, UI, performance optimization
mobile-devReact Native iOS/Android, cross-platform
accessibilityWCAG, screen readers, inclusive design
solidity-engineerEVM smart contracts, gas optimization, DeFi, L2
ml-engineerML model development, training, deployment
embedded-firmwareESP32, STM32, FreeRTOS, Zephyr, bare-metal
backend-architectScalable systems, microservices, API design
technical-writerDeveloper docs, API references, tutorials
🔀 GitHub Workflow Automation
AgentSpecialization
pr-managerPR lifecycle, review coordination, merge management
code-review-swarmParallel multi-agent code review
release-managerAutomated release coordination, changelog
repo-architectRepository structure, multi-repo management
issue-trackerIssue management, project coordination
workflow-automationGitHub Actions creation and optimization
🔬 SPARC Methodology
AgentSpecialization
sparc-coordSPARC orchestrator across all 5 phases
specificationRequirements analysis and decomposition
pseudocodeAlgorithm design, logic planning
architectureSystem design from spec
refinementIterative improvement
sparc-coderTDD-driven implementation from specs

View all: npx monobrain@latest agent list

Live Statusline

Monobrain adds a real-time six-row dashboard to Claude Code:

▊ Monobrain v1.0.0  ○ IDLE  nokhodian  │  ⎇ main  +1  ~9921 mod  ↑5  │  🤖 Sonnet 4.6
──────────────────────────────────────────────────────────────────────────────────────
💡  INTEL    ▱▱▱▱▱▱ 3%   │   📚 190 chunks   │   76 patterns
──────────────────────────────────────────────────────────────────────────────────────
🐝  SWARM    0/15 agents   ⚡ 14/14 hooks   │   🎯 3 triggers · 24 agents   │   → ROUTED  👤 Coder  81%
──────────────────────────────────────────────────────────────────────────────────────
🧩  ARCH     82/82 ADRs   │   DDD ▰▰▱▱▱ 40%   │   🛡️ ✖ NONE   │   CVE not scanned
──────────────────────────────────────────────────────────────────────────────────────
🗄️  MEMORY   0 vectors   │   2.0 MB   │   🧪 66 test files   │   MCP 1/1  DB ✔
──────────────────────────────────────────────────────────────────────────────────────
📋  CONTEXT  📄 SI 80% budget (1201/1500 chars)   │   🏗 ▰▰▱▱▱ 2/5 domains   │   💾 47 MB RAM
RowShows
HeaderVersion, session state, git user, branch, uncommitted changes
INTELIntelligence score, knowledge chunks indexed, learned patterns
SWARMActive agents, hook count, microagent triggers, last routing result
ARCHADR compliance, DDD domain coverage, security gates, CVE status
MEMORYVector count, DB size, test file count, MCP/DB health
CONTEXTShared instructions budget, domain coverage, RAM usage

Toggle compact ↔ full: /ts — Full reference: tagline.md

Dual-Mode Collaboration

Run Claude Code and OpenAI Codex workers in parallel with shared memory:

# Pre-built templates
npx monobrain-codex dual run feature --task "Add OAuth authentication"
npx monobrain-codex dual run security --target "./src"
npx monobrain-codex dual run bugfix --task "Fix race condition in session handler"

# Custom pipeline
npx monobrain-codex dual run \
  --worker "claude:architect:Design the API contract" \
  --worker "codex:coder:Implement the endpoints" \
  --worker "claude:tester:Write integration tests" \
  --worker "codex:optimizer:Reduce allocations"

Worker dependency order: Architect (L0) → Coder + Tester (L1) → Reviewer (L2) → Optimizer (L3)

TemplateWorkersPipeline
featureArchitect → Coder → Tester → ReviewerFull feature development
securityAnalyst → Scanner → ReporterSecurity audit
refactorArchitect → Refactorer → TesterCode modernization
bugfixResearcher → Coder → TesterBug investigation and fix

Packages

todo: write about packages of this app

Plugins

todo: write about plugins of this app 20 plugins via the IPFS-distributed registry:

npx monobrain@latest plugins list
npx monobrain@latest plugins install @monobrain/plugin-name
npx monobrain@latest plugins create my-plugin

Contributing

git clone https://github.com/nokhodian/monobrain.git
cd monobrain/packages
pnpm install
pnpm test

Support

Documentationgithub.com/nokhodian/monobrain
Issuesgithub.com/nokhodian/monobrain/issues
Enterprisemonoes.me

MIT — nokhodian

Acknowledgements

Monobrain builds on ideas, patterns, and research from the following projects:

RepositoryWhat we took
ruvnet/rufloOriginal skeleton — swarm coordination, hooks system, and SPARC methodology
msitarzewski/agency-agentsAgent architecture patterns and multi-agent md files
microsoft/autogenHuman oversight interrupt gates, AutoBuild ephemeral agents, procedural skill learning from executions, and tool-retry patterns
crewAIInc/crewAIMulti-tier memory (short/long/entity/contextual), role/goal/backstory agent registry, task context chaining, and output schema patterns
langchain-ai/langgraphGraph checkpointing + resume, StateGraph workflow DSL (fan-out/fan-in, conditional, loops), and entity extraction from conversation state
All-Hands-AI/OpenHandsPer-agent Docker/WASM sandboxing, semantic versioned agent registry (AgentHub), and EventStream session replay
agno-agi/agnoAgentMemory knowledge base architecture and team-level agent coordination class
huggingface/smolagentsExplicit planning step before execution and ManagedAgent delegation wrapper
pydantic/pydantic-aiTyped Agent[Deps, Result] I/O schemas, auto-retry on validation failure, TestModel for deterministic CI, and dynamic system prompt functions
BAAI/AgentSwarm (Agency Swarm)Declared directed communication flows between agents and shared instruction propagation
BerriAI/atomic-agentsBaseIOSchema typed agent contracts and SystemPromptContextProvider composition
stanfordnlp/dspyBootstrapFewShot + MIPRO automatic prompt optimization pipeline
aurelio-labs/semantic-routerUtterance-based RouteLayer replacing static routing codes, dynamic routes, and hybrid routing mode
langfuse/langfuseUnified trace/span/generation observability hierarchy, per-agent cost attribution, latency views, and prompt version management
karpathy/autoresearchExperiment loop protocol (BASELINE/KEEP/DISCARD results.tsv), fixed time-budget per run, and Best-Fit Decreasing bin packing for API chunking — wired into @monoes/graph pipeline
safishamsi/graphifyKnowledge graph construction approach, AST-based node/edge extraction, community detection with Louvain, and GRAPH_REPORT.md report format — foundation for @monoes/graph
google/gvisor (paper)gVisor runsc OCI-compatible runtime — reduces Docker container syscall surface from 350+ to ~50 interceptions; wired into SandboxConfig.use_gvisor and buildDockerArgs()
Indirect Injection research (follow-up)Prompt injection via external tool content — validateExternalContent() in @monobrain/security applies pattern + optional aidefence semantic scan to all externally-sourced content
FOREVER Forgetting CurveExponential importance-weighted forgetting curve (importanceScore × e^(−λt)) replacing linear decay — implemented in LearningBridge.decayConfidences() and MemoryEntry.importanceScore
Awesome RLVRReinforcement Learning with Verifiable Rewards — hooksModelOutcome now accepts verifier_type (tsc/vitest/eslint/llm_judge) and exit_code to derive grounded binary reward signals
ERL — Experiential Reflective LearningStructured {condition, action, confidence} heuristics extracted at hooks_post-task and injected as ranked hints into hooks_pre-task suggestions via the heuristics memory namespace
A-MEM — Agentic MemoryZettelkasten-style automatic note linking — after every bridgeStoreEntry, top-3 HNSW neighbors above 0.7 similarity receive a similar causal edge via bridgeRecordCausalEdge
DSPyBayesian exploration option (bayesian: true) added to PromptOptimizer.optimize() — shuffles trace scores with U(0,0.1) noise before selectExamples to escape local optima
Collaborative Memory PromotionAuto-promote memory access_level from privateteam when 3+ distinct agents read an entry within 24 h — implemented via agent_reads table in SQLiteBackend and checkAndPromoteEntry()
Zep / Graphiti — Bi-Temporal Knowledge Graph (repo)Separates event time T from ingestion time T' — MemoryEntry.eventAt nullable field + event_at SQLite column for temporal filtering without index rebuilds; 94.8% on Deep Memory Retrieval at 90% lower latency than MemGPT
HippoRAG 2 — PPR Graph RetrievalPersonalized PageRank over the memory reference graph — MemoryGraph.pprRerank() expands HNSW candidates one hop via MemoryEntry.references, boosting associative recall by up to 20% on multi-hop QA
RAPTOR — Recursive Abstractive Tree IndexingCluster episodic entries → summarize each cluster → store as contextual-tier entry — implemented in the consolidate background worker (runConsolidateWorker), creating RAPTOR's tree within existing stores
Multi-Agent Reflexion (MAR)Heterogeneous Diagnoser → Critic×2 → Aggregator reflection loop — hooks_post-task now returns marReflection when a task fails, specifying the four agent roles and spawn order
TextGrad — Automatic Differentiation via Text (Nature)LLM textual gradients flow backward through the pipeline — on hooks_post-task failure a textual_gradient critique is stored to the gradients memory namespace for next-prompt injection; +20% on LeetCode-Hard
CP-WBFT — Confidence-Probe Weighted BFTConfidence-weighted voting replaces one-node-one-vote — weightedTally() in consensus/vote-signer.ts scales each agent's vote by its confidence score, tolerating 85.7% fault rate (AAAI 2026)
GraphRAG + Practical GraphRAG (Practical)Community-level global query answering — MemoryGraph.getCommunitySummaries() returns top-k community descriptors (nodeCount, avgPageRank) for prepending to semantic search results; enables thematic reasoning over the entire knowledge base
MemPalaceSpatially-organized verbatim memory with Wing→Room→Hall hierarchy, Okapi BM25 + closet-topic hybrid retrieval, score-based L1 promotion, and temporal knowledge graph — implemented in .claude/helpers/memory-palace.cjs; injects L0 identity + L1 essential story on every session start via SessionStart hook; achieves 96.6% LongMemEval recall without summarization

Keywords

ruvflow

FAQs

Package last updated on 17 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts