All work

Agentic AIBig Four professional-services firm

Long-term memory for persistent enterprise agents

A long-term memory architecture that surfaces only task-relevant memories. In recurring workflows it cut repeated information gathering and context reconstruction by approximately 25–30%.

less repeated information gathering and context rebuilding
~25–30%

The problem

Most conventional AI assistants are effectively stateless. They can read the current conversation and retrieve external knowledge, but they keep little useful continuity over longer periods. That limits any agent expected to behave as a persistent digital worker, which may need to remember previous conversations, prior decisions, completed tasks, user preferences, successful procedures, and exceptions met in earlier workflows. Placing the entire interaction history in the model context does not solve it: that is expensive, noisy, and ultimately impossible as the history grows.

What was built

The team researched and developed a long-term memory architecture that covers several forms of persistent memory:

  • Episodic memory: relevant previous events and interactions.
  • Procedural memory: learned workflows and reusable procedures.
  • Long-term conversational context.
  • Organizational knowledge.

The architecture also covers memory extraction, persistence, relevance-based retrieval, ranking and filtering, and context assembly for downstream reasoning.

The central decision is selectivity. The model is not exposed to all historical information. The architecture determines which memories are relevant to the current task and introduces only those into the reasoning context. The agent keeps continuity, inference stays efficient, and irrelevant context is reduced. The research focused on how enterprise agents can retain and reuse information across interactions while balancing relevance, context size, performance, and reliability.

Results

For recurring enterprise workflows, persistent memory reduced repeated information gathering and context reconstruction by approximately 25–30%. More importantly, it let assistants evolve from isolated question-answering systems toward persistent agents that progressively build useful context over time. A patent application covering the architecture is pending, with Dan Stinga as a named co-inventor.

Where it applies

The architecture fits agents that operate repeatedly for the same user, customer, or organization: persistent enterprise assistants, customer-service agents, sales copilots, relationship-manager assistants, and long-running multi-step workflows.

Delivered by Peak AI’s engineers, including in roles held before Peak AI. The organization is described rather than named, and sensitive details are left out.

Have a POC that needs to become a product?

Tell us what you are shipping. You will talk to the engineers who would build it.