Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

add xspace-agent/examples/discord-bridge/README.md

overstepping045e94713011
diff --git a/xspace-agent/examples/discord-bridge/README.md b/xspace-agent/examples/discord-bridge/README.md
new file mode 100644
index 000000000..72c40b095
--- /dev/null
+++ b/xspace-agent/examples/discord-bridge/README.md
@@ -0,0 +1,48 @@
+# Discord Bridge Example
+
+A Discord bot that lets server admins **control the X Space agent from Discord** — join Spaces, speak, and view live transcriptions, all from a Discord channel.
+
+## Prerequisites
+
+- A Discord bot with **Message Content Intent** enabled
+- Bot invited to your server with `Send Messages` and `Read Messages` permissions
+
+## Quickstart
+
+1. Install dependencies:
+ ```bash
+ npm install
+ ```
+
+2. Copy `.env.example` to `.env` and fill in your credentials:
+ ```bash
+ cp .env.example .env
+ ```
+
+3. Run the bridge:
+ ```bash
+ npm start
+ ```
+
+## Discord Commands
+
+| Command | Description |
+|---------|-------------|
+| `!join <url>` | Join an X Space |
+| `!leave` | Leave the current Space |
+| `!say <text>` | Speak text in the Space |
+| `!mute` | Mute the agent |
+| `!unmute` | Unmute the agent |
+| `!status` | Show agent status |
+| `!help` | List all commands |
+
+Only users with the **Administrator** permission can use these commands.
+
+## Features
+
+- Live transcription forwarding from X Space to Discord
+- Agent responses posted to the Discord channel
+- Error reporting in Discord
+- Permission-gated commands (admin only)
+
+