Amber — Phone-Capable Voice Agent
Overview
Amber gives any OpenClaw deployment a phone-capable AI voice assistant. It ships with a production-ready Twilio + OpenAI Realtime bridge (runtime/) that handles inbound call screening, outbound calls, appointment booking, and live OpenClaw knowledge lookups — all via natural voice conversation.
✨ New: Interactive setup wizard (npm run setup) validates credentials in real-time and generates a working .env file — no manual configuration needed!
See it in action
▶️ Watch the interactive demo on asciinema.org (copyable text, adjustable speed)
The interactive wizard validates credentials, detects ngrok, and generates a complete .env file in minutes.
What's included
- Runtime bridge (
runtime/) — a complete Node.js server that connects Twilio phone calls to OpenAI Realtime with OpenClaw brain-in-the-loop
- Amber Skills (
amber-skills/) — modular mid-call capabilities (calendar, log & forward message) with a spec for building your own
- Call log dashboard (
dashboard/) — browse call history, transcripts, and captured messages; includes manual Sync button to pull new calls on demand
- Setup & validation scripts — preflight checks, env templates, quickstart runner
- Architecture docs & troubleshooting — call flow diagrams, common failure runbooks
- Safety guardrails — approval patterns for outbound calls, payment escalation, consent boundaries
🔌 Amber Skills — Extensible by Design
Amber ships with a growing library of Amber Skills — modular capabilities that plug directly into live voice conversations. Each skill exposes a structured function that Amber can call mid-call, letting you compose powerful voice workflows without touching the bridge code.
📅 Calendar
Query the operator's calendar for availability or schedule a new event — all during a live call.
- Availability lookups — free/busy slots for today, tomorrow, this week, or any specific date
- Event creation — book appointments directly into the operator's calendar from a phone conversation
- Privacy by default — callers are only told whether the operator is free or busy; event titles, names, and locations are never disclosed
- Powered by
ical-query — local-only, zero network latency
📬 Log & Forward Message
Let callers leave a message that is automatically saved and forwarded to the operator.
- Captures the caller's message, name, and optional callback number
- Always saves to the call log first (audit trail), then delivers via the operator's configured messaging channel
- Confirmation-gated — Amber confirms with the caller before sending
- Delivery destination is operator-configured — callers cannot redirect messages
Build Your Own Skills
Amber's skill system is designed to grow. Each skill is a self-contained directory with a SKILL.md (metadata + function schema) and a handler.js. You can:
- Customize the included skills to fit your own setup
- Build new skills for your use case — CRM lookups, inventory checks, custom notifications, anything callable mid-call
- Share skills with the OpenClaw community via ClawHub
See amber-skills/ for examples and the full specification to get started.
Note: Each skill's handler.js is reviewed against its declared permissions. When building or installing third-party skills, review the handler source as you would any Node.js module.
Call log dashboard
cd dashboard && node scripts/serve.js # → http://localhost:8787
- ⬇ Sync button (green) — immediately pulls new calls from
runtime/logs/ and refreshes the dashboard. Use this right after a call ends rather than waiting for the background watcher.
- ↻ Refresh button (blue) — reloads existing data from disk without re-processing logs.
- Background watcher (
node scripts/watch.js) auto-syncs every 30 seconds when running.
Why Amber
- Ship a voice assistant in minutes —
npm install, configure .env, npm start
- Full inbound screening: greeting, message-taking, appointment booking with calendar integration
- Outbound calls with structured call plans (reservations, inquiries, follow-ups)
ask_openclaw tool — voice agent consults your OpenClaw gateway mid-call for calendar, contacts, preferences
- VAD tuning + verbal fillers to keep conversations natural (no dead air during lookups)
- Fully configurable: assistant name, operator info, org name, calendar, screening style — all via env vars
- Operator safety guardrails for approvals/escalation/payment handling
Personalization requirements
Before deploying, users must personalize:
- assistant name/voice and greeting text,
- own Twilio number and account credentials,
- own OpenAI project + webhook secret,
- own OpenClaw gateway/session endpoint,
- own call safety policy (approval, escalation, payment handling).
Do not reuse example values from another operator.
5-minute quickstart
Option A: Interactive Setup Wizard (recommended) ✨
The easiest way to get started:
cd runtime
npm run setup
- Follow the interactive prompts — the wizard will:
- Validate your Twilio and OpenAI credentials in real-time
- Auto-detect and configure ngrok if available
- Generate a working
.env file
- Optionally install dependencies and build the project
- Configure your Twilio webhook (wizard shows you the exact URL)
- Start the server:
npm start
- Call your Twilio number — your voice assistant answers!
Benefits:
- Real-time credential validation (catch errors before you start)
- No manual
.env editing
- Automatic ngrok detection and setup
- Step-by-step guidance with helpful links
Option B: Manual setup
cd runtime && npm install
- Copy
../references/env.example to runtime/.env and fill in your values.
npm run build && npm start
- Point your Twilio voice webhook to
https://<your-domain>/twilio/inbound
- Call your Twilio number — your voice assistant answers!
Option C: Validation-only (existing setup)
- Copy
references/env.example to your own .env and replace placeholders.
- Export required variables (
TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_CALLER_ID, OPENAI_API_KEY, OPENAI_PROJECT_ID, OPENAI_WEBHOOK_SECRET, PUBLIC_BASE_URL).
- Run quick setup:
scripts/setup_quickstart.sh
- If preflight passes, run one inbound and one outbound smoke test.
- Only then move to production usage.
Safe defaults
- Require explicit approval before outbound calls.
- If payment/deposit is requested, stop and escalate to the human operator.
- Keep greeting short and clear.
- Use timeout + graceful fallback when
ask_openclaw is slow/unavailable.
Workflow
Confirm scope for V1
- Include only stable behavior: call flow, bridge behavior, fallback behavior, and setup steps.
- Exclude machine-specific secrets and private paths.
Document architecture + limits
- Read
references/architecture.md.
- Keep claims realistic (latency varies; memory lookups are best-effort).
Run release checklist
- Read
references/release-checklist.md.
- Validate config placeholders, safety guardrails, and failure handling.
Smoke-check runtime assumptions
- Run
scripts/validate_voice_env.sh on the target host.
- Fix missing env/config before publishing.
Publish
- Publish to ClawHub (example):
clawhub publish <skill-folder> --slug amber-voice-assistant --name "Amber Voice Assistant" --version 1.0.0 --tags latest --changelog "Initial public release"
- Optional: run your local skill validator/packager before publishing.
Ship updates
- Publish new semver versions (
1.0.1, 1.1.0, 2.0.0) with changelogs.
- Keep
latest on the recommended version.
Troubleshooting (common)
- "Missing env vars" → re-check
.env values and re-run scripts/validate_voice_env.sh.
- "Call connects but assistant is silent" → verify TTS model setting and provider auth.
- "ask_openclaw timeout" → verify gateway URL/token and increase timeout conservatively.
- "Webhook unreachable" → verify tunnel/domain and Twilio webhook target.
Guardrails for public release
- Never publish secrets, tokens, phone numbers, webhook URLs with credentials, or personal data.
- Include explicit safety rules for outbound calls, payments, and escalation.
- Mark V1 as beta if conversational quality/latency tuning is ongoing.
Resources
- Runtime bridge:
runtime/ (full source + README)
- Architecture and behavior notes:
references/architecture.md
- Release gate:
references/release-checklist.md
- Env template:
references/env.example
- Quick setup runner:
scripts/setup_quickstart.sh
- Env/config validator:
scripts/validate_voice_env.sh
1---2name: amber-voice-assistant3description: The most complete phone skill for OpenClaw. Production-ready, low-latency AI calls — inbound & outbound, multilingual, live dashboard, brain-in-the-loop.4---56# Amber — Phone-Capable Voice Agent78## Overview910Amber gives any OpenClaw deployment a phone-capable AI voice assistant. It ships with a **production-ready Twilio + OpenAI Realtime bridge** (`runtime/`) that handles inbound call screening, outbound calls, appointment booking, and live OpenClaw knowledge lookups — all via natural voice conversation.1112**✨ New:** Interactive setup wizard (`npm run setup`) validates credentials in real-time and generates a working `.env` file — no manual configuration needed!1314## See it in action15161718**[▶️ Watch the interactive demo on asciinema.org](https://asciinema.org/a/l1nOHktunybwAheQ)** (copyable text, adjustable speed)1920*The interactive wizard validates credentials, detects ngrok, and generates a complete `.env` file in minutes.*2122### What's included2324- **Runtime bridge** (`runtime/`) — a complete Node.js server that connects Twilio phone calls to OpenAI Realtime with OpenClaw brain-in-the-loop25- **Amber Skills** (`amber-skills/`) — modular mid-call capabilities (calendar, log & forward message) with a spec for building your own26- **Call log dashboard** (`dashboard/`) — browse call history, transcripts, and captured messages; includes **manual Sync button** to pull new calls on demand27- **Setup & validation scripts** — preflight checks, env templates, quickstart runner28- **Architecture docs & troubleshooting** — call flow diagrams, common failure runbooks29- **Safety guardrails** — approval patterns for outbound calls, payment escalation, consent boundaries3031## 🔌 Amber Skills — Extensible by Design3233Amber ships with a growing library of **Amber Skills** — modular capabilities that plug directly into live voice conversations. Each skill exposes a structured function that Amber can call mid-call, letting you compose powerful voice workflows without touching the bridge code.3435### 📅 Calendar3637Query the operator's calendar for availability or schedule a new event — all during a live call.3839- **Availability lookups** — free/busy slots for today, tomorrow, this week, or any specific date40- **Event creation** — book appointments directly into the operator's calendar from a phone conversation41- **Privacy by default** — callers are only told whether the operator is free or busy; event titles, names, and locations are never disclosed42- Powered by `ical-query` — local-only, zero network latency4344### 📬 Log & Forward Message4546Let callers leave a message that is automatically saved and forwarded to the operator.4748- Captures the caller's message, name, and optional callback number49- **Always saves to the call log first** (audit trail), then delivers via the operator's configured messaging channel50- Confirmation-gated — Amber confirms with the caller before sending51- Delivery destination is operator-configured — callers cannot redirect messages5253### Build Your Own Skills5455Amber's skill system is designed to grow. Each skill is a self-contained directory with a `SKILL.md` (metadata + function schema) and a `handler.js`. You can:5657- **Customize the included skills** to fit your own setup58- **Build new skills** for your use case — CRM lookups, inventory checks, custom notifications, anything callable mid-call59- **Share skills** with the OpenClaw community via [ClawHub](https://clawhub.com)6061See [`amber-skills/`](amber-skills/) for examples and the full specification to get started.6263> **Note:** Each skill's `handler.js` is reviewed against its declared permissions. When building or installing third-party skills, review the handler source as you would any Node.js module.6465### Call log dashboard6667```bash68cd dashboard && node scripts/serve.js # → http://localhost:878769```7071- **⬇ Sync button** (green) — immediately pulls new calls from `runtime/logs/` and refreshes the dashboard. Use this right after a call ends rather than waiting for the background watcher.72- **↻ Refresh button** (blue) — reloads existing data from disk without re-processing logs.73- Background watcher (`node scripts/watch.js`) auto-syncs every 30 seconds when running.7475## Why Amber7677- **Ship a voice assistant in minutes** — `npm install`, configure `.env`, `npm start`78- Full inbound screening: greeting, message-taking, appointment booking with calendar integration79- Outbound calls with structured call plans (reservations, inquiries, follow-ups)80- **`ask_openclaw` tool** — voice agent consults your OpenClaw gateway mid-call for calendar, contacts, preferences81- VAD tuning + verbal fillers to keep conversations natural (no dead air during lookups)82- Fully configurable: assistant name, operator info, org name, calendar, screening style — all via env vars83- Operator safety guardrails for approvals/escalation/payment handling8485## Personalization requirements8687Before deploying, users must personalize:88- assistant name/voice and greeting text,89- own Twilio number and account credentials,90- own OpenAI project + webhook secret,91- own OpenClaw gateway/session endpoint,92- own call safety policy (approval, escalation, payment handling).9394Do not reuse example values from another operator.9596## 5-minute quickstart9798### Option A: Interactive Setup Wizard (recommended) ✨99100The easiest way to get started:1011021. `cd runtime`1032. `npm run setup`1043. Follow the interactive prompts — the wizard will:105 - Validate your Twilio and OpenAI credentials in real-time106 - Auto-detect and configure ngrok if available107 - Generate a working `.env` file108 - Optionally install dependencies and build the project1094. Configure your Twilio webhook (wizard shows you the exact URL)1105. Start the server: `npm start`1116. Call your Twilio number — your voice assistant answers!112113**Benefits:**114- Real-time credential validation (catch errors before you start)115- No manual `.env` editing116- Automatic ngrok detection and setup117- Step-by-step guidance with helpful links118119### Option B: Manual setup1201211. `cd runtime && npm install`1222. Copy `../references/env.example` to `runtime/.env` and fill in your values.1233. `npm run build && npm start`1244. Point your Twilio voice webhook to `https://<your-domain>/twilio/inbound`1255. Call your Twilio number — your voice assistant answers!126127### Option C: Validation-only (existing setup)1281291. Copy `references/env.example` to your own `.env` and replace placeholders.1302. Export required variables (`TWILIO_ACCOUNT_SID`, `TWILIO_AUTH_TOKEN`, `TWILIO_CALLER_ID`, `OPENAI_API_KEY`, `OPENAI_PROJECT_ID`, `OPENAI_WEBHOOK_SECRET`, `PUBLIC_BASE_URL`).1313. Run quick setup:132 `scripts/setup_quickstart.sh`1334. If preflight passes, run one inbound and one outbound smoke test.1345. Only then move to production usage.135136## Safe defaults137138- Require explicit approval before outbound calls.139- If payment/deposit is requested, stop and escalate to the human operator.140- Keep greeting short and clear.141- Use timeout + graceful fallback when `ask_openclaw` is slow/unavailable.142143## Workflow1441451. **Confirm scope for V1**146 - Include only stable behavior: call flow, bridge behavior, fallback behavior, and setup steps.147 - Exclude machine-specific secrets and private paths.1481492. **Document architecture + limits**150 - Read `references/architecture.md`.151 - Keep claims realistic (latency varies; memory lookups are best-effort).1521533. **Run release checklist**154 - Read `references/release-checklist.md`.155 - Validate config placeholders, safety guardrails, and failure handling.1561574. **Smoke-check runtime assumptions**158 - Run `scripts/validate_voice_env.sh` on the target host.159 - Fix missing env/config before publishing.1601615. **Publish**162 - Publish to ClawHub (example): 163 `clawhub publish <skill-folder> --slug amber-voice-assistant --name "Amber Voice Assistant" --version 1.0.0 --tags latest --changelog "Initial public release"`164 - Optional: run your local skill validator/packager before publishing.1651666. **Ship updates**167 - Publish new semver versions (`1.0.1`, `1.1.0`, `2.0.0`) with changelogs.168 - Keep `latest` on the recommended version.169170## Troubleshooting (common)171172- **"Missing env vars"** → re-check `.env` values and re-run `scripts/validate_voice_env.sh`.173- **"Call connects but assistant is silent"** → verify TTS model setting and provider auth.174- **"ask_openclaw timeout"** → verify gateway URL/token and increase timeout conservatively.175- **"Webhook unreachable"** → verify tunnel/domain and Twilio webhook target.176177## Guardrails for public release178179- Never publish secrets, tokens, phone numbers, webhook URLs with credentials, or personal data.180- Include explicit safety rules for outbound calls, payments, and escalation.181- Mark V1 as beta if conversational quality/latency tuning is ongoing.182183## Resources184185- **Runtime bridge:** `runtime/` (full source + README)186- Architecture and behavior notes: `references/architecture.md`187- Release gate: `references/release-checklist.md`188- Env template: `references/env.example`189- Quick setup runner: `scripts/setup_quickstart.sh`190- Env/config validator: `scripts/validate_voice_env.sh`