agent-framework-redis
Redis integration for Microsoft Agent Framework.
Decision gist · record as of 2026-08-14
Yes, if you are building agents with Microsoft Agent Framework and need persistent memory or conversation history. The package is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. The only prerequisite is a running Redis instance, which the documentation covers clearly. Not necessary if you only need in-memory or file-based storage.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running Redis server (local, Docker, or cloud).
- See the package description for setup options including Docker (redis:8.0.3), Redis Cloud, or Azure Managed Redis.
- Low friction install with a pure-Python wheel.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in commercial and private projects without restriction.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 12,804 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 464,916 downloads/mo, #6,514 on PyPI
Alternatives
Verify before relying
pip install agent-framework-redis --pre
from agent_framework_redis import RedisContextProvider, RedisHistoryProvider
# Requires a running Redis instance (local, Docker, or cloud)
context_provider = RedisContextProvider(redis_url="redis://localhost:6379")
history_provider = RedisHistoryProvider(redis_url="redis://localhost:6379")- Whether RedisContextProvider and RedisHistoryProvider are the only memory/history providers available in this package
- Performance characteristics under high message volume or concurrent thread access
- Exact serialization format and compatibility guarantees across Agent Framework versions
What it is and what it does
agent-framework-redis integrates Redis as a persistent backend for Microsoft Agent Framework agents. It provides two main components: RedisContextProvider for storing and retrieving agent context and user preferences across sessions, and RedisHistoryProvider for maintaining conversation history in Redis Lists with automatic message trimming and thread isolation.
The package is designed for production use with connection pooling, error handling, and performance optimization built in. It enables distributed agent deployments where multiple instances can share conversation state, and allows chat history to survive application restarts. You supply a Redis connection URL (supporting local Docker, Redis Cloud, or Azure Managed Redis) and use the providers as you would any other Agent Framework memory backend.
Use it for
- Build multi-turn chatbots where agents remember user preferences and conversation context across separate chat sessions
- Deploy distributed agent systems where multiple application instances share conversation history and context state
- Implement user session management with automatic cleanup of old messages while preserving recent conversation history
- Create agents that survive application restarts without losing conversation state or learned user preferences
- Support thread-isolated conversations in concurrent agent deployments using Redis key partitioning
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building agents with Microsoft Agent Framework and need persistent memory or conversation history.
The package is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. The only prerequisite is a running Redis instance, which the documentation covers clearly. Not necessary if you only need in-memory or file-based storage.
Install
agent-framework-redis on PyPI
Before you install
Low friction install with a pure-Python wheel. Actively maintained as of 2026-08-14 with 12804 repository stars. Depends on agent-framework-core, redis, redisvl, and numpy—all standard packages with no compiled dependencies beyond what numpy requires.
Requires a running Redis server (local, Docker, or cloud). See the package description for setup options including Docker (redis:8.0.3), Redis Cloud, or Azure Managed Redis.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute this package freely in commercial and private projects without restriction.
Quickstart
pip install agent-framework-redis --pre
from agent_framework_redis import RedisContextProvider, RedisHistoryProvider
# Requires a running Redis instance (local, Docker, or cloud)
context_provider = RedisContextProvider(redis_url="redis://localhost:6379")
history_provider = RedisHistoryProvider(redis_url="redis://localhost:6379")
Verify before relying
- Whether RedisContextProvider and RedisHistoryProvider are the only memory/history providers available in this package
- Performance characteristics under high message volume or concurrent thread access
- Exact serialization format and compatibility guarantees across Agent Framework versions
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesagent-framework-coreredisredisvlnumpy |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 464,916 / month, #6,514 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: agent_framework_redis-1.0.0b260813-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “redis agent memory”
- agent-framework-redisAdds Redis-backed persistent memory and conversation history to…
- langgraph-checkpoint-redisProvides Redis-backed checkpoint storage and key-value stores for…
- langgraph-checkpoint-awsProvides AWS-based persistence backends for LangGraph agents,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also agent-framework-azure-ai · agent-framework-mem0 · agent-framework-azure-cosmos · agent-framework-azurefunctions · ramp-packer · langgraph-checkpoint-redis · agent-framework-foundry-hosting · agent-framework-durabletask · agent-framework-core · RtmAPI