Memory Extraction

Data 360 extracts session summaries from your agent conversations through a real-time memory extraction pipeline. Memory extraction processes conversations at regular intervals, capturing structured knowledge that persists across sessions and becomes immediately available for context retrieval in future conversations.

Note: Memory extraction consumes Flex Credits for LLM processing. Each extraction cycle processes the accumulated messages since the last cycle and produces one or more memory entries.

Data 360 extracts memories from conversation data periodically during the session. Extraction runs at intervals determined by message volume and elapsed time, balancing freshness with efficiency.

Each extraction cycle considers both new messages and previously extracted memories. This enables the pipeline to:

  • Consolidate overlapping information across cycles.
  • Remove duplicate memories.
  • Resolve conflicts when newer information contradicts older information (recency wins).
  • Build progressively richer and more accurate memories over time.
TriggerDescription
Size-basedTriggered when accumulated unprocessed messages reach approximately 50% of the LLM context window. This is the primary trigger during active conversations.
Time-basedTriggered after a configurable duration since the last extraction. Ensures memories are generated from low-volume conversations.
Session closeA final extraction cycle runs when a session is closed, processing any remaining unprocessed messages.

Automatic memory extraction is a per-agent setting. Turn it off for an agent during compliance reviews, in test environments, when conversation data is sensitive, or when you want to write memories only through the Memory Management APIs. Other agents in the same data space continue to extract memories.

Agents that you register in the UI have automatic memory extraction turned on by default. Agents that you register through the API have it turned off by default.

  1. In Data 360, go to Agent Configuration.
  2. Select the agent.
  3. Turn off Automatic Memory Extraction.
  4. Click Save.

Update the agent registration, and set isMemoryGenerationEnabled to false. See Agent Context Engine (ACE) API Reference.

These behaviors apply to an agent with automatic memory extraction turned off.

  • Data 360 continues to ingest and store the agent’s conversations through the Conversation APIs.
  • Data 360 doesn’t extract summaries, facts, or preferences from new conversations.
  • Existing memories stay intact, and the GetContext API continues to return them.
  • You can still create, update, and delete memories with the Memory Management APIs.

Turn on Automatic Memory Extraction, or set isMemoryGenerationEnabled to true through the API. Extraction resumes with the agent’s next conversation. Data 360 doesn’t process messages ingested while extraction was off.

Each extraction cycle can produce these memory types.

Memory TypeScopeWhat It Captures
Conversation Summary (Episodic)ConversationTopics discussed, decisions made, actions taken, outcomes reached, key turning points.
Profile Fact (Semantic)IndividualName, role, company, relationships, key dates, technical environment, business context.
Profile Preference (Semantic)IndividualCommunication style, product choices, scheduling habits, tool preferences.

Profile facts persist indefinitely. Each preference includes a confidence score (0.0–1.0) and decays over time unless reinforced, with explicitly stated preferences receiving higher confidence than inferred ones.

  • LLM processing: Memory extraction involves calling an LLM with the extraction prompt that generates structured output containing summaries. This consumes LLM usage credits.
  • Memory storage: Data 360 stores all extracted memories as conversation memories.
  • Language support: Memory extraction is language-agnostic. The LLM processes messages in whatever language the conversation uses and produces memories in that same language. You don’t need a separate translation step.