Discover and explore top open-source AI tools and projects—updated daily.
smaramwbcDurable AI agent memory with reproducible, provenance-tagged context
Top 89.3% on SourcePulse
Summary
Statewave is an open-source memory runtime designed to provide AI agents with reproducible, provenance-tagged context, addressing the common issue of statelessness in AI applications. It offers a structured approach to memory management, moving beyond fragile, query-time retrieval by compiling context into deterministic bundles. This infrastructure benefits developers building stateful AI systems by ensuring consistent recall, traceable data lineage, and a clear data lifecycle, all self-hostable on standard infrastructure.
How It Works
Statewave operates by ingesting raw events (episodes) into an append-only log, organized around user-defined subjects. These episodes are then compiled into typed memories with confidence scores and provenance. On demand, Statewave assembles token-bounded context bundles from these memories, ensuring that the same query against the same subject at the same time yields identical results. This compile-then-use approach eliminates sampling noise inherent in query-time retrieval, providing deterministic and traceable context crucial for reliable AI agent behavior.
Quick Start & Requirements
curl -fsSL https://www.statewave.ai/install | sh (macOS/Linux) or irm https://www.statewave.ai/install.ps1 | iex (Windows PowerShell). Alternatively, git clone and docker compose up -d.pip install statewavenpm install @statewavedev/sdkSTATEWAVE_LITELLM_API_KEY, STATEWAVE_LITELLM_MODEL).Highlighted Details
Maintenance & Community
Statewave is actively developed (v1.3.0). Community interaction, questions, and roadmap input are encouraged via GitHub Discussions. Bug reports and implementation tasks should be filed as GitHub Issues. Security vulnerabilities should be reported to security@statewave.ai.
Licensing & Compatibility
Statewave is licensed under the permissive Apache License, Version 2.0. This license allows for free use, modification, and distribution, including within proprietary, hosted, or commercial products, without source-disclosure obligations. It includes an explicit patent grant from contributors.
Limitations & Caveats
Current limitations include IP-based rate limiting (not per-tenant), multi-tenancy lacking native Postgres Row-Level Security (RLS), no built-in authentication provider, a YAML-based policy authoring approach without a visual editor, and no built-in federated cross-region audit capabilities. Receipt replay currently uses the original policy against current memories, not full historical memory snapshots.
1 week ago
Inactive