TGViewer
//devdigest //devdigest @devdigest · 376 subscribers
Post #2755 62
⚡️ How agent memory works in the Microsoft Agent Framework

Jesse Liberty explains how AI agents in .NET remember what happens to them. Memory is handled by Agent Memory, built on the Neo4j graph database, and it works at three levels: short-term memory holds the current conversation, long-term memory stores accumulated knowledge and the relationships between facts, and "reasoning memory" keeps the agent's past actions and decisions. The author highlights bitemporality in particular: the system records not only when a fact occurred, but also when it recorded that fact. The article also walks through code: connecting to Neo4j, creating a MemoryStore, and the StoreMemory() and RetrieveMemory() methods. This lets an agent keep context across sessions.

♻️ Subscribe for free now!
More from @devdigest
  1. Sep 25, 2026⚡️ Microsoft's live series builds a production AI agent in C# from scratch A four-part liv…
  2. Sep 23, 2026⚡️ Rider and ReSharper 2026.2.2 add an AI Agent Setup widget and sharper coding-agent hook…
  3. Sep 22, 2026⚡️ Environment.ProcessorCount reports process limits, not host cores, since .NET 6 Andrew…
  4. Sep 22, 2026⚡️ Workflow1111 rebuilds the AUTOMATIC1111 feature set on a single gr.Workflow canvas Elev…
  5. Sep 21, 2026⚡️ Azure Application Gateway adds HTTP/3 over QUIC in public preview Application Gateway n…
  6. Sep 21, 2026⚡️ F# beats C# on most axes except tooling, argues Mark Seemann Seemann's core argument: F…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →