Skip to content

Statewave

Statewave is an open-source memory runtime designed for AI agents, allowing them to store and manage memory effectively.

Free · Web, Docker · API

Screenshots

stork0:00 / 0:04
Ava, one of 89 voices. Press play.
A voiceover costs 5 cents a minute.
Type up to 20,000 characters, get an MP3. 89 voices, 38 languages. Three free a day, a minute each.
Make a voiceover

What is Statewave?

Statewave is a memory runtime tool that enables developers building AI agents to store and manage memory effectively. It captures raw events as immutable episodes and compiles them into structured memories with provenance, enabling efficient context retrieval for AI applications. This approach aims to provide durable, structured context and prevent AI systems from 'forgetting' across sessions, addressing limitations of traditional methods like RAG and 'prompt stuffing'. The system is self-hosted on Postgres with the pgvector extension and is framework-neutral, supporting over 100 LLM providers via LiteLLM.

Key Features of Statewave

Statewave provides a comprehensive set of features designed to manage AI agent memory with high fidelity and governance. These capabilities ensure that AI agents maintain context, track decisions, and comply with regulatory requirements.

  • Provenance tracking of memories, linking compiled memories back to source episodes.
  • Session-aware context management for AI agents.
  • Declarative policies for data governance and access control.
  • Multi-tenant isolation to secure data across different agent instances or users.
  • Full provenance and traceability for audit trails.
  • Captures raw events as immutable episodes.
  • Compiles raw events into structured memories with confidence scores.
  • Efficient context retrieval for LLM applications, ranked and token-bounded.
  • API available for programmatic interaction and integration.
  • Self-hosted on Postgres with the pgvector extension.

Who Should Use Statewave?

Statewave is primarily designed for developers and engineers building sophisticated AI applications that require durable, structured, and auditable memory. Its architecture supports complex AI agent workflows across various industries.

  • Developers building AI agents requiring durable memory, such as support agents with customer history.
  • Engineers creating coding copilots that need repository memory and context.
  • Teams developing personal AI assistants that remember user preferences and open issues across sessions.
  • Organizations building multi-agent platforms needing a shared memory layer for coordinated operations.
  • Enterprises requiring AI systems with built-in governance and auditability for compliance, such as under the EU AI Act.

How to Use Statewave

Statewave is an open-source memory runtime that can be self-hosted, typically on a Postgres database with the pgvector extension. Developers integrate Statewave into their AI agent applications via its API to manage memory operations.

  1. Set up a Postgres database instance with the pgvector extension.
  2. Deploy the Statewave runtime within your infrastructure.
  3. Integrate Statewave's API into your AI agent application to capture raw events as episodes.
  4. Utilize Statewave's compilation features to transform raw events into structured memories.
  5. Implement context retrieval calls to fetch ranked, token-bounded context for your LLM applications.
  6. Configure declarative policies and sensitivity labels for data governance and compliance.

Statewave Pricing & Plans

Statewave is an open-source project released under the Apache License 2.0. It is designed for self-hosting, meaning there are no direct licensing costs from Statewave itself. Users are responsible for their own infrastructure costs, such as hosting a Postgres database.

  • Self-hosted: Free (open-source core, users manage their own infrastructure costs)

Pros

  • Open-source under Apache License 2.0, offering flexibility and control.
  • Self-hosted on Postgres with pgvector, ensuring data privacy and control.
  • Provides full provenance and traceability for AI agent memories, crucial for auditability.
  • Includes built-in governance features like declarative policies and sensitivity labels for compliance (e.g., EU AI Act).
  • Framework-neutral, supporting over 100 LLM providers via LiteLLM.
  • Designed to overcome limitations of traditional RAG and prompt stuffing methods for context management.

Cons

  • Requires self-hosting and management of a Postgres database, which may incur operational overhead.
  • As an open-source project, direct commercial support may not be as readily available as with proprietary solutions.
  • Integration requires developer expertise to set up and configure the runtime and API.
  • Public user reviews and widespread adoption metrics are not as extensive as for more established commercial tools.

Statewave vs Competitors

Statewave differentiates itself from other AI memory solutions by focusing on a comprehensive memory runtime with strong provenance, governance, and self-hosting capabilities. It aims to provide a more robust and auditable solution compared to simpler memory management approaches.

See every Statewave alternative, compared

Statewave

Free · Web, Docker · API

Enjoying this? Get one like it in your inbox each morning.

one email a day · unsubscribe in two clicks · no third-party tracking