DocsGet Started

Give your Agents Memory on your

Customers

Add data to any agent in three lines of code.

Wrap any model with Satori to add persistent and scoped memory.

import { streamText } from 'ai';
import { memoryTools, getMemoryContext } from "@usesatori/tools";

const tools = memoryTools({
  apiKey: process.env.SATORI_API_KEY ,
  baseUrl: 'https://api.usesatori.sh',
  userId: "john-doe-123",

  
});

const response = await streamText({
  model: ('openai:gpt-4.5'),
  prompt: 'Recommend a restaurant for dinner tonight',
  tools: tools
});