Building Shared Memory for AI Agents in Notion

notion.com

Written by AI

TLDR
Notion's Hesham Salman describes Lore, an open-source shared memory system storing agent knowledge as Notion pages, which recovered about 46% of failures models couldn't solve.
Filed note
Notion’s engineering team explains Lore, an open-source shared-memory system that stores agent knowledge as structured Notion pages and measures whether retrieval improves performance.

articleThe source

Highlights
  • Lore is the tool we built for that gap: shared, persistent memory for agents, backed by Notion.

    what Lore is

  • The first bad version of a memory system is a junk drawer with an API.

    the failure mode Lore avoids

  • When we filter the data set only to the hardest tasks (those that the no-memory agent never succeeded in doing), the seeded memory agent recovered about 46% of failures!

    headline eval result

  • A key takeaway is not that memory magically fixes agents.

    caveat on the result

Excerpt

As software engineering changes, tribal knowledge is increasingly concentrated not only in a single person's mind, but in a single agent session. Here at Notion, we kept having to manually extract experiential learnings as skills or documentation and share them with the team in-repo. But that doesn't scale.

From notion.com

Read the full article