Glean

•
1
•

Develop a local-first knowledge engine and RAG infrastructure powered by Rust, offering hybrid search capabilities and MCP server compatibility.

Glean serves as a foundational local-first knowledge engine, built with a robust Rust core to provide reliable RAG (Retrieval Augmented Generation) infrastructure. It integrates seamlessly with LanceDB for efficient data management and utilizes FastEmbed for robust semantic search. The tool features a powerful hybrid search mechanism, combining BM25 keyword matching with vector similarity for comprehensive and relevant information retrieval. Designed to be compatible with the MCP (Multi-Client Protocol) via a stdio server, Glean allows for flexible integration into various developer environments and AI agent workflows, enabling local data indexing and retrieval.

主要功能

01Hybrid search (BM25 + Vector) fused with RRF
02LanceDB integration for vector storage
03Local-first knowledge engine with a Rust core
040 GitHub stars
05FastEmbed for 384-dimensional 'AllMiniLM-L6-v2' embeddings
06MCP-compatible stdio server (JSON-RPC 2.0)

使用案例

01Building AI agents with local, context-aware knowledge retrieval
02Implementing RAG systems for improved language model responses
03Integrating semantic search and file context reading into developer tools