Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ruvnet avatar

V3 Memory Unification

  • 984 installs
  • 67k repo stars
  • Updated August 4, 2026
  • ruvnet/ruflo

V3 Memory Unification is a Claude Code skill that consolidates 6+ fragmented agent memory backends into a single AgentDB service with HNSW vector indexing for developers who need faster semantic recall in multi-agent sys

About

V3 Memory Unification is a ruflo skill that merges disparate agent memory systems into one AgentDB backend with HNSW vector search, implementing ADR-006 (Unified Memory Service) and ADR-009 (Hybrid Memory Backend). The skill guides initialization, indexing configuration, and migration while preserving backward compatibility with existing memory APIs. Developers reach for V3 Memory Unification when agent recall latency or consistency across memory stores blocks production agent workflows. Documented benchmarks cite 150x–12,500x search performance improvements after unification. Quick-start flows invoke specialist tasks such as v3-memory-specialist for architecture design and AgentDB HNSW setup.

  • Unifies 7 legacy memory systems into one AgentDB backend
  • Delivers 150x–12,500x faster semantic search via HNSW indexing
  • Implements ADR-006 Unified Memory Service and ADR-009 Hybrid Memory Backend
  • Maintains full backward compatibility with existing agent code
  • Provides unified query interface across all previous memory patterns

V3 Memory Unification by the numbers

  • 984 all-time installs (skills.sh)
  • +3 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #1,111 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ruvnet/ruflo --skill v3-memory-unification

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs984
repo stars67k
Security audit3 / 3 scanners passed
Last updatedAugust 4, 2026
Repositoryruvnet/ruflo

How do you unify fragmented agent memory backends?

Consolidate multiple fragmented memory backends into a single high-performance AgentDB with HNSW vector indexing.

Who is it for?

Developers building multi-agent platforms in ruflo/claude-flow v3 who maintain several incompatible memory stores.

Skip if: Developers with a single SQLite or Redis cache who only need basic key-value persistence without vector search.

When should I use this skill?

Agent memory is split across multiple backends, recall is slow, or ADR-006/ADR-009 unification is planned.

What you get

Unified AgentDB backend, HNSW index configuration, ADR migration plan, and backward-compatible memory API layer.

  • Unified AgentDB configuration
  • HNSW index setup
  • ADR-006/ADR-009 migration plan

By the numbers

  • Unifies 6+ memory systems into AgentDB
  • Documents 150x–12,500x search performance improvements with HNSW indexing

Files

SKILL.mdMarkdownGitHub ↗

V3 Memory Unification

What This Skill Does

Consolidates disparate memory systems into unified AgentDB backend with HNSW vector search, achieving 150x-12,500x search performance improvements while maintaining backward compatibility.

Quick Start

# Initialize memory unification
Task("Memory architecture", "Design AgentDB unification strategy", "v3-memory-specialist")

# AgentDB integration
Task("AgentDB setup", "Configure HNSW indexing and vector search", "v3-memory-specialist")

# Data migration
Task("Memory migration", "Migrate SQLite/Markdown to AgentDB", "v3-memory-specialist")

Systems to Unify

Legacy Systems → AgentDB

┌─────────────────────────────────────────┐
│  • MemoryManager (basic operations)     │
│  • DistributedMemorySystem (clustering) │
│  • SwarmMemory (agent-specific)         │
│  • AdvancedMemoryManager (features)     │
│  • SQLiteBackend (structured)           │
│  • MarkdownBackend (file-based)         │
│  • HybridBackend (combination)          │
└─────────────────────────────────────────┘
                    ↓
┌─────────────────────────────────────────┐
│       🚀 AgentDB with HNSW             │
│  • 150x-12,500x faster search          │
│  • Unified query interface             │
│  • Cross-agent memory sharing          │
│  • SONA learning integration           │
└─────────────────────────────────────────┘

Implementation Architecture

Unified Memory Service

class UnifiedMemoryService implements IMemoryBackend {
  constructor(
    private agentdb: AgentDBAdapter,
    private indexer: HNSWIndexer,
    private migrator: DataMigrator
  ) {}

  async store(entry: MemoryEntry): Promise<void> {
    await this.agentdb.store(entry);
    await this.indexer.index(entry);
  }

  async query(query: MemoryQuery): Promise<MemoryEntry[]> {
    if (query.semantic) {
      return this.indexer.search(query); // 150x-12,500x faster
    }
    return this.agentdb.query(query);
  }
}

HNSW Vector Search

class HNSWIndexer {
  constructor(dimensions: number = 1536) {
    this.index = new HNSWIndex({
      dimensions,
      efConstruction: 200,
      M: 16,
      speedupTarget: '150x-12500x'
    });
  }

  async search(query: MemoryQuery): Promise<MemoryEntry[]> {
    const embedding = await this.embedContent(query.content);
    const results = this.index.search(embedding, query.limit || 10);
    return this.retrieveEntries(results);
  }
}

Migration Strategy

Phase 1: Foundation

// AgentDB adapter setup
const agentdb = new AgentDBAdapter({
  dimensions: 1536,
  indexType: 'HNSW',
  speedupTarget: '150x-12500x'
});

Phase 2: Data Migration

// SQLite → AgentDB
const migrateFromSQLite = async () => {
  const entries = await sqlite.getAll();
  for (const entry of entries) {
    const embedding = await generateEmbedding(entry.content);
    await agentdb.store({ ...entry, embedding });
  }
};

// Markdown → AgentDB
const migrateFromMarkdown = async () => {
  const files = await glob('**/*.md');
  for (const file of files) {
    const content = await fs.readFile(file, 'utf-8');
    await agentdb.store({
      id: generateId(),
      content,
      embedding: await generateEmbedding(content),
      metadata: { originalFile: file }
    });
  }
};

SONA Integration

Learning Pattern Storage

class SONAMemoryIntegration {
  async storePattern(pattern: LearningPattern): Promise<void> {
    await this.memory.store({
      id: pattern.id,
      content: pattern.data,
      metadata: {
        sonaMode: pattern.mode,
        reward: pattern.reward,
        adaptationTime: pattern.adaptationTime
      },
      embedding: await this.generateEmbedding(pattern.data)
    });
  }

  async retrieveSimilarPatterns(query: string): Promise<LearningPattern[]> {
    return this.memory.query({
      type: 'semantic',
      content: query,
      filters: { type: 'learning_pattern' }
    });
  }
}

Performance Targets

  • Search Speed: 150x-12,500x improvement via HNSW
  • Memory Usage: 50-75% reduction through optimization
  • Query Latency: <100ms for 1M+ entries
  • Cross-Agent Sharing: Real-time memory synchronization
  • SONA Integration: <0.05ms adaptation time

Success Metrics

  • [ ] All 7 legacy memory systems migrated to AgentDB
  • [ ] 150x-12,500x search performance validated
  • [ ] 50-75% memory usage reduction achieved
  • [ ] Backward compatibility maintained
  • [ ] SONA learning patterns integrated
  • [ ] Cross-agent memory sharing operational

Related skills

How it compares

Choose V3 Memory Unification over a generic vector-DB skill when the goal is ruflo-specific AgentDB migration with ADR compliance, not greenfield embedding storage.

FAQ

What does V3 Memory Unification consolidate?

V3 Memory Unification merges 6+ fragmented agent memory systems into a single AgentDB backend with HNSW vector indexing. The skill implements ADR-006 Unified Memory Service and ADR-009 Hybrid Memory Backend while keeping existing memory APIs compatible.

How much faster is search after AgentDB unification?

V3 Memory Unification documents 150x–12,500x search performance improvements after consolidating backends and enabling HNSW vector indexing on AgentDB. Actual gains depend on prior backend topology and query patterns.

Is V3 Memory Unification safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

AI & Agent Buildingagentsautomation

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.