elevenlabs-agents

ElevenLabs Agents for voice AI applications.

View on GitHub
Author Jeremy Dawes
Namespace @jezweb/claude-skills
Category ai
Version 1.0.0
Stars 79
Downloads 3
self.md verified
Table of content

ElevenLabs Agents for voice AI applications.

Installation

npx claude-plugins install @jezweb/claude-skills/elevenlabs-agents

Contents

Folders: assets, references, scripts

Files: README.md, SKILL.md

Documentation

Comprehensive skill for building production-ready conversational AI voice agents with ElevenLabs.

Auto-Trigger Keywords

This skill should be used when working with:

What This Skill Covers

Platform Capabilities (29 Features)

Agent Configuration & Management:

Voice & Language:

Knowledge & Tools:

SDKs & Integration:

Testing & Analytics:

Privacy & Compliance:

Cost Optimization:

DevOps & Advanced:

Errors Prevented

This skill prevents 27+ common errors:

  1. Package deprecation (@11labs/* → @elevenlabs/*)
  2. Android audio cutoff (connectionDelay configuration)
  3. CSP violations (workletPaths self-hosting)
  4. WebRTC vs WebSocket confusion (different auth flows)
  5. Missing required dynamic variables
  6. Case-sensitive tool names mismatch
  7. Webhook authentication failures (HMAC verification, header name)
  8. Voice consistency issues (training data quality)
  9. Wrong language voice (English voice for Spanish, etc.)
  10. Restricted API keys in CLI
  11. Agent configuration push conflicts
  12. Tool parameter schema mismatches
  13. RAG index not ready before use
  14. WebSocket protocol errors (1002)
  15. 401 Unauthorized in production (visibility settings)
  16. Allowlist connection errors
  17. Workflow infinite loops
  18. Webhook null message on tool calls (message: z.string().nullable())
  19. Webhook call_successful is string (“success” not true)
  20. Webhook undocumented fields (agent_metadata, llm_usage, etc.)
  21. MCP server SSE responses don’t work - ElevenLabs says “Streamable HTTP” but expects plain JSON (protocol 2024-11-05), NOT SSE (protocol 2025-03-26). Use raw Hono+JSON-RPC, NOT official MCP SDK.

Quick Start Examples

React SDK (Voice Chat UI)

import { useConversation } from '@elevenlabs/react';

const { startConversation, stopConversation, status } = useConversation({
  agentId: 'your-agent-id',
  apiKey: process.env.NEXT_PUBLIC_ELEVENLABS_API_KEY,
  onConnect: () => console.log('Connected'),
  onEvent: (event) => console.log('Event:', event)
});

CLI (“Agents as Code”)

elevenlabs agents init
elevenlabs agents add "Support Agent" --template customer-service
elevenlabs agents push --env prod

API (Programmatic Ag

…(truncated)

Source

View on GitHub

Tags: ai elevenlabsvoicespeechaitts