
Four shell scripts beat a graph database
Everyone's building complex memory infrastructure for AI agents — vector databases, graph stores, retrieval pipelines. We built ours with shell scripts and markdown files. It's been running for weeks. Here's why simple won. The problem everyone's solving wrong The standard approach to AI memory goes something like this: record everything the agent does. Store it in a searchable format. When the agent wakes up, query the store for relevant context. Feed the results into the prompt. This is retrieval. It assumes the hard part is finding the right memory at the right time. So the industry builds better search: better embeddings, better chunking, better ranking. But retrieval has a prerequisite that nobody talks about: you need something worth retrieving. And if you're storing everything — every tool call, every file read, every intermediate thought — you're not building a memory. You're building a landfill with a search engine on top. Landfills grow. Search degrades. Context windows fill
Continue reading on Dev.to DevOps
Opens in a new tab


