06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · HackerNoon · 84d · 11 min read

Agents have Amnesia. I Gave It a RocksDB.

A shared, durable, cross-session memory in about 300 lines — and an honest look at where RocksDB is the wrong tool. TL;DR Coding agents start every session from zero. The usual fix — a hand-maintained static CLAUDE.md or rules file. RocksDB is a good fit for agent memory: ordered keys make prefix scans your query language, column families give you tiered retention, and LSM storage suits a write-heavy event log. It has one constraint that nearly disqualifies it: exactly one read-write process per database, and the lock fails immediately rather than waiting. The fix is architectural, not clever. Let the MCP server own the database handle. It's already a single long-lived process that many

…

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks