LightRAG Memory

•

Provides fast, LLM-free memory search for AI coding agents by connecting them to a LightRAG knowledge base.

This tool acts as a thin server to bridge AI coding agents like Claude Code or Codex with a LightRAG knowledge base, dramatically speeding up memory lookups. It addresses the common challenges of slow memory access, frequent client timeouts, redundant LLM usage for summarization, and dependency on external LLM providers. By directly returning raw entities, relations, and original text chunks without additional LLM summarization, it reduces lookup times from minutes to seconds, ensures memory access even when LLMs are unavailable, and delivers factual, context-friendly output within a character budget. It also includes safe write mechanisms to prevent data loss from naming conflicts.

Key Features

01Delivers context-friendly output, prioritizing original notes with sources and compacting results within a character budget.
02Automatic fallback to an LLM-free 'naive' mode ensures memory access even if the primary LLM-based search fails.
03Supports multiple languages for tool descriptions and responses (English and Russian).
04Ultra-fast LLM-free memory search, completing lookups in 0.2–2.5 seconds.
05Ensures safe memory writes by adding timestamps to source names, preventing silent data loss from conflicts.
060 GitHub stars

Use Cases

01Accelerating long-term memory retrieval for AI coding agents to improve response times.
02Providing a resilient memory system for AI agents that remains functional even if external LLM services are down.
03Allowing AI agents to save important decisions, context, and facts to a knowledge base reliably.
04Enabling agents to access original source notes and knowledge graph details without intermediary LLM summarization.