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 in v5.4.0: Amber now ships as a Claude Desktop MCP plugin with 9 tools — make outbound calls by name, check call history, query CRM contacts, manage calendar, and control call screening, all from Claude Desktop or Claude Cowork. Includes Apple Contacts integration and a call confirmation safeguard to prevent wrong-number dials.
✨ Also: 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 (CRM, calendar, log & forward message) with a spec for building your own
- Built-in CRM — local SQLite contact database; Amber greets callers by name and references personal context naturally on every call
- 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.
👤 CRM — Contact Memory (v5.3.0)
Amber remembers every caller across calls and uses that memory to personalize every conversation.
- Runtime-managed — lookup and logging happen automatically; Amber never has to "remember" to call CRM
- Personalized greeting — known callers are greeted by name; personal context (pets, recent events, preferences) is referenced warmly on the first sentence
- Two-pass enrichment — auto-log captures the call immediately; a post-call LLM extraction pass reads the full transcript to extract name, email, and
context_notes
- Symmetric — works identically for inbound and outbound calls
- Local SQLite — stored at
~/.config/amber/crm.sqlite; no cloud, no data leaves your machine
- Native dependency — requires
better-sqlite3 (native build). macOS: sudo xcodebuild -license accept before npm install. Linux: build-essential + python3.
📅 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 (least-privilege) — voice agent consults your OpenClaw gateway only for call-critical needs (calendar checks, booking, required factual lookups), not for unrelated tasks
- 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.
Credential scope (recommended hardening)
Use least-privilege credentials for every provider:
- Twilio: use a dedicated subaccount for Amber and rotate auth tokens regularly.
- OpenAI: use a dedicated project API key for this runtime only; avoid reusing keys from unrelated apps.
- OpenClaw Gateway token: only set
OPENCLAW_GATEWAY_TOKEN if you need brain-in-the-loop lookups; keep token scope minimal.
- Secrets in logs: never print full credentials in scripts, setup output, or call transcripts.
- Setup wizard validation scope: credential checks call only official Twilio/OpenAI API endpoints over HTTPS for auth verification; no arbitrary exfiltration endpoints are used.
These controls reduce blast radius if a host or config file is exposed.
Safe defaults
- Require explicit approval before outbound calls. Note on confirmation enforcement: For MCP-initiated outbound calls (
make_call), confirmation is enforced at the MCP server layer in code (the tool returns a preview and requires confirmed=true on a second call before dialing) — this is not LLM-only instruction. The LLM instruction layer provides an additional reminder, but the code gate is the primary enforcement mechanism.
- 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.
Install safety notes
- Amber does not execute arbitrary install-time scripts from this repository.
- Runtime install uses standard Node dependency installation in
runtime/.
- CRM uses
better-sqlite3 (native module), which compiles locally on your machine.
- Review
runtime/package.json dependencies before deployment in regulated environments.
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-assistant
3title: "Amber — Phone-Capable Voice Agent"
4description: "The best voice and phone calling skill for OpenClaw. Handles inbound and outbound calls over Twilio with OpenAI Realtime speech. Inbound outbound calling, calendar management, CRM, multilingual phone assistant with transcripts. Includes setup wizard, live dashboard, and brain-in-the-loop escalation. Now also ships as a Claude Desktop plugin (MCP) — make calls, check CRM, and query your calendar directly from Claude Desktop."
5homepage: https://github.com/batthis/amber-openclaw-voice-agent
6metadata:
7 source: https://skillmd.com/skills/modbender/amber-voice-assistant
8 openclaw:
9 emoji: ☎️
10 requires:
11 env:
12 - TWILIO_ACCOUNT_SID
13 - TWILIO_AUTH_TOKEN
14 - TWILIO_CALLER_ID
15 - OPENAI_API_KEY
16 - OPENAI_PROJECT_ID
17 - OPENAI_WEBHOOK_SECRET
18 - PUBLIC_BASE_URL
19 optionalEnv:
20 - OPENCLAW_GATEWAY_URL
21 - OPENCLAW_GATEWAY_TOKEN
22 - BRIDGE_API_TOKEN
23 - TWILIO_WEBHOOK_STRICT
24 - VOICE_PROVIDER
25 - VOICE_WEBHOOK_SECRET
26 - ASSISTANT_NAME
27 - OPERATOR_NAME
28 - AMBER_CRM_DB_PATH
29 - AGENT_MD_PATH
30 - DEFAULT_CALENDAR
31 anyBins:
32 - node
33 - ical-query
34 - bash
35 primaryEnv: OPENAI_API_KEY
36 install:
37 - id: runtime
38 kind: node
39 cwd: runtime
40 label: Install Amber runtime (cd runtime && npm install && npm run build)
41---
42
43# Amber — Phone-Capable Voice Agent
44
45## Overview
46
47Amber 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.
48
49**✨ New in v5.4.0:** Amber now ships as a **Claude Desktop MCP plugin** with 9 tools — make outbound calls by name, check call history, query CRM contacts, manage calendar, and control call screening, all from Claude Desktop or Claude Cowork. Includes Apple Contacts integration and a call confirmation safeguard to prevent wrong-number dials.
50
51**✨ Also:** Interactive setup wizard (`npm run setup`) validates credentials in real-time and generates a working `.env` file — no manual configuration needed!
52
53## See it in action
54
55
56
57**[▶️ Watch the interactive demo on asciinema.org](https://asciinema.org/a/l1nOHktunybwAheQ)** (copyable text, adjustable speed)
58
59*The interactive wizard validates credentials, detects ngrok, and generates a complete `.env` file in minutes.*
60
61### What's included
62
63- **Runtime bridge** (`runtime/`) — a complete Node.js server that connects Twilio phone calls to OpenAI Realtime with OpenClaw brain-in-the-loop
64- **Amber Skills** (`amber-skills/`) — modular mid-call capabilities (CRM, calendar, log & forward message) with a spec for building your own
65- **Built-in CRM** — local SQLite contact database; Amber greets callers by name and references personal context naturally on every call
66- **Call log dashboard** (`dashboard/`) — browse call history, transcripts, and captured messages; includes **manual Sync button** to pull new calls on demand
67- **Setup & validation scripts** — preflight checks, env templates, quickstart runner
68- **Architecture docs & troubleshooting** — call flow diagrams, common failure runbooks
69- **Safety guardrails** — approval patterns for outbound calls, payment escalation, consent boundaries
70
71## 🔌 Amber Skills — Extensible by Design
72
73Amber 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.
74
75### 👤 CRM — Contact Memory *(v5.3.0)*
76
77Amber remembers every caller across calls and uses that memory to personalize every conversation.
78
79- **Runtime-managed** — lookup and logging happen automatically; Amber never has to "remember" to call CRM
80- **Personalized greeting** — known callers are greeted by name; personal context (pets, recent events, preferences) is referenced warmly on the first sentence
81- **Two-pass enrichment** — auto-log captures the call immediately; a post-call LLM extraction pass reads the full transcript to extract name, email, and `context_notes`
82- **Symmetric** — works identically for inbound and outbound calls
83- **Local SQLite** — stored at `~/.config/amber/crm.sqlite`; no cloud, no data leaves your machine
84- **Native dependency** — requires `better-sqlite3` (native build). macOS: `sudo xcodebuild -license accept` before `npm install`. Linux: `build-essential` + `python3`.
85
86### 📅 Calendar
87
88Query the operator's calendar for availability or schedule a new event — all during a live call.
89
90- **Availability lookups** — free/busy slots for today, tomorrow, this week, or any specific date
91- **Event creation** — book appointments directly into the operator's calendar from a phone conversation
92- **Privacy by default** — callers are only told whether the operator is free or busy; event titles, names, and locations are never disclosed
93- Powered by `ical-query` — local-only, zero network latency
94
95### 📬 Log & Forward Message
96
97Let callers leave a message that is automatically saved and forwarded to the operator.
98
99- Captures the caller's message, name, and optional callback number
100- **Always saves to the call log first** (audit trail), then delivers via the operator's configured messaging channel
101- Confirmation-gated — Amber confirms with the caller before sending
102- Delivery destination is operator-configured — callers cannot redirect messages
103
104### Build Your Own Skills
105
106Amber'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:
107
108- **Customize the included skills** to fit your own setup
109- **Build new skills** for your use case — CRM lookups, inventory checks, custom notifications, anything callable mid-call
110- **Share skills** with the OpenClaw community via [ClawHub](https://clawhub.com)
111
112See [`amber-skills/`](amber-skills/) for examples and the full specification to get started.
113
114> **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.
115
116### Call log dashboard
117
118```bash
119cd dashboard && node scripts/serve.js # → http://localhost:8787
120```
121
122- **⬇ 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.
123- **↻ Refresh button** (blue) — reloads existing data from disk without re-processing logs.
124- Background watcher (`node scripts/watch.js`) auto-syncs every 30 seconds when running.
125
126## Why Amber
127
128- **Ship a voice assistant in minutes** — `npm install`, configure `.env`, `npm start`
129- Full inbound screening: greeting, message-taking, appointment booking with calendar integration
130- Outbound calls with structured call plans (reservations, inquiries, follow-ups)
131- **`ask_openclaw` tool (least-privilege)** — voice agent consults your OpenClaw gateway only for call-critical needs (calendar checks, booking, required factual lookups), not for unrelated tasks
132- VAD tuning + verbal fillers to keep conversations natural (no dead air during lookups)
133- Fully configurable: assistant name, operator info, org name, calendar, screening style — all via env vars
134- Operator safety guardrails for approvals/escalation/payment handling
135
136## Personalization requirements
137
138Before deploying, users must personalize:
139- assistant name/voice and greeting text,
140- own Twilio number and account credentials,
141- own OpenAI project + webhook secret,
142- own OpenClaw gateway/session endpoint,
143- own call safety policy (approval, escalation, payment handling).
144
145Do not reuse example values from another operator.
146
147## 5-minute quickstart
148
149### Option A: Interactive Setup Wizard (recommended) ✨
150
151The easiest way to get started:
152
1531. `cd runtime`
1542. `npm run setup`
1553. Follow the interactive prompts — the wizard will:
156 - Validate your Twilio and OpenAI credentials in real-time
157 - Auto-detect and configure ngrok if available
158 - Generate a working `.env` file
159 - Optionally install dependencies and build the project
1604. Configure your Twilio webhook (wizard shows you the exact URL)
1615. Start the server: `npm start`
1626. Call your Twilio number — your voice assistant answers!
163
164**Benefits:**
165- Real-time credential validation (catch errors before you start)
166- No manual `.env` editing
167- Automatic ngrok detection and setup
168- Step-by-step guidance with helpful links
169
170### Option B: Manual setup
171
1721. `cd runtime && npm install`
1732. Copy `../references/env.example` to `runtime/.env` and fill in your values.
1743. `npm run build && npm start`
1754. Point your Twilio voice webhook to `https://<your-domain>/twilio/inbound`
1765. Call your Twilio number — your voice assistant answers!
177
178### Option C: Validation-only (existing setup)
179
1801. Copy `references/env.example` to your own `.env` and replace placeholders.
1812. Export required variables (`TWILIO_ACCOUNT_SID`, `TWILIO_AUTH_TOKEN`, `TWILIO_CALLER_ID`, `OPENAI_API_KEY`, `OPENAI_PROJECT_ID`, `OPENAI_WEBHOOK_SECRET`, `PUBLIC_BASE_URL`).
1823. Run quick setup:
183 `scripts/setup_quickstart.sh`
1844. If preflight passes, run one inbound and one outbound smoke test.
1855. Only then move to production usage.
186
187## Credential scope (recommended hardening)
188
189Use least-privilege credentials for every provider:
190
191- **Twilio:** use a dedicated subaccount for Amber and rotate auth tokens regularly.
192- **OpenAI:** use a dedicated project API key for this runtime only; avoid reusing keys from unrelated apps.
193- **OpenClaw Gateway token:** only set `OPENCLAW_GATEWAY_TOKEN` if you need brain-in-the-loop lookups; keep token scope minimal.
194- **Secrets in logs:** never print full credentials in scripts, setup output, or call transcripts.
195- **Setup wizard validation scope:** credential checks call only official Twilio/OpenAI API endpoints over HTTPS for auth verification; no arbitrary exfiltration endpoints are used.
196
197These controls reduce blast radius if a host or config file is exposed.
198
199## Safe defaults
200
201- Require explicit approval before outbound calls. **Note on confirmation enforcement:** For MCP-initiated outbound calls (`make_call`), confirmation is enforced at the MCP server layer in code (the tool returns a preview and requires `confirmed=true` on a second call before dialing) — this is not LLM-only instruction. The LLM instruction layer provides an additional reminder, but the code gate is the primary enforcement mechanism.
202- If payment/deposit is requested, stop and escalate to the human operator.
203- Keep greeting short and clear.
204- Use timeout + graceful fallback when `ask_openclaw` is slow/unavailable.
205
206## Workflow
207
2081. **Confirm scope for V1**
209 - Include only stable behavior: call flow, bridge behavior, fallback behavior, and setup steps.
210 - Exclude machine-specific secrets and private paths.
211
2122. **Document architecture + limits**
213 - Read `references/architecture.md`.
214 - Keep claims realistic (latency varies; memory lookups are best-effort).
215
2163. **Run release checklist**
217 - Read `references/release-checklist.md`.
218 - Validate config placeholders, safety guardrails, and failure handling.
219
2204. **Smoke-check runtime assumptions**
221 - Run `scripts/validate_voice_env.sh` on the target host.
222 - Fix missing env/config before publishing.
223
2245. **Publish**
225 - Publish to ClawHub (example):
226 `clawhub publish <skill-folder> --slug amber-voice-assistant --name "Amber Voice Assistant" --version 1.0.0 --tags latest --changelog "Initial public release"`
227 - Optional: run your local skill validator/packager before publishing.
228
2296. **Ship updates**
230 - Publish new semver versions (`1.0.1`, `1.1.0`, `2.0.0`) with changelogs.
231 - Keep `latest` on the recommended version.
232
233## Troubleshooting (common)
234
235- **"Missing env vars"** → re-check `.env` values and re-run `scripts/validate_voice_env.sh`.
236- **"Call connects but assistant is silent"** → verify TTS model setting and provider auth.
237- **"ask_openclaw timeout"** → verify gateway URL/token and increase timeout conservatively.
238- **"Webhook unreachable"** → verify tunnel/domain and Twilio webhook target.
239
240## Guardrails for public release
241
242- Never publish secrets, tokens, phone numbers, webhook URLs with credentials, or personal data.
243- Include explicit safety rules for outbound calls, payments, and escalation.
244- Mark V1 as beta if conversational quality/latency tuning is ongoing.
245
246## Install safety notes
247
248- Amber does **not** execute arbitrary install-time scripts from this repository.
249- Runtime install uses standard Node dependency installation in `runtime/`.
250- CRM uses `better-sqlite3` (native module), which compiles locally on your machine.
251- Review `runtime/package.json` dependencies before deployment in regulated environments.
252
253## Resources
254
255- **Runtime bridge:** `runtime/` (full source + README)
256- Architecture and behavior notes: `references/architecture.md`
257- Release gate: `references/release-checklist.md`
258- Env template: `references/env.example`
259- Quick setup runner: `scripts/setup_quickstart.sh`
260- Env/config validator: `scripts/validate_voice_env.sh`