← Back to Plugins
Voice

Backseat

SilentHacks By SilentHacks 👁 23 views ▲ 0 votes

Backseat: an OpenClaw plugin that watches your game and roasts you live in Discord voice (Kimi K3.1 Pro on Cerebras)

GitHub

Install

openclaw plugins install npm-pack:./backseat-0.1.0.tgz

README

# Backseat

Backseat is an OpenClaw plugin that joins your Discord voice chat, sees your game window, and roasts your plays.

<!-- VIDEO -->

Built for the Cerebras × Kimi K3.1 Pro hackathon. Backseat runs voice activity detection, transcription, and wake-word detection on your OpenClaw host. It sends the resulting prompt and, when sharing is active, one recent screenshot to Kimi K3.1 Pro on Cerebras. It speaks the answer with ElevenLabs or local Piper. Kokoro is another local option.

## Install

Use OpenClaw 2026.11.6 or later with the official [Discord plugin](https://docs.openclaw.ai/channels/discord/setup), Node.js 24.16+ in the 24.x line or 26.1+, and a Linux or macOS x64/arm64 host or Windows x64 host. Allow about 350 MB for the default voice-model setup. Chrome and Edge support game-window capture over HTTPS or localhost.

Invite the bot with the `bot` and `applications.commands` scopes. Enable **Message Content Intent** and grant **Connect** and **Speak**. Set `DISCORD_BOT_TOKEN` and your own `CEREBRAS_API_KEY` in the gateway's `.env` file (`~/.openclaw/.env` by default). The default model requires access to the Kimi K3.1 Pro trial on Cerebras. For cloud speech, add your own `ELEVENLABS_API_KEY`. ElevenLabs v3/v4 playback speed adjustment uses a local FFmpeg executable when available.

Stop the gateway before setup. Download `backseat-0.1.0.tgz` from the GitHub release and run:

```sh
openclaw plugins install npm-pack:./backseat-0.1.0.tgz --force --accept-capabilities
openclaw backseat setup
```

Setup finds the bot's servers, asks for your Discord user ID if needed, and downloads the voice models. It makes Backseat the default agent for Discord and allows members of the selected servers to address Backseat. Use `--guild <id>` to select a server or `--dry-run` to preview the setup changes. Start the gateway with `openclaw gateway start`.

## Play

1. Join a voice channel in a server with your bot. Backseat follows the configured player.
2. Run `/backseat` in Discord. Open the private capture link, choose **Share game window**, and select the game. Keep the browser tab open.
3. Say “OpenClaw, should I push?” and pause. Anyone in the call can address Backseat. You have eight seconds to ask a follow-up after it replies.
4. Click **Stop sharing** or run `/backseat input: stop` to end the capture session.

Use Tailscale Serve for capture across machines. Set `gateway.tailscale.mode` to `serve`, keep the gateway on loopback, restart it, and run `/backseat` for a fresh HTTPS link. [OpenClaw Tailscale setup](https://docs.openclaw.ai/gateway/tailscale)

## Configuration

Plugin settings are under `plugins.entries.screen-to-voice.config`.

| Setting | Default or behavior |
| --- | --- |
| `playerId` | Inferred from the single Discord owner or allowed user. Set explicitly to override. |
| `publicUrl` | Detected from gateway configuration, Tailscale Serve, or localhost. Set to override the capture origin. |
| `backseatVoice.voice` | `elevenlabs` when a key is configured, otherwise `piper-lj`. Set `kokoro-george` for a local British English voice. |
| `backseatVoice.stt` | `parakeet-110m`. Set `moonshine-base` for Moonshine. |
| `backseatVoice.wakeWord` / `wakeSpotter` | Both enabled. Turn off `wakeSpotter` for transcript-only wake detection. |
| `backseatVoice.followUpMs` | `8000`. Set to `0` to require the name each turn. |
| `backseatVoice.logTranscripts` | `false`. Enabling it logs up to 120 characters of recognized speech per turn, including skipped chatter. |
| `backseatVoice.elevenLabsVoiceId` | Override the ElevenLabs voice with a voice ID available to your account. |

The model defaults to `backseat-cerebras/moonshotai-kimi-k3.1-pro-trial`. To change it, register the model under `models.providers.backseat-cerebras.models` and select it in the `model.primary` field of the Backseat entry in `agents.entries`. Choose a model that accepts image input for screen-aware replies.

## Privacy

Voice audio passes through Discord to your OpenClaw host, where Backseat transcribes it. The capture browser sends game-window screenshots to the host and captures no audio. The gateway buffers up to five frames in memory for up to 30 seconds. Only eligible turns from the player's current voice channel or the player's text turns in that server or DM can attach a frame. The capture link expires after four hours and a new link invalidates the previous one.

Cerebras receives addressed prompts, conversation context, and any attached screenshot. OpenClaw can retain submitted text and replies in session history. Backseat keeps screenshots out of history. With ElevenLabs enabled, it sends reply text to ElevenLabs and plays the returned audio in Discord. Model downloads go to GitHub and Hugging Face. If you enable OpenClaw web search and ask Backseat to search, the query goes to your configured search provider.

## Development and licence

Run `npm ci`, `npm run check`, and `npm test` from the repository root. `npm pack` compiles the plugin and creates the installable archive.

[Benchmarks](docs/BENCHMARKS.md) · [MIT licence](LICENSE) · [Third-party notices](NOTICE.md)
voice

Comments

Sign in to leave a comment

Loading comments...