Skip to content

Feature: Neural Mesh RAG — Self-Evolving Knowledge Architecture #1994

@mrveiss

Description

@mrveiss

Summary

Transform AutoBot's retrieval system from a fixed pipeline into a self-evolving knowledge mesh. Minimal bootstrap seed, autonomous evolution through Hebbian reinforcement ("nodes that fire together, wire together").

Architecture

Two Layers:

  • Seed Layer (built once): Chunk nodes + embeddings (ChromaDB), structural edges (PART_OF, NEXT, SIMILAR_TO), entity-based edges
  • Mesh Brain (AutoBot manages): EdgeLearner, EdgeDiscoverer, MeshPruner, NodePromoter

Three Storage Layers:

  • ChromaDB: vectors + anchor summaries
  • Redis: hot edges for retrieval-time expansion
  • PostgreSQL: mesh adjacency tables + evolution log (Mesh Brain workspace)

Implementation Phases

Phase 1: Harden Foundations ✅

Phase 2: ECL + Dual Indexing ✅

Phase 3: Mesh Brain + NeuralMeshRetriever ✅

Phase 4: Autonomous Evolution ✅

Phase 5: Agentic RAG + Mesh Agent Topology ✅

Final Stats

  • 33 PRs merged
  • ~310 tests
  • 5 phases completed in 2 sessions

Absorbs Issues

Prerequisites

Design Document

docs/plans/2026-03-22-neural-mesh-rag-design.md

Key Research Sources

AgentNet (NeurIPS 2025), G-Designer, MA-RAG, A-RAG, GraphRAG (Microsoft), HippoRAG (NeurIPS 2024), RAPTOR (ICLR 2024), LightRAG, LazyGraphRAG (Microsoft), Modular RAG

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions