frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

8•kaliades•4h ago
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.

Comments

revenga99•53m ago
Can you explain what this does?
kaliades•10m ago
It caches AI agent operations in Valkey (or Redis) so you don't repeat expensive work.

Three tiers: if your agent calls gpt-4o with the same prompt twice, the second call returns from Valkey in under 1ms instead of hitting the API. Same for tool calls - if your agent calls get_weather("Sofia") twice with the same arguments, the cached result comes back instantly. And session state (what step the agent is on, user intent, LangGraph checkpoints) persists across requests with per-field TTL.

The main difference from existing options is that LangChain's cache only handles LLM responses, LangGraph's checkpoint-redis only handles state (and requires Redis 8 + modules), and none of them ship OpenTelemetry or Prometheus instrumentation at the cache layer. This puts all three tiers behind one Valkey connection with observability built in.

Cloudflare Email Service

https://blog.cloudflare.com/email-for-agents/
257•jilles•3h ago•110 comments

Claude Opus 4.7

https://www.anthropic.com/news/claude-opus-4-7
669•meetpateltech•2h ago•522 comments

Mozilla Thunderbolt

https://www.thunderbolt.io/
225•dabinat•3h ago•192 comments

We gave an AI a 3 year retail lease and asked it to make a profit

https://andonlabs.com/blog/andon-market-launch
64•lukaspetersson•1h ago•72 comments

Qwen3.6-35B-A3B: Agentic Coding Power, Now Open to All

https://qwen.ai/blog?id=qwen3.6-35b-a3b
460•cmitsakis•3h ago•236 comments

IPv6 traffic crosses the 50% mark

https://www.google.com/intl/en/ipv6/statistics.html?yzh=28197
649•Aaronmacaron•1d ago•440 comments

Launch HN: Kampala (YC W26) – Reverse-Engineer Apps into APIs

https://www.zatanna.ai/kampala
25•alexblackwell_•1h ago•21 comments

Put your SSH keys in your TPM chip

https://raymii.org/s/tutorials/Put_your_SSH_keys_in_your_TPM_chip.html
30•type0•4d ago•24 comments

Cloudflare's AI Platform: an inference layer designed for agents

https://blog.cloudflare.com/ai-platform/
102•nikitoci•3h ago•22 comments

The future of everything is lies, I guess: Where do we go from here?

https://aphyr.com/posts/420-the-future-of-everything-is-lies-i-guess-where-do-we-go-from-here
243•aphyr•3h ago•230 comments

Show HN: MacMind – A transformer neural network in HyperCard on a 1989 Macintosh

https://github.com/SeanFDZ/macmind
51•hammer32•3h ago•11 comments

Darkbloom – Private inference on idle Macs

https://darkbloom.dev
409•twapi•12h ago•197 comments

AI cybersecurity is not proof of work

https://antirez.com/news/163
139•surprisetalk•6h ago•60 comments

Six Characters

https://ajitem.com/blog/iron-core-part-2-six-characters/
26•Airplanepasta•3d ago•1 comments

The paper computer

https://jsomers.net/blog/the-paper-computer
220•jsomers•3d ago•66 comments

Show HN: CodeBurn – Analyze Claude Code token usage by task

https://github.com/AgentSeal/codeburn
6•agentseal•2d ago•0 comments

Codex Hacked a Samsung TV

https://blog.calif.io/p/codex-hacked-a-samsung-tv
145•campuscodi•6h ago•80 comments

FSF trying to contact Google about spammer sending 10k+ mails from Gmail account

https://daedal.io/@thomzane/116410863009847575
297•pabs3•13h ago•179 comments

Laravel raised money and now injects ads directly into your agent

https://techstackups.com/articles/laravel-raised-money-and-now-injects-ads-directly-into-your-agent/
122•mooreds•2h ago•66 comments

Claude Opus 4.7 Model Card

https://anthropic.com/claude-opus-4-7-system-card
95•adocomplete•2h ago•43 comments

Modern Microprocessors – A 90-Minute Guide

https://www.lighterra.com/papers/modernmicroprocessors/
127•Flex247A•4d ago•15 comments

€54k spike in 13h from unrestricted Firebase browser key accessing Gemini APIs

https://discuss.ai.google.dev/t/unexpected-54k-billing-spike-in-13-hours-firebase-browser-key-wit...
333•zanbezi•4h ago•236 comments

ChatGPT for Excel

https://chatgpt.com/apps/spreadsheets/
287•armcat•19h ago•176 comments

Ancient DNA reveals pervasive directional selection across West Eurasia [pdf]

https://reich.hms.harvard.edu/sites/reich.hms.harvard.edu/files/inline-files/2026_Akbari_Nature_s...
50•Metacelsus•6h ago•38 comments

PHP 8.6 Closure Optimizations

https://wiki.php.net/rfc/closure-optimizations
56•moebrowne•2d ago•8 comments

RamAIn (YC W26) Is Hiring

https://www.ycombinator.com/companies/ramain/jobs/bwtwd9W-founding-gtm-operations-lead
1•svee•9h ago

Artifacts: Versioned storage that speaks Git

https://blog.cloudflare.com/artifacts-git-for-agents-beta/
31•jgrahamc•3h ago•2 comments

Cybersecurity looks like proof of work now

https://www.dbreunig.com/2026/04/14/cybersecurity-is-proof-of-work-now.html
515•dbreunig•1d ago•194 comments

RedSun: System user access on Win 11/10 and Server with the April 2026 Update

https://github.com/Nightmare-Eclipse/RedSun
143•airhangerf15•13h ago•37 comments

North American English Dialects

https://aschmann.net/AmEng/
113•skogstokig•13h ago•65 comments