Guides you through installing the ElevenLabs CLI, JS/TS SDK, Python package, and REST API setup for creating and managing conversational AI agents.
Ships in openmontage. Installing the plugin adds it to Claude Code.
The ElevenLabs CLI is the recommended way to create and manage agents:
npm install -g @elevenlabs/cli
# or
pnpm add -g @elevenlabs/cli
# or
yarn global add @elevenlabs/cli
Requires Node.js 16.0.0 or higher.
elevenlabs auth login # Authenticate with API key
elevenlabs auth whoami # Verify current login status
elevenlabs auth logout # Remove stored credentials
API keys are securely stored in ~/.agents/api_keys.json.
# Initialize a new project
elevenlabs agents init
# Create an agent from template
elevenlabs agents add "My Assistant" --template complete
# Push to ElevenLabs platform
elevenlabs agents push
For programmatic access and client-side integration:
npm install @elevenlabs/elevenlabs-js
Important: Always use
@elevenlabs/elevenlabs-js. The oldelevenlabsnpm package (v1.x) is deprecated and should not be used.
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
// Option 1: Environment variable (recommended)
// Set ELEVENLABS_API_KEY in your environment
const client = new ElevenLabsClient();
// Option 2: Pass directly
const client = new ElevenLabsClient({ apiKey: "your-api-key" });
If you have old packages installed, remove them:
# Remove deprecated packages
npm uninstall elevenlabs
# Install the current packages
npm install @elevenlabs/elevenlabs-js
# For client-side/browser usage, also install:
npm install @elevenlabs/client # Browser client
npm install @elevenlabs/react # React hooks
Import changes:
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";
import { Conversation } from "@elevenlabs/client";
import { useConversation } from "@elevenlabs/react";
pip install elevenlabs
from elevenlabs import ElevenLabs
# Option 1: Environment variable (recommended)
# Set ELEVENLABS_API_KEY in your environment
client = ElevenLabs()
# Option 2: Pass directly
client = ElevenLabs(api_key="your-api-key")
Set your API key as an environment variable:
export ELEVENLABS_API_KEY="your-api-key"
Include in requests via the xi-api-key header:
curl -X POST "https://api.elevenlabs.io/v1/convai/agents/create" \
-H "xi-api-key: $ELEVENLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "My Agent", "conversation_config": {"agent": {"prompt": {"prompt": "You are helpful.", "llm": "gemini-2.0-flash"}}, "tts": {"voice_id": "JBFqnCBsd6RMkjVDRZzb"}}}'
Or use the setup-api-key skill for guided setup.
| Variable | Description |
|---|---|
ELEVENLABS_API_KEY | Your ElevenLabs API key (required) |
What the agent file sets; muted values are Claude Code's defaults
7-day visitors to each agent page
6 agents in this plugin
references:agent-configurationAgent ConfigurationComplete reference for configuring conversational AI agents.references:client-toolsClient ToolsExtend your agent with custom capabilities. Tools let the agent take actions beyond just talking.references:outbound-callsOutbound CallsMake outbound phone calls using your ElevenLabs agent via Twilio integration.references:widget-embeddingWidget EmbeddingAdd a voice AI agent to any website with the ElevenLabs conversation widget.agentsBuild voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience.@agent-openmontage:references:installationfrom openmontage
openmontage@bag-of-skills is listed by sngraihan/bag-of-skills — review the source before installing
npx claudepluginhub sngraihan/bag-of-skills --plugin openmontageOther plugins' agents for the same job