Brain

•

Manages a memory-efficient semantic memory and knowledge graph for AI agents, providing hybrid retrieval and structured querying over ingested text.

Brain Server functions as a memory-efficient semantic memory and knowledge graph backend specifically designed for AI agents. It intelligently stores ingested text as searchable chunks, leveraging both vector and lexical indexes for hybrid retrieval through Reciprocal Rank Fusion. The server also constructs a dynamic knowledge graph from inline annotations and exposes a sophisticated structured query API, all powered by a single embedded SQLite database. Designed for edge hardware but robust enough for any environment where Rust compiles, Brain Server enables AI agents to perform advanced tasks like point-in-time recall, semantic search, and knowledge graph traversal efficiently and securely.

主要功能

01Hybrid retrieval combining vector KNN and lexical FTS5 via Reciprocal Rank Fusion.
02OpenAI-compatible embeddings API for custom content.
03Knowledge graph extraction and traversal from inline markdown annotations.
04Prompt-injection quarantine to store suspicious content safely for review.
05Temporal evidence tracking with point-in-time recall and conflict detection.
060 GitHub stars

使用案例

01Building and querying dynamic knowledge graphs from unstructured text data.
02Providing advanced memory and knowledge retrieval capabilities for AI agents.
03Integrating secure, efficient semantic and lexical search into AI applications.