Flex supercharges your Claude Code sessions by retroactively compiling your entire history for powerful vector and hybrid retrieval. It transforms your past interactions into a rich, queryable knowledge base, accessible instantly via the MCP tool. Unlike traditional memory systems, Flex works immediately upon installation, making all previous sessions searchable. It captures extensive metadata, builds automatic knowledge graphs (community structure, hub sessions, file co-edit patterns, project attribution), and offers sophisticated query capabilities like topic suppression, recency weighting, and diversification, ensuring you can find precisely what you need, from file lineage to the rationale behind key decisions.
Características Principales
01Local-first architecture with an open SQLite format for your knowledge base
020 GitHub stars
03Rich metadata capture and automatic knowledge graph generation
04Retroactive session history indexing for immediate queryability
05Advanced semantic search with composable query tokens (e.g., suppress topics, weight recency)
06Direct CLI access for queries without an AI agent