AEGIS Memory - Give your AI a brain
As I've mentioned before I'm working on something big but I've had some trouble figuring out how to get it out there for feedback. I've decided to publish a part of it. I've uploaded the core memory engine I built for my system to GitHub. Basically, I was wrestling with a massive headache: autonomous agents getting "amnesia" between sessions. They kept forgetting past failures and hallucinating commands because standard context windows just suck for long-term state. To fix it, I built a unified memory SDK (aegis-memory) that fuses Postgres (for hard rules and audit logs), Qdrant (for semantic vector history), and Neo4j (for dependency graphs). Instead of doing manual database gymnastics, you just pass the agent's intent to the SDK. It automatically queries all three databases and returns the mathematical "blast radius" and historical context before the agent is allowed to execute any code. It stops them from repeating known failures. I just ripped this plumbing out of my homelab setup and open-sourced it. Since we are all building in the trenches here, I'd love for you guys to take a look, tear the architecture apart, and give me some honest feedback. Repo is here: https://github.com/LavaDMan/aegis-memory Let me know what you guys think or if anyone tries plugging it into their stack!