Install
openclaw plugins install @lemonsliceai/openclaw-avatarOpenClaw Avatar plugin
openclaw plugins install @lemonsliceai/openclaw-avatarGive your OpenClaw agent a face! The Avatar Plugin allows you to have a real-time, interactive video call with your OpenClaw agent. The avatar listens to you, sends your speech to your agent, and speaks the response back with lip-synced video... like FaceTime!
Design your OpenClaw’s face to match its personality. Unlimited avatar options. Powered by LemonSlice, real-time AI avatar technology.
You speak (or type) → Transcribe speech → OpenClaw processes → OpenClaw TTS response -> LemonSlice avatar
This plugin works with the OpenClaw gateway. It allows you to have a floating FaceTime-style avatar on your screen while you work.
Before installing and running this plugin, you must have an OpenClaw instance installed and configured with at least one LLM provider (e.g. gpt-5-nano), as well as TTS and STT capabilities. A minimum OpenClaw config example can be found below.
If you're new to OpenClaw, installation can be complicated. The easiest way to install plugins or capabilities is to modify your openclaw.json file directly.
~/.openclaw/openclaw.json.gateway.auth.token means:"gateway": {
"auth": {
"token": "<VALUE.OF.TOKEN>"
}
}
openclaw.json file against this one and make them match.Avatar uses the core messages.tts configuration for avatar speech playback. Set it up here: https://docs.openclaw.ai/tts
Avatar uses the core tools.media.audio configuration for speech-to-text during avatar sessions. Set it up here: https://docs.openclaw.ai/audio
You will also need API keys with the following service providers:
Install from ClawHub:
openclaw plugins install clawhub:@lemonsliceai/openclaw-avatar
openclaw plugins enable openclaw-avatar
Or install directly from npm:
openclaw plugins install @lemonsliceai/openclaw-avatar@latest
openclaw plugins enable openclaw-avatar
openclaw.json - plugins.allow
{
"plugins": {
"allow": [
"openclaw-avatar"
]
}
}
openclaw openclaw-avatar-setup
openclaw gateway run --force
http://127.0.0.1:18789/plugins/openclaw-avatar/
Enter your gateway auth credential on the main page and click Connect.
Paste a public avatar image URL (optional, default provided).
https://e9riw81orx.ufs.sh/f/z2nBEp3YISrtPNwLc0haBifGpR5UHA49jYDwQzbvS3mgVqLM
Image tips: https://lemonslice.com/docs/avatar-design
In openclaw.json under plugins.entries
{
"plugins": {
"entries": {
"openclaw-avatar": {
"config": {
"avatar": {
"provider": "lemonslice",
"verbose": false,
"lemonSlice": {
"apiKey": "<lemonslice-api-key>",
"imageUrl": "https://e9riw81orx.ufs.sh/f/z2nBEp3YISrtPNwLc0haBifGpR5UHA49jYDwQzbvS3mgVqLM"
},
"livekit": {
"url": "wss://your-project.livekit.cloud",
"apiKey": "<livekit-api-key>",
"apiSecret": "<livekit-api-secret>"
}
}
}
}
}
}
}
avatar.verbose defaults to false. When it is false, the gateway log only receives Avatar sidecar-ready, session start/end lifecycle events, and the worker progress state changes shown above the avatar in the main view. Set it to true to restore the full Avatar event stream.
60. This defines how long your avatar will remain in the chat without interaction.The plugin can be updated to the latest version using:
openclaw plugins update openclaw-avatar
OpenClaw may show a warning like this during install:
WARNING: Plugin "avatar" contains dangerous code patterns: Shell command execution detected (child_process) (.../avatar/index.ts:1727); Environment variable access combined with network send — possible credential harvesting (.../avatar/index.ts:212)
That warning is expected for this plugin. It is flagging two real implementation details:
child_process in avatar/index.ts is used to start a local sidecar worker for the avatar-agent service. That worker runs the long-lived LiveKit agent runtime in a separate process so it can be started, stopped, restarted, and isolated from the main gateway process.process.env plus network activity in avatar/index.ts is used to read setup defaults and plugin-specific runtime variables, then connect to the local OpenClaw gateway and the configured LiveKit, LemonSlice, and OpenClaw speech/media runtime services that power the plugin.What this plugin is not doing:
What it does do:
This example is assembled from a working local openclaw.json and trimmed down to the minimum sections Avatar depends on. Replace each placeholder with your own providers and values.
{
"models": {
"providers": {
"openai": {
"baseUrl": "https://api.openai.com/v1",
"apiKey": "<openai-api-key>"
}
}
},
"gateway": {
"port": 18789,
"mode": "local",
"bind": "loopback",
"auth": {
"mode": "token",
"token": "YOUR_GATEWAY_TOKEN"
},
"remote": {
"url": "ws://127.0.0.1:18789",
"token": "YOUR_GATEWAY_TOKEN"
}
},
"agents": {
"defaults": {
"model": {
"primary": "openai/gpt-5-nano"
}
},
"list": [
{
"id": "main"
}
]
},
"messages": {
"tts": {
"auto": "always",
"provider": "elevenlabs",
"elevenlabs": {
"apiKey": "<elevenlabs-api-key>",
"voiceId": "pg7Nd5b8Y3tnfSndq5lh",
"modelId": "eleven_flash_v2_5",
"applyTextNormalization": "auto"
}
}
},
"tools": {
"media": {
"audio": {
"enabled": true,
"models": [
{
"provider": "groq",
"model": "whisper-large-v3-turbo",
"type": "provider",
"timeoutSeconds": 60,
"language": "en"
}
]
}
}
},
"plugins": {
"allow": ["openclaw-avatar"],
"entries": {
"openclaw-avatar": {
"enabled": true,
"config": {
"avatar": {
"provider": "lemonslice",
"verbose": false,
"lemonSlice": {
"apiKey": "<lemonslice-api-key>"
},
"livekit": {
"url": "wss://<your-project>.livekit.cloud",
"apiKey": "<livekit-api-key>",
"apiSecret": "<livekit-api-secret>"
}
}
}
}
}
}
}
This project is licensed under the MIT License. See LICENSE for details.