nirholas

Xspace AI — AI skill for Claude Code

AI community

TypeScript SDK and CLI for building AI agents that autonomously join, listen, and speak in X/Twitter Spaces.

How to install Xspace AI

This entry records only its repository, not the path inside it, so there is no exact command to give. Open nirholas/xspace-AI and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Xspace AI does

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

Alternatives in AI

  • AIHawk — Open-source AI browser agent: describe any task in plain language and it autonomously browses, clicks, types a 30.3k ★
  • Hexstrike AI — HexStrike AI MCP Agents is an advanced MCP server that lets AI agents (Claude, GPT, Copilot, etc.) autonomousl 8.2k ★
  • Cursor Tools — by eastlondoner - Creates a versatile AI command interface supporting multiple providers and models with flexi 4.7k ★

README

X Space Agent

X Space Agent

AI agents that join and talk in X/Twitter Spaces

Quick Start • Features • Structure • Architecture • Examples • Docs • Contributing


X Space Agent — Multi-agent AI voice conversations
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 →