Your AI Agent Forgets Everything — Here's a Daemon That Fixes That
You spend an hour teaching it your project structure, your coding preferences, the weird Bedrock timeout issue you debugged last Tuesday. Next session? Gone. You're back to explaining that you pref...

Source: DEV Community
You spend an hour teaching it your project structure, your coding preferences, the weird Bedrock timeout issue you debugged last Tuesday. Next session? Gone. You're back to explaining that you prefer single quotes and that the CI pipeline needs --run to avoid watch mode. Some frameworks have memory plugins. They work — sort of. But they're coupled to one framework, they accumulate junk over time, and nobody's cleaning up the contradictions from three weeks ago when you changed your mind about the database. So I built agent-memory-daemon. What it does It's a background daemon that runs alongside your agent — any agent. It watches a directory of session files and does two things: Extraction — scans new session transcripts and pulls out facts, decisions, preferences, and error corrections. Writes each one as a structured markdown file with YAML frontmatter. Consolidation — periodically reviews the entire memory directory. Merges duplicates, converts relative dates to absolute, removes con