Prajvis logoPrajvis
Memory

Memory

Turn on memory so that an agent can search its files and remember useful facts from earlier threads.

With memory, an agent can:

  • search its knowledge files and your shared files when it answers
  • search records in an app, when you turn on Memory in the app settings
  • remember useful facts from earlier threads, for example a preference of your team
  • use notes from a shared thread in later threads with the same agent

Memory is off until you add an embedding model to the agent. An embedding model makes a search index of the text.

Turn on memory for an agent

Before you start

You need a provider that has embedding models, for example OpenRouter or OpenAI. On the Models & providers tab, the provider must show embedding in its list of types.

  1. Open the agent and select the Settings tab.
  2. In the Advanced section, find Embeddings.
  3. Select Add Embedding.
  4. In Key, select Index.
  5. Select the Provider and the Model, for example openai/text-embedding-3-small.
  6. Select Add.
The Embeddings section with the Index key, the OpenRouter provider, and an embedding model

Memory works only with the Index key. A different key does not turn on memory.

After you add the model, the Memory section shows. The agent starts to index its files.

Select the files to index

In the Memory section:

SettingUse
Knowledge base allowed extensionsFile types in the knowledge files of the agent that memory indexes. The default is document types such as .md, .txt, .pdf, and .docx.
User files allowed extensionsFile types in your shared files and thread files that memory indexes.
Index shared/Include your shared files.
Index workbenches/Include the files of your threads.
Skip nested git repositoriesDo not index folders that are git repositories, for example code that the agent cloned.

Add code or data file types only if you want the agent to search them.

Skip a folder

To keep a folder of files but stop memory from indexing it, select Don't remember files in this folder on the folder. See Stop memory from using a folder.

App data

If an app keeps records, you can let the agent search those records. Open the app, select Settings, then turn on Memory. Tick the tables the agent should search, then select Save. See App settings.

When memory is on, the agent can also find these records on the first message of a new thread.

In this section

On this page