MemorySync
Official SDK

ElevenLabs + MemorySync

Memory for ElevenLabs Agents: a Custom-LLM proxy with a hard recall budget, phone-caller identity, and HMAC-verified post-call capture.

Overview

Install elevenlabs-memorysync and ElevenLabs agents remember callers across calls — on the web and on the phone. Three tiers in one package: a zero-code webhook tool the agent calls directly (dashboard only), session-start dynamic variables plus an HMAC-verified post-call transcript receiver, and the flagship Custom-LLM proxy that injects memories into every turn under a hard budget (default 1.2s) while capturing both sides of the conversation with idempotency seeds. The proxy works with any OpenAI-compatible upstream (competitors hardcode OpenAI), and the novel prompt-tag mechanism — one memorysync-user: {{system__caller_id}} line the proxy extracts and strips — gives phone-caller identity with zero client code. Running proxy and webhook together yields live memory plus an end-of-call sweep that converges at zero duplicates.

Setup status and requirements

Supported version
elevenlabs-memorysync 1.0.0 (PyPI)
Last setup review
2026-08-24
Permissions
A MemorySync API key with read and write scopes; an ElevenLabs workspace with Custom LLM and/or post-call webhooks.
Limits
Python 3.10+. The proxy must be reachable by ElevenLabs over HTTPS. Post-call webhooks are a workspace-level setting (they fire for all agents in the workspace).
Open setup documentation →

Capabilities

Quick Start

# server.py — the agent's Custom LLM
from elevenlabs_memorysync import create_proxy_app
app = create_proxy_app(
api_key="ms_...", # MemorySync
upstream_api_key="sk-...", # your LLM provider
proxy_api_key="a-long-random-secret",
)
# uvicorn server:app --port 8013
#
# Agent prompt gains one line for phone identity:
# memorysync-user: {{system__caller_id}}

Use Cases

Phone support agents that recognize returning callers by number

Web voice widgets with durable per-user preferences

Multi-provider voice stacks that refuse OpenAI lock-in

Explore More

Built for production AI systems

Build AI systems that remember

MemorySync provides the infrastructure layer for persistent memory, adaptive retrieval, and enterprise AI intelligence.

Start free. No credit card required.