elevenlabs-agent-simulator

ElevenLabs Agent Simulator

A Chrome extension that brings SDK-level conversation testing capabilities directly into the ElevenLabs web interface. Simulate realistic dialogues to test your conversational AI agents before production deployment.

Features

Installation

  1. Install dependencies and build:
    npm install
    npm run build
    
  2. Load the extension in Chrome:
    • Open chrome://extensions/
    • Enable “Developer mode”
    • Click “Load unpacked”
    • Select the dist folder

Usage

  1. Navigate to your agent page: https://elevenlabs.io/app/agents/agents/[your-agent-id]
  2. Click the extension icon to open the side panel
  3. Enter your ElevenLabs API key (get it from your profile settings)
  4. The Agent ID will be auto-populated from the URL
  5. Enter a prompt describing how the simulated user should behave:
    You are a customer calling about a product inquiry.
    You are polite but want to know about pricing and availability.
    
  6. (Optional) Click “Load Defaults” to auto-fetch dynamic variable placeholders
  7. (Optional) Add or modify dynamic variables as needed
  8. Click “Start Simulation” to run the test
  9. View the conversation transcript and full JSON response

Dynamic Variables

If your agent requires dynamic variables (e.g., customer names, order IDs), you can:

Development

Scripts

Architecture

See IMPLEMENTATION_PLAN.md for detailed implementation details.

The extension uses direct REST API calls to the ElevenLabs API:

Requirements

Privacy

All data (API keys, prompts, variables) is stored locally on your device using Chrome’s storage API. Nothing is synced to the cloud or shared with third parties.