Agent-cache: Multi-tier Caching Solution for AI Agents with Valkey/Redis Support
By
kaliades
Crispy enough to crunch, soft enough to enjoy. A good bake.
Summary
Agent-cache is a multi-tier caching solution for AI agents that supports LLM responses, tool results, and session state using Valkey or Redis as backends. It offers framework adapters for LangChain, LangGraph, and Vercel AI SDK, with built-in OpenTelemetry and Prometheus support. The tool works on vanilla Valkey 7+ and Redis 6.2+ without requiring modules, and recent updates include cluster mode support with streaming features planned next.
Key quotes
· 5 pulledMulti-tier exact-match cache for AI agents backed by Valkey or Redis.
LLM responses, tool results, and session state behind one connection.
Framework adapters for LangChain, LangGraph, and Vercel AI SDK.
No modules required - works on vanilla Valkey 7+ and Redis 6.2+.
Existing options locked you into one tier (LangChain = LLM only, LangGraph = state only) or one framework. This solves both.
You might also wanna read
AgentMemory: Open-source persistent memory tool for AI coding agents
AgentMemory is an open-source tool that gives AI coding agents (like Claude Code, Codex, Cursor, etc.) persistent memory across sessions, so
UseAgents: A Real-Time Registry for AI Agent Tool Discovery
UseAgents is a platform that addresses the limitation of LLMs having frozen knowledge and difficulty finding tools by providing a real-time
AskAIBase: Memory Infrastructure for AI Coding Agents
AskAIBase is a memory infrastructure platform for AI coding agents that saves successful debugging or building solutions as structured cards
Agentspan: Open-source runtime for durable AI agent workflows with crash recovery and observability
Agentspan is an open-source server and SDK (MIT licensed) that enables developers to run AI agents as durable workflows. It provides crash r
Keys and Caches: Open-Source Tool for Simplified AI Model Performance Analysis
Keys and Caches is an open-source developer tool that simplifies AI model performance analysis by providing unified GPU insights directly co
DeltaMemory: A Persistent Memory Layer for AI Agents That Learns Over Time
DeltaMemory is a new AI memory layer designed to solve the problem of AI agents forgetting information between sessions. Unlike vector datab
