Adding Persistent Decision Memory to LLM Agents via Decision Notes

adi1405 · reddit · 2026-07-06

An agent memory pattern inspired by the software engineering concept of ADRs (Architecture Decision Records) is gaining traction. Unlike vector databases or knowledge bases, this approach inserts a "decision layer" into the context pipeline: maintaining a decision-notes/ directory to record historical choices, supporting evidence, and "when to revisit" trigger conditions. This forms a judgment chain of "Information Source → Knowledge Base → Decision Record → Agent Action."

Before executing a tool, the agent checks the consistency of the decision records. If a new action conflicts with a historically human-confirmed decision, it is flagged rather than blindly executed. This pattern aims to solve the system prompt bloat and behavior drift issues in long-running agents, and is considered a lightweight alternative to the currently over-relied-upon vector DB solutions.

Original post →

More from coding & agent

coding & agent channel →