OptMem: Permanent Agent Memory in 426 Tokens (Fast Look)

Every AI agent has the same problem — wake up in a new session and it’s amnesia all over again. But you told it about your project structure, your preferences, yesterday’s debugging log. Gone. So OptMem from VictorTaelin (687★, released July 25) fixes this with a 426-token prompt block you paste into your AGENTS.md. That’s it. What Makes OptMem Different Here’s the thing: OptMem is not a vector database. It’s not a knowledge graph either. Nor is it another MCP server. It’s a single Python file (~/.optmem/memo) with zero dependencies that manages persistent memory for any AI agent. The trick? The tool encodes everything into a structured prompt block the agent reads at session start. The tool lives on disk while the “memory” lives in the conversation. But it’s a design philosophy so minimal it almost feels like cheating. ...

July 28, 2026 · 4 min · GitHubDigger