返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
e

elevenlabs-twilio-memory-bridge

FastAPI personalization webhook that adds persistent caller memory and dynamic context injection to ElevenLabs Conversational AI agents on Twilio. No audio proxying, file-based persistence, OpenClaw compatible.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,026
下载量
0
收藏
概述
安装方式
版本历史

elevenlabs-twilio-memory-bridge

# elevenlabs-twilio-memory-bridge Personalization webhook service for ElevenLabs + Twilio voice agents with persistent caller memory. ## What It Does When a call arrives on your Twilio number, ElevenLabs' native integration triggers this webhook. The bridge looks up the caller's history, loads long-term memory facts and daily context notes, combines them with a customizable soul/personality template, and returns everything as a system prompt override so your agent greets each caller with full context. ## Architecture - **No audio proxying** - ElevenLabs and Twilio handle media directly - **Webhook only** - called once per inbound call to inject context - **File-based persistence** - JSON files in `./data/`, zero external dependencies - **OpenClaw compatible** - works with any OpenAI-compatible LLM endpoint ## Endpoints | Endpoint | Method | Purpose | |----------|--------|---------| | `/webhook/personalize` | POST | ElevenLabs calls this on inbound call | | `/webhook/post-call` | POST | Optional post-call cleanup | | `/api/memory/{phone_hash}` | POST | Add long-term fact about a caller | | `/api/notes` | POST | Add global or caller-scoped context note | | `/health` | GET | Health check | ## Setup 1. Clone repo, `pip install -r requirements.txt` 2. Copy `.env.example` to `.env`, fill in secrets 3. Configure ElevenLabs agent with Custom LLM pointing to your OpenClaw instance 4. Enable system prompt + first message overrides in agent Security settings 5. Add webhook URL `https://your-domain/webhook/personalize` in ElevenLabs settings 6. Import Twilio number in ElevenLabs dashboard 7. Run: `uvicorn app:app --host 0.0.0.0 --port 8000` ## Required Environment Variables - `ELEVENLABS_API_KEY` - scoped ElevenLabs key - `ELEVENLABS_AGENT_ID` - your agent ID - `OPENCLAW_API_BASE_URL` - your OpenClaw instance URL - `PUBLIC_BASE_URL` - publicly reachable URL of this service ## Security - All caller phone numbers are SHA-256 hashed before storage/logging - Secrets loaded exclusively from environment variables - Optional HMAC webhook signature verification - Safe for public GitHub repos, no secrets in source

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 elevenlabs-twilio-memory-bridge-1776341423 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 elevenlabs-twilio-memory-bridge-1776341423 技能

通过命令行安装

skillhub install elevenlabs-twilio-memory-bridge-1776341423

下载 Zip 包

⬇ 下载 elevenlabs-twilio-memory-bridge v1.0.0

文件大小: 14.9 KB | 发布时间: 2026-4-17 14:08

v1.0.0 最新 2026-4-17 14:08
Initial release of elevenlabs-twilio-memory-bridge.

- Adds persistent, file-based caller memory to ElevenLabs + Twilio voice agents.
- Injects dynamic, personalized context and long-term memory at each call via FastAPI webhook.
- No audio proxying; only context injection through system prompt overrides.
- Fully compatible with OpenClaw and any OpenAI API-compatible LLM.
- Exposes endpoints for memory/notes management, post-call cleanup, and health check.
- Secure by design: hashes caller info, loads secrets from environment, optional HMAC verification.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部