raphaelmansuy/edgequake
EdegQuake 🌋 High-performance GraphRAG inspired from LightRag written in Rust; Transform documents into intelligent knowledge graphs for superior retrieval and generation
What it solves
EdgeQuake is a high-performance Graph-RAG framework designed to overcome the limitations of traditional RAG, which relies solely on vector similarity. While vector search is effective for keyword lookups, it often fails at multi-hop reasoning and thematic queries. EdgeQuake solves this by transforming documents into a knowledge graph of entities and relationships, allowing the system to traverse both vector space and graph structures for superior retrieval and generation.
How it works
Built in Rust for high performance, EdgeQuake implements the LightRAG algorithm. It decomposes documents into a knowledge graph using LLM-powered entity extraction and relationship mapping. At query time, it uses a hybrid approach—combining vector search (via pgvector) and graph traversal (via Apache AGE) within a PostgreSQL database. It offers six different query modes, including Naive, Local, Global, and Hybrid, to balance latency and depth of reasoning.
Who it’s for
Developers and organizations needing a production-ready RAG system that can handle complex, relationship-based queries across large document sets, with support for multi-tenancy, authentication, and high concurrency.
Highlights
- Knowledge Graph Engine: Uses Louvain clustering for community detection and multi-pass gleaning to increase entity extraction rates.
- Hybrid RAG: Combines Personalized PageRank (PPR) graph walks with HNSW vector search for comprehensive results.
- PDF Vision Pipeline: Supports both fast text extraction and a vision-based mode (using GPT-4o, Claude, or Gemini) to reconstruct complex tables and multi-column layouts.
- Production-Ready Infrastructure: Features a REST API with SSE streaming, multi-tenant workspace isolation, and integration with the Model Context Protocol (MCP) for AI agents.
- High Performance: Written in Rust, claiming significantly lower query latency and higher concurrency compared to traditional RAG implementations.
Related
- Project
- Project
- Project
- Project
- Project