Skip to main content

Overview

The Memory Export feature allows you to create structured exports of memories using customizable Pydantic schemas. This process enables you to transform your stored memories into specific data formats that match your needs. You can apply various filters to narrow down which memories to export and define exactly how the data should be structured.

Creating a Memory Export

To create a memory export, you’ll need to:
  1. Define your schema structure
  2. Submit an export job
  3. Retrieve the exported data

Define Schema

Here’s an example schema for extracting professional profile information:

Submit Export Job

You can optionally provide additional instructions to guide how memories are processed and structured during export using the export_instructions parameter.

Retrieve Export

Once the export job is complete, you can retrieve the structured data in two ways:

Using Export ID

Using Filters

Available Filters

You can apply various filters to customize which memories are included in the export:
  • user_id: Filter memories by specific user
  • agent_id: Filter memories by specific agent
  • run_id: Filter memories by specific run
  • created_at: Filter memories by date
The export process may take some time to complete, especially when dealing with a large number of memories or complex schemas.
If you have any questions, please feel free to reach out to us using one of the following methods:

Discord

Join our community

GitHub

Ask questions on GitHub

Support

Talk to founders