Skip to content

redis/agent-memory-server

Repository files navigation

Redis Agent Memory

A memory layer that gives agents intelligent short-term memory and persistent context across conversations.

Redis Agent Memory in Redis Iris

Redis Agent Memory in Redis Iris is Redis’s official managed path for teams that want agent memory as a service, not another subsystem to build and operate themselves. Redis Iris is the real-time context engine for agents, designed to deliver fresh, relevant context at runtime, and Redis Agent Memory is the part of Iris that makes context compound across turns, sessions, channels, and agents.

Redis Agent Memory in Iris gives you the Redis-managed experience: a persistent, structured memory layer for AI agents exposed through a REST API and client libraries, with dedicated endpoints, secure API key management, configurable memory schemas, and automatic TTL-based lifecycle management. The point is not just storage. It is to remove the custom memory infrastructure teams otherwise end up building around session handling, extraction, retrieval, and lifecycle management.

Redis Agent Memory uses a two-tier model. Session memory keeps the active conversation state, session history, and session-specific metadata close at hand, with configurable TTL control for retention. Long-term memory stores extracted facts and learned patterns from past interactions as text plus vector embeddings for semantic retrieval. As new events are written to working memory, Redis Agent Memory automatically extracts important information and promotes it to long-term memory in the background, so memory accumulates without slowing down the live agent loop.

That matters because Redis Iris is not just a memory feature in isolation. It is a broader context engine built to address the production problems agents actually hit: fragmented data, stale operational state, slow retrieval, and interactions that do not improve over time. Within that story, Redis Agent Memory is the compounding memory layer; Redis Context Retriever makes business data navigable; Redis Data Integration keeps operational state fresh; and Redis LangCache helps repeated work stay inside the latency budget.

If you are evaluating the supported Redis path, these are the best places to start:

A practical getting-started flow on Redis Cloud looks like this:

For implementation details and usage examples, see:

V0 — the open-source research foundation

V0/ contains the original Redis Agent Memory Server: an open-source reference implementation for agent memory with REST and MCP interfaces, working and long-term memory, configurable extraction strategies, and Redis-backed semantic search. It serves as the research foundation and architectural starting point for Redis Agent Memory, but it is not the current supported production path.

License

This project is licensed under the Apache License 2.0 (Redis, Inc.). See LICENSE at the repository root.

About

Fast and flexible memory for agents and AI applications using Redis

Resources

License

Stars

294 stars

Watchers

9 watching

Forks

Packages

 
 
 

Contributors