AhanaFlow AhanaAI Company AhanaFlow Sign in

AhanaFlow › AI agent memory

Can session state and long-term vector memory live in one self-hosted store?

Yes, at the store layer. An agent needs three things from memory: short-term session state (ordered turns, tool-call history, and working keys with a TTL), durable facts that survive the session, and a way to recall those facts by meaning. Those three can live in one self-hosted runtime. A service that automatically extracts and summarizes memories is a different layer that sits on top of a store.

AhanaFlow is a vector database with durable state in the same process. Embeddings sit next to keys, queues, and session context. It keeps your data compressed and works on it while it stays compressed.

What an agent needs from a memory layer

A model does not remember between calls on its own. Agent memory is the system that stores and retrieves past turns, facts, and preferences, so the agent does not start every call from a blank context. It usually has three parts.

Short-term session state

This is the current conversation and working state: ordered turns, tool-call history, scratch keys, and a time-to-live so stale sessions expire. LangGraph describes this as thread-scoped memory kept by a checkpointer. Redis Agent Memory calls it session memory.

Durable long-term facts

Preferences, decisions, and facts that must still be there after the session ends. They need durable storage that comes back after a restart, not only a cache.

Vector recall

Long-term facts are often recalled by meaning, not only by key: the agent embeds a question and looks for the closest stored notes. Redis's semantic memory search explainer covers this idea, along with episodic and procedural memory. In AhanaFlow, embeddings sit beside session context and retrieval is exact. The product page shows this request shape:

PUT  /state/{key}
PUT  /vectors/{key}
POST /query   { "k": 3 }

Shape only, as on the product page. It is not a live host. Do not call these paths.

Store layer vs memory-framework layer

A store holds keys, streams, and vectors. A memory framework or service decides what to write, how to summarize it, and when to retrieve it. LangGraph's Store, Mem0, and Redis Agent Memory are examples of that second layer, and they often run on one or more stores underneath. For example, Mem0's open-source defaults pair a vector store (local Qdrant, or Postgres with pgvector) with a separate history store (SQLite).

AhanaFlow sits at the store layer. Your framework, or your own code, stays in charge of what to remember.

Can one self-hosted runtime hold all three?

Yes, if that runtime offers session-scoped keys with a TTL, durable queues and streams, and vector query in one process. That is the shape the AhanaFlow product page describes. Its Use Cases section already lists agents: tool-call history and embeddings in one runtime, so the next step finds the right note, not a Redis plus a vector box. The community self-host license is non-commercial.

What AhanaFlow publishes today

What this page does not claim

The public product page does not claim automatic memory extraction, session summarization, MemoryETL-style pipelines, custom memory types, an MCP memory server, hybrid keyword and vector recall, or graph memory. AhanaFlow is not presented as a drop-in replacement for Redis or for Redis Agent Memory. Tool-call history is a use case for keys and embeddings, not a dedicated memory type.

How this compares to a Redis plus vector-database split

That split is common, and it works. AhanaFlow is aimed at teams that today run Redis plus Pinecone, or Postgres plus pgvector, and would rather run one runtime.

The only measured Redis comparison on the product page is one lane. On April 16, 2026, with buffered clients, compact fast mode, and Redis AOF at appendfsync everysec, AhanaFlow ran at 1.057× Redis throughput (493,812 vs 467,360 ops/sec) with a 3.42× smaller durable log (3,835 KB vs 13,116 KB). The log figure is log size on that run, not a storage bill. That run did not measure agent memory, prompt traffic, or vector recall.

If you want a managed memory service instead, Redis documents Agent Memory with two tiers, session memory and long-term memory, plus automatic session summarization, long-term memory extraction, MemoryETL, custom memory types, and an MCP server. Redis's 4 November 2026 announcement lists Agent Memory as generally available. AhanaFlow does not claim those service features.

Self-host, license, and access

You can run the public repository today: AhanaAi-Company/AhanaFlow. It is source for self-hosting, not a product download. The community license is non-commercial; commercial use of a self-hosted copy needs a commercial license. See self-host vs paid plans.

Checkout is not open. Planned Pro ($9.99 / month) and Team ($19.99 / month) prices are Coming soon. Not a checkout. To ask about access, use the request form.

Questions

Can session state and long-term vector memory live in one self-hosted store?

Yes, at the store layer. Session keys with a TTL, durable state, and vector recall can share one runtime. Automatic memory extraction and summarization are a separate layer that sits on top of a store.

What is the difference between short-term and long-term memory for agents?

Short-term memory is the current session or thread: turns, tool calls, and working state. Long-term memory persists across sessions and is recalled by key or by meaning.

Do I need Redis and a separate vector database for agent memory?

Not necessarily. Some teams keep that split, or run a memory framework on more than one backend. AhanaFlow is one runtime for keys, queues, streams, and vectors. The only measured Redis comparison is the April 16, 2026 compact fast-mode AOF lane on the product page.

Does AhanaFlow include automatic memory extraction?

Not on the public product page today. Your agent framework or your own code decides what to store, summarize, and recall.

Is AhanaFlow a Redis Agent Memory alternative?

It can hold session state and vector recall in one self-hosted process. Redis Agent Memory, per Redis's docs, also summarizes sessions and extracts long-term memories. AhanaFlow does not currently claim those features.

Can I self-host AhanaFlow, and is checkout open?

Self-host from the public repository. The community license is non-commercial. Checkout is not open. Planned Pro and Team prices are Coming soon and are not a purchase.

High egress or data-transfer bills are a different job. See AhanaWire. More questions: AhanaFlow FAQ.