frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: BetterDB, MIT Valkey-native context layer for AI agents

https://github.com/BetterDB-inc/monitor/tree/master/packages
3•kaliades•1h ago
Today we released an open, Valkey-native context layer for AI agents as part of our packages at BetterDB (agent memory, semantic + multi-tier caching, typed retrieval) that run on a Valkey instance no matter where it is - no vendor lock-in. We even started provisioning Valkey instances starting today. Packages are shipped on npm and PyPi.

Why we made it: BetterDB originally started as a monitoring and observability platform for Valkey, Redis and any RESP compatible db. This is still the core of the product, but in the process of building this, we kept seeing that one of the fastest-growing uses of Valkey was AI - vector store and cache behind agents and RAG. So about a month and half ago we published MIT semantic and agent cache libraries for that, with the agent cache library not even requiring any modules and being able to run on vanilla Valkey. Today we are extending this to agent memory. Because we started with observability, it also runs everywhere - every cache, memory and retrieval emits OTel and Prometheus, plus it integrates well with our own monitoring and mcp server, exposing it to the agent.

What we actually shipped: - agent memory: short-term tiers (session/LLM/tool, exact-match) plus a semantic long-term layer - semantic caching over valkey-search, with per-category thresholds and confidence bands - typed retrieval over valkey-search - a self-tuning loop and OTel/Prometheus observability (more below)

What's not done yet: a Helm chart for one-command self-hosting, and a detailed benchmark writeup. Both next week.

Self-tuning cache. The cache logs similarity scores, and a separate service reads the distribution and proposes threshold/TTL changes (with reasoning, weighted by cost). A human approves the change, and the running cache picks it up in under a second with no restart. An agent can read the live cache state and propose changes over MCP. I haven't found another cache library that closes this loop; most use a static, hand-tuned threshold, which is the documented failure mode for semantic caches. Observability at the operation level. OTel spans and Prometheus metrics on each cache/memory/retrieval operation, not just request-level LLM tracing. So you can actually see per-lookup similarity distributions and whether your threshold is wrong, rather than guessing.

On benchmarks, the number isn't a flex: I ran LongMemEval on the memory layer. In the process of building our harness I found multiple things surpressing the scores. Even tweaking the prompt to the reader (the reader was told to answer only from literal excerpts so it abstained on whole question types), on a matched gpt-4o config the improvement was over 5 points. We'll be actively working on QA next week. Re-run everything and then publish a comprehensive write up. Retrieval recall is near-perfect at 98.4%, so the gap is reader/reasoning-side, not retrieval. The best part is ofc latency as Valkey's performance is great.

What I'd genuinely like feedback on: does the Valkey-native bet make sense to you, or would you rather a context layer be storage-agnostic? And for those running agents in prod, would you trust automated self tuning recommendations, or prefer to keep it manual? Is cost or latency a bigger issue to be solved?

We have a public unscripted demo at chat.betterdb.com btw, if anyone wants to see these libraries in action.

Beyond Objects

https://arxiv.org/abs/2606.27258
2•dwenzek•1m ago•1 comments

Show HN: Vynex API – One endpoint for 34 LLM models, paid with USDT

https://llm-api.vynexcloud.com/
2•sandboxclaw•2m ago•0 comments

Mullvad founder Daniel Berntsson donated millions to far right party

https://www.na.se/orebro/miljonregn-till-orebropartiet-fran-techprofil/
4•mrtesthah•3m ago•0 comments

Biotech firm files bankruptcy w $115M debt; Eli Lilly, Astellas bet on it anyway

https://www.masslive.com/news/2026/06/biotech-firm-files-for-bankruptcy-with-115m-debt-eli-lilly-...
2•randycupertino•5m ago•1 comments

Meta Tapped a Pentagon Supplier to Prototype Face Recognition for Its Glasses

https://www.wired.com/story/meta-rank-one-computing-face-recognition-smart-glasses/
3•cdrnsf•5m ago•0 comments

Globalizing the Philadelphian System: Unresolved Issues [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2026/06/iq-4.2-summer-2026-marquis-and-coyne-glo...
1•brandonlc•7m ago•0 comments

Csound Score in Emacs

https://github.com/luqtas/csound-score-emacs
3•luqtas•7m ago•0 comments

I'm building a 4X strategy game in Flutter and Flame

https://github.com/ernestwisniewski/aonw/tree/main
1•ernest_dev•8m ago•0 comments

Show HN: Puzzle with Strangers. A free multiplayer jigsaw

https://endtime-instruments.org/puzzle/
1•janoelze•10m ago•1 comments

Tuning a Server for Benchmarking

https://david.alvarezrosa.com/posts/tuning-a-server-for-benchmarking/
3•dalvrosa•11m ago•0 comments

Combining LLMs Rarely Beats the Best Single Model, I tested 67 frontier models

https://arxiv.org/abs/2606.27288
1•josefchen•15m ago•0 comments

SQLite: Past, Present, and Future (2022)

https://vldb.org/pvldb/volumes/15/paper/SQLite%3A%20Past%2C%20Present%2C%20and%20Future
2•tosh•16m ago•0 comments

Testing Grok Imagine's 15-20x Faster Image Generation

https://developer.puter.com/blog/grok-imagine-image-in-puter-js/
2•reynaldi•16m ago•0 comments

Show HN: Smart model routing directly in Claude, Codex and Cursor

https://github.com/workweave/router
9•adchurch•17m ago•0 comments

A free checker for whether AI search engines can cite your site

https://clarvia.dev/geo-checker
1•lr001328•17m ago•1 comments

1.38 Millimeter Microcontroller

https://www.ti.com/product/MSPM0C1104
1•kristianpaul•18m ago•0 comments

An eBook dictionary generator for Dungeon Crawler Carl, or any other fandom

https://github.com/jmcguire/dungeon-crawler-carl-dict
1•lifefeed•19m ago•0 comments

GLP-1 drugs increase women's marriage and employment rates

https://hu-my.sharepoint.com/personal/rdiamond_fas_harvard_edu/_layouts/15/onedrive.aspx?id=%2Fpe...
1•marojejian•19m ago•3 comments

AI Cheerleading, AI Abstention and AI Redirection

https://vanessaandreotti.substack.com/p/ai-cheerleading-ai-abstention-and
1•the-mitr•19m ago•0 comments

Samsung will soon start charging to access its smart home API

https://www.theverge.com/tech/957597/samsung-smartthings-api-charges
3•Brajeshwar•19m ago•2 comments

Stop Slopping Your Skills

https://rahulbaboota.substack.com/p/stop-slopping-your-skills
2•RahulBaboota•20m ago•0 comments

Europe to exclude military-age Ukrainian men from temporary protection scheme

https://www.euronews.com/my-europe/2026/06/26/brussels-to-exclude-military-age-ukrainian-men-from...
5•xchip•20m ago•0 comments

Show HN: AI Is Too Good at Coding, Let's Make It Better

https://github.com/Karthick-Ramachandran/persist-os
1•karthickrmchn•21m ago•0 comments

OpenAI set to limit GPT 5.6 rollout after call from Trump administration

https://www.cnbc.com/video/2026/06/26/openai-set-to-limit-gpt-5-point-6-rollout-after-call-from-t...
1•blazespin•21m ago•0 comments

Silk is a stackful-fiber library, scheduler with a work-stealing loop, io_uring

https://clickhouse.com/blog/silk
1•tanelpoder•23m ago•0 comments

The Coming Divide: AI-Native or Left Behind

https://danielmiessler.com/blog/ai-native-divide
2•The_Fox•26m ago•0 comments

Getting AI credits for reading ads while your coding agent is doing its thing

https://ads.gitlawb.com
2•panikadak•28m ago•1 comments

The road expands before me

https://newsletter.masilotti.com/p/the-road-expands-before-me
1•joemasilotti•29m ago•0 comments

Engineer accused of insider trading around Microsoft's Three Mile Island reboot

https://www.theregister.com/systems/2026/06/26/engineer-accused-of-insider-trading-tied-to-micros...
1•joebuckwilliams•30m ago•0 comments

A Dark Dimension Could Link Two of the Universe's Great Unknowns

https://www.quantamagazine.org/a-dark-dimension-could-link-two-of-the-universes-great-unknowns-20...
4•jandrewrogers•31m ago•0 comments