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/xspace-agent/examples/transcription-logger/README.md

overstepping62a486d111c7
diff --git a/xspace-agent/xspace-agent/examples/transcription-logger/README.md b/xspace-agent/xspace-agent/examples/transcription-logger/README.md
new file mode 100644
index 000000000..6e4589054
--- /dev/null
+++ b/xspace-agent/xspace-agent/examples/transcription-logger/README.md
@@ -0,0 +1,40 @@
+# Transcription Logger Example
+
+Join an X Space in **listen-only mode** and save a timestamped transcript to a file. The agent never speaks — it only listens and records.
+
+## 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 with a Space URL:
+ ```bash
+ npm start https://x.com/i/spaces/1eaKbrPAqbwKX
+ ```
+
+## Output
+
+Transcriptions are printed to stdout and appended to `transcript.txt`:
+
+```
+[2026-03-23T14:30:00.000Z] Alice: Welcome everyone to today's Space
+[2026-03-23T14:30:05.000Z] Bob: Thanks for having me
+[2026-03-23T14:30:12.000Z] --- Charlie joined ---
+```
+
+## Configuration
+
+| Env Var | Description | Default |
+|---------|-------------|---------|
+| `X_AUTH_TOKEN` | X authentication token | *required* |
+| `OPENAI_API_KEY` | OpenAI key for STT | *required* |
+| `OUTPUT_FILE` | Transcript output path | `transcript.txt` |
+
+