← Back to Product Feed

Hacker News Show HN: Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis

A multi-tier, exact-match caching solution for AI agents, supporting LLM responses, tool results, and session state, designed to overcome limitations of existing framework-specific or single-tier caching options, and offering broad compatibility with Valkey/Redis and popular AI SDKs.

17
Traction Score
5
Discussions
Apr 16, 2026
Launch Date

Product Positioning & Context

AI Executive Synthesis
A multi-tier, exact-match caching solution for AI agents, supporting LLM responses, tool results, and session state, designed to overcome limitations of existing framework-specific or single-tier caching options, and offering broad compatibility with Valkey/Redis and popular AI SDKs.
Agent-cache addresses a critical performance and cost optimization challenge in AI agent development: efficient caching. By providing a multi-tier, exact-match cache for LLM responses, tool results, and session state, it directly reduces redundant computations and API calls, leading to significant cost savings and improved latency. The support for multiple frameworks (LangChain, LangGraph, Vercel AI SDK) and backend stores (Valkey, Redis) positions it as a versatile, infrastructure-agnostic solution. This product capitalizes on the growing need for robust operational tooling in the AI agent ecosystem, offering a foundational component for building scalable and economically viable AI applications. Its observability integrations (OpenTelemetry, Prometheus) further enhance its enterprise readiness.
Multi-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. OpenTelemetry and Prometheus built in. No modules required - works on vanilla Valkey 7+ and Redis 6.2+.Shipped v0.1.0 yesterday, v0.2.0 today with cluster mode. Streaming support coming next.Existing options locked you into one tier (LangChain = LLM only, LangGraph = state only) or one framework. This solves both.npm: https://www.npmjs.com/package/@betterdb/agent-cache
Docs: https://docs.betterdb.com/packages/agent-cache.html
Examples: https://valkeyforai.com/cookbooks/betterdb/
GitHub: https://github.com/BetterDB-inc/monitor/tree/master/packages...Happy to answer questions.
Multi-tier exact-match cache AI agents Valkey Redis LLM responses tool results session state Framework adapters

Related Ecosystem & Alternatives

Discover adjacent products, open-source repositories, and developer tools sharing similar technical architecture.

Deep-Dive FAQs

What is Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis?
Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis is analyzed by our AI as: A multi-tier, exact-match caching solution for AI agents, supporting LLM responses, tool results, and session state, designed to overcome limitations of existing framework-specific or single-tier caching options, and offering broad compatibility with Valkey/Redis and popular AI SDKs.. It focuses on Agent-cache addresses a critical performance and cost optimization challenge in AI agent development: efficient caching. By providing a multi-tier,...
Where did Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis originate?
Data for Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis was aggregated directly from the Hacker News community ecosystem, representing raw developer and early-adopter sentiment.
When was Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis publicly launched?
The initial public indexing or launch date for Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis within our tracked developer communities was recorded on April 16, 2026.
How popular is Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis?
Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis has achieved measurable traction, logging over 17 traction score and facilitating 5 recorded discussions or engagements.
Which technical categories define Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis?
Based on metadata extraction, Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis is categorized under topics such as: Multi-tier exact-match cache, AI agents, Valkey, Redis.
What are some commercial alternatives to Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis?
Our semantic intelligence engine identifies potential commercial alternatives in the SaaS space, such as Bluedot 2.1, which offers overlapping value propositions.
How does the creator describe Agent-cache – Multi-tier LLM/tool/session caching for Valkey and Redis?
The original author or development team describes the product as follows: "Multi-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 A..."

Community Voice & Feedback

potter098 • Apr 17, 2026
I’d be curious how you’re handling freshness for tool caches. Exact-match caching seems great for pure functions, but once a tool depends on external state I’d want a TTL or invalidation hook, otherwise the hit rate can look great while the answer is already stale.
eddy_cammegh • Apr 16, 2026
[dead]
revenga99 • Apr 16, 2026
Can you explain what this does?

Discovery Source

Hacker News Hacker News

Aggregated via automated community intelligence tracking.

Tech Stack Dependencies

No direct open-source NPM package mentions detected in the product documentation.

Media Tractions & Mentions

No mainstream media stories specifically mentioning this product name have been intercepted yet.

Deep Research & Science

No direct peer-reviewed scientific literature matched with this product's architecture.