Agent-cache
Multi-tier LLM/tool/session caching for Valkey and Redis
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
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.
HN · launched Apr 16, 2026 · 18 upvotes (top 27%) · 0 views
Niche: llm optimization tools · 127 launches, 9 in the last 7 days ▲ +50% · Explore this niche →
Category and tags
- Horizontal
- Model & infra
- Developer
- AI-native
- Hobby / open-source project
More like this: all 127 launches in llm optimization tools →
Could you build this?
Yes It is a caching library wrapping Redis/Valkey with deterministic key hashing for prompts and tools, easily generated with an AI assistant.
Discussion
5 comments analyzed.
Competitors mentioned: LangChain cache, LangGraph checkpoint-redis, Semantic-cache (@betterdb/semantic-cache)
Concerns raised: Lower cache hit rate than semantic alternatives, Requires exact match (word-for-word) to work, Valkey/Redis dependency
Competitors
Other products that read as similar to this one : 251 launches clear the similarity bar, closest 8 shown.
Attention rank: #78 of 252 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 164 days after the earliest competitor.
- BetterDB, MIT Valkey-native context layer for AI agents · hn · 2026-06-26 · 5 upvotes · similarity 0.65
- An agent that tunes its own cache · hn · 2026-05-08 · 7 upvotes · similarity 0.62
- Composable middleware for LLM inference Optimization Passes · hn · 2026-03-04 · 7 upvotes · similarity 0.48
- Sulci · ph · 2026-10-29 · 2 upvotes · similarity 0.47
- AgentMemory · github · 2026-10-18 · 22 upvotes · similarity 0.47
- Llmbuffer · hn · 2026-06-10 · 7 upvotes · similarity 0.46
- HotKV · ph · 2026-10-20 · 1 upvotes · similarity 0.44
- Cachet · hn · 2026-06-23 · 5 upvotes · similarity 0.44
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.