@tanstack/ai-elevenlabs has 1,524 recorded weekly downloads on npm, a decrease of 13.1% over the past 30 days, ranking #1375 of 2,322 tracked listings.
About @tanstack/ai-elevenlabs
@tanstack/ai-elevenlabs
ElevenLabs adapter for TanStack AI realtime voice conversations.
Installation
npm install @tanstack/ai-elevenlabs @tanstack/ai @tanstack/ai-client
Usage
Server-Side Token Generation
import { realtimeToken } from '@tanstack/ai'
import { elevenlabsRealtimeToken } from '@tanstack/ai-elevenlabs'
// Generate a signed URL for client use
const token = await realtimeToken({
adapter: elevenlabsRealtimeToken({
agentId: 'your-agent-id',
}),
})
Client-Side Usage
import { RealtimeClient } from '@tanstack/ai-client'
import { elevenlabsRealtime } from '@tanstack/ai-elevenlabs'
const client = new RealtimeClient({
getToken: () => fetch('/api/realtime-token').then((r) => r.json()),
adapter: elevenlabsRealtime(),
})
await client.connect()
With React
import { useRealtimeChat } from '@tanstack/ai-react'
import { elevenlabsRealtime } from '@tanstack/ai-elevenlabs'
function VoiceChat() {
const { status, mode, messages, connect, disconnect } = useRealtimeChat({
getToken: () => fetch('/api/realtime-token').then(r => r.json()),
adapter: elevenlabsRealtime(),
})
return (
<div>
<p>Status: {status}</p>
<p>Mode: {mode}</p>
<button onClick={status === 'idle' ? connect : disconnect}>
{status === 'idle' ? 'Start' : 'Stop'}
</button>
</div>
)
}
Environment Variables
Set ELEVENLABS_API_KEY in your environment for server-side token generation.
Requirements
- ElevenLabs account with Conversational AI agent configured
- Agent ID from ElevenLabs dashboard
License
MIT
Description from the npm listing.
- ai
- ai-sdk
- typescript
- tanstack
- elevenlabs
- adapter
- voice
- realtime
- text-to-speech
- tts
- transcription
- speech-to-text
- audio-generation
- music
- sound-effects
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (544)Similar npm AI SDKs plugins
All 20 @tanstack/ai-elevenlabs alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/@tanstack/ai-elevenlabs. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.