AI agents that join, listen, and speak in X/Twitter Spaces — TypeScript SDK plus server, dashboard, and voice pipeline.
npm installCapabilities documented in this repository.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
See the full documentation for details.
Install it, then run your first command.
npm install
| Command | Runs |
|---|---|
npm run build | turbo build |
npm run dev | npx tsx watch packages/server/src/index.ts |
npm run start | node dist/server/index.js |
npm run lint | npx eslint src/ |
npm run typecheck | npx tsc --noEmit && npx tsc -p tsconfig.client.json --noEmit |
npm run test | cd packages/core && npx --no-install vitest run |
Taken directly from this repository's documentation.
node packages/cli/bin/xspace-agent join https://x.com/i/spaces/YOUR_SPACE_ID --provider openaigit clone https://github.com/nirholas/xspace-AI.git
cd xspace-AI
pnpm install
pnpm build# .env
X_AUTH_TOKEN=your_x_auth_token
X_CT0=your_x_ct0_cookie
OPENAI_API_KEY=sk-...