Storage

Files and memory that persist between agent runs

Keep the documents an agent produces and the facts and decisions it saves, so each run starts from what the last one found.

Use cases

What you can build with storage.

  • Persist working files

    Keep documents, datasets and reports after the sandbox that produced them has stopped.

  • Remember across runs

    Save facts and decisions as memories that the next run can retrieve.

  • Pick up where you left off

    Let a later task read an earlier result instead of rebuilding it from scratch.

How it works

Make the next account review start where the last one ended.

A useful account history includes more than a conversation, so keep the files and decisions that future work depends on.

  1. Save the source material

    Store the approved account exports and supporting documents the agent will analyze.

  2. Preserve the result

    Write the account summary and prepared report to storage after the task completes.

  3. Build on it next time

    Have the next run compare new information with the previous report, then save an updated result.

storage.ts
import { Adapt } from '@adapt/sdk'

const store = new Adapt().storage

await store.files.write('reports/q3.md', report)
await store.memories.add('Fiscal year starts in February')

const last = await store.files.read('reports/q3.md')
Illustrative API · final SDK may differ

Pricing

What it costs to run.

Pay for what you keep. Files are billed by the GB-month and memories by the thousand.

  • $0.09per GB-month of files
  • $0.50per 1,000 memories a month

Works with

Use it with the rest of Adapt.

The company agent combines all four with your tools, shared knowledge and the places your team already works.

Start building with Storage