Strata

•

Provides a local-first memory layer for AI agents, compressing context with a local LLM and indexing it with hybrid search.

AI agents often lose context between sessions, requiring repeated explanations of prior decisions and knowledge. Strata solves this by offering a local-first memory solution that compresses context on write and synthesizes it on read, running entirely on hardware you own. This eliminates the need for third-party services, ensuring no data leaves your network and incurring no API costs for embeddings or inference. It leverages local LLMs via Ollama for both context compression into durable facts and synthesizing coherent answers from retrieved memories, employing a staged retrieval pipeline that prioritizes cost-effective search methods before escalating to more complex ones.

Características Principales

01Compresses raw input into distilled facts, preventing memory bloat and maintaining usefulness.
02Zero external API costs for embeddings or inference, powered entirely by local LLMs via Ollama.
03Staged retrieval pipeline that prioritizes cheaper search methods (exact match, lexical) before semantic search and synthesis.
040 GitHub stars
05Local-first operation with all models and storage contained on user-owned hardware.
06Hybrid search combining lexical (Postgres full-text search) and semantic (vector similarity) results.

Casos de Uso

01Providing a private, secure, and cost-effective memory solution for any AI agent requiring persistent knowledge.
02Enabling AI coding agents to retain context and learned information across multiple sessions.
03Allowing AI agents to synthesize coherent and concise answers from a growing body of past interactions and data.