← Back to tools

elevenlabs

Build and manage ElevenLabs voice agents as code from the terminal

Cloud & Services Development linuxmacoswindows TypeScript MIT

Description

The official ElevenLabs CLI for building and managing multimodal AI voice agents as code. Create agents from templates, sync configurations bidirectionally, manage branches for staging/production workflows, and deploy embed widgets. Agent-first and non-interactive by default for seamless automation and AI agent integration. Rich interactive UI available via --human-friendly flag.

Install

npmnpm install -g @elevenlabs/cli
npxnpx @elevenlabs/cli agents init

AI Summary

Official ElevenLabs CLI — manage voice agents as code with templates, bidirectional sync, branching, testing, and CI/CD-friendly non-interactive output.

Capabilities

  • + Create voice agents from pre-built templates
  • + Bidirectional sync between local config and ElevenLabs platform
  • + Agent branching for staging/production workflows
  • + Push and pull agent configurations
  • + Manage webhooks and custom tools
  • + Create and run agent tests
  • + Generate embed widgets for deployment
  • + Non-interactive by default for agent and CI/CD use
  • + Secure credential storage via OS keychain

Use When

  • You need to manage ElevenLabs voice agents from the terminal
  • You want to treat voice agent configs as code in version control
  • You need CI/CD deployment of voice agents
  • You want to automate voice agent management from an AI agent

Avoid When

  • x You don't have an ElevenLabs account
  • x You only need text-to-speech without agent management

Usage Patterns

Initialize a new agent project

elevenlabs agents init

Set up local agent configuration files

Create an agent from template

elevenlabs agents add "Support Bot" --template customer-service

Create a new voice agent from a pre-built template

Push changes to ElevenLabs

elevenlabs agents push --dry-run

Preview and sync local changes to the platform

Pull remote changes

elevenlabs agents pull --update

Sync remote agent config to local files

Input / Output

stdout: Agent status, sync results, test output — non-interactive JSON by default

Typical Pipelines

elevenlabs agents init && elevenlabs agents add 'Bot' --template minimal && elevenlabs agents push
elevenlabs agents pull --update && git diff
View AGENTS.md for elevenlabs