Skip to content

ConfigureMemory infrastructure for agents

Persistent user context across applications. Store preferences, connect tools, personalize experiences.

Quick Start

Install the SDK:

bash
npm install @configure/memory-sdk
bash
yarn add @configure/memory-sdk
bash
pip install configure-memory

TypeScript

typescript
import { MemoryClient } from '@configure/memory-sdk';

const client = new MemoryClient('your-api-key');

// Authenticate
await client.auth.sendOtp('+14155551234');
const { token, userId } = await client.auth.verifyOtp('+14155551234', '123456');

// Read profile
const profile = await client.memory.getProfile(token, userId);

// Write memory
await client.memory.remember(token, userId, 'timezone', 'America/Los_Angeles');

// Stream response with context
await client.streaming.chatStream(
  token, userId,
  'What do you know about me?',
  [],
  { appName: 'Assistant', appDescription: 'Personal assistant' },
  { onToken: (t) => process.stdout.write(t) }
);

Python

python
from configure_memory import MemoryClient

client = MemoryClient("your-api-key")

# Authenticate
client.auth.send_otp("+14155551234")
result = client.auth.verify_otp("+14155551234", "123456")

# Read profile
profile = client.memory.get_profile(result.token, result.user_id)

# Write memory
client.memory.remember(result.token, result.user_id, "timezone", "America/Los_Angeles")

AI Memory Infrastructure