Skip to content

Knowledge

Agents can read from and write to a persistent knowledge store using the Memory workflow node. This enables retrieval-augmented generation (RAG) and long-term personalization across executions.


Memory Node Modes

The Memory node operates in two modes:

ModeTriggerEffect
RecallBefore an LLM nodeRetrieves relevant context and injects it into the LLM prompt
LearnAfter an LLM nodeQueues an episode for async indexing into the vector store

Recall

In Recall mode, the Memory node performs a hybrid search — combining dense vector similarity with sparse keyword matching — against the workspace’s knowledge store.

Query input comes from execution variables, typically user_message from the Trigger node.

Retrieved documents are formatted and injected as a system-message segment before the LLM call. The number of retrieved documents and similarity threshold are configurable per node.


Learn

In Learn mode, the Memory node queues an episode for async indexing. The episode typically contains the user message and the agent’s response.

Indexing happens in the background — the execution does not wait for it. This keeps latency low for interactive agents that learn from every turn.


Scope

Memory is scoped at the workspace level. All agents in a workspace share the same vector store. Use execution variables to filter retrieval by customer ID or tag if you need per-user knowledge isolation.


Knowledge Sources

Beyond agent-generated episodes, you can index documents via the admin UI:

  • Plain text and Markdown
  • PDF files
  • Web pages (URL fetch + parse)

All sources are chunked, embedded, and stored in the platform’s vector index.