skillfed

agent-framework-redis

Redis integration for Microsoft Agent Framework.

agent-framework-redis v1.0.0b260813 464.9K downloads/30d#6,514 on PyPI12,804
Permissive license Active released

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

Adds Redis-backed persistent memory and conversation history to Microsoft Agent Framework agents, enabling them to remember context and chat history across sessions and application restarts.

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

pip

pip install agent-framework-redis

uv

uv add agent-framework-redis

poetry

poetry add agent-framework-redis

Installing agent-framework-redis

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.

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")

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.

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 not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — agent-framework-core, redis, redisvl, numpy
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)

Evidence: agent_framework_redis-1.0.0b260813-py3-none-any.whl

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

Tags

redis agent memorypersistent agent contextagent conversation historyredis chat storageagent framework redis integrationdistributed agent memoryagent session persistence
agent-frameworkredis-backendconversation-persistence

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

agent-framework-azure-ai

Integrates Azure AI Foundry memory capabilities…

permissive · top 15,000 on PyPI

agent-framework-mem0

Integrates Mem0 persistent memory into…

permissive · top 15,000 on PyPI

agent-framework-azure-cosmos

Provides Azure Cosmos DB integration for the…

permissive · top 15,000 on PyPI

agent-framework-azurefunctions

Hosts Microsoft Agent Framework agents on Azure…

permissive · top 15,000 on PyPI

ramp-packer

Bundles Redis modules into distributable…

permissive · top 15,000 on PyPI

langgraph-checkpoint-redis

Provides Redis-backed checkpoint storage and…

permissive · top 5,000 on PyPI

agent-framework-foundry-hosting

Integrates Agent Framework agents and workflows…

permissive · top 15,000 on PyPI

agent-framework-durabletask

Integrates Microsoft Agent Framework agents…

permissive · top 15,000 on PyPI

agent-framework-core

Build, orchestrate, and deploy AI agents and…

permissive · top 5,000 on PyPI

RtmAPI

RtmAPI provides Python bindings to the Remember…

permissive · top 15,000 on PyPI

Further reading