Memory

A little something I’ve been building

2026-07-12

I’ve been spending a lot of my nights and weekends on Jennah. It kind of nagged its way into existence: AI agents are getting genuinely good, but the memory underneath them is still held together with tape. Everyone builds it the same way: a vector database for recall, a separate graph database for reasoning, an execution log off in the corner, and a pile of app-side glue trying to keep the three in sync. That’s the thing I wanted to address. Jennah’s whole idea is one store; execution logs, vector recall, and reasoning graphs living together in a single store per agent, instead of a vector DB bolted onto a graph DB bolted onto a log.

Agent · Agent · Ai · Ai · Context · Context · Jennah · Jennah · Memory · Memory

2 minutes

memx - Get process’ memory usage (Linux)

2024-05-30

I shared a simple piece of code for getting a process’ memory usage in Linux. It’s called memx. It’s Linux-specific only as it reads the proportional set size (PSS) data from either /proc/{pid}/smaps_rollup (if present) or /proc/{pid}/smaps file. I’ve used this piece of code many times at work. We use memory-mapped files extensively in some of our services and this is how we get more accurate results. Very useful in debugging OOMKilled events in k8s.

Golang · Linux · Memory · Process · Tech · Usage

1 minute