Xspace AI
Description
TypeScript SDK and CLI for building AI agents that autonomously join, listen, and speak in X/Twitter Spaces. Supports multiple LLM providers (OpenAI, Claude, Groq), speech-to-text (Whisper, Deepgram), text-to-speech (ElevenLabs, OpenAI), multi-agent coordination, middleware pipelines, and a real-time admin dashboard. No Twitter API approval needed
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
X Space Agent
AI agents that join and talk in X/Twitter Spaces
Quick Start • Features • Structure • Architecture • Examples • Docs • Contributing
Multi-agent AI voice conversations in X/Twitter Spaces — real-time transcription, LLM responses, and voice synthesis
What is this?
X Space Agent is a TypeScript SDK that lets you build **AI agents that autonomously join, listen, and speak in X/Twitter Spaces**. Connect any LLM, any voice provider, and ship in minutes. No Twitter API approval needed.
import { XSpaceAgent } from 'xspace-agent'
const agent = new XSpaceAgent({
auth: { token: process.env.X_AUTH_TOKEN!, ct0: process.env.X_CT0! },
ai: { provider: 'openai', apiKey: process.env.OPENAI_API_KEY! },
})
agent.on('transcription', ({ text }) => console.log('Heard:', text))
agent.on('response', ({ text }) => console.log('Said:', text))
await agent.join('https://x.com/i/spaces/YOUR_SPACE_ID')
Or skip the code entirely with the CLI:
node packages/cli/bin/xspace-agent join https://x.com/i/spaces/YOUR_SPACE_ID --provider openai
(Once the packages are published this becomes `npx xspace-agent join `.)
Features
| 🎤 Multi-Provider LLM OpenAI, Claude, Groq, or any custom API |
👥 Multi-Agent Teams Run multiple personalities with turn management |
🔧 Middleware Pipeline Hook into STT → Related SkillsAgency AgentsA complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject AI Firecrawl🔥 The API to search, scrape, and interact with the web for AI AI Artifacts BuilderSuite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech AI CrewAIFramework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA AI TrendRadar⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI mem0| Universal memory layer for AI Agents | 51341 | 221 | 1 | AI |