Skip to content

Managing environments in elevenlabs is a nightmare #264

@pauksztello

Description

@pauksztello

We’re trying to integrate ElevenLabs agents into our platform, which is built on Next.js. We have production, staging, and local environments for each developer. Trying out ElevenLabs was nice - the SDK is solid, but the issues started when we tried implementing multiple environments.

The struggles we’re facing:
1. No way to define environments or manage variables/secrets per environment.
2. Webhooks don’t support variables, so we need to create a new webhook for every environment.
3. Tools are a nightmare—there’s no secure way to pass path params. You end up needing to create a separate copy of each tool per environment just to manage secrets/paths.
4. The CLI is buggy, poorly documented, and doesn’t provide much value.

My suggestions to greatly improve the developer experience:
1. Add proper environment management.
2. Support dynamic variables in webhooks.
3. Allow passing secrets/sensitive configs when signing URLs instead of setting them from the client.
4. Invest in making the CLI truly useful. Right now, it’s buggy. For example: fetching agents with tools gives you an invalid config - then syncing fails because it says you can’t use tool IDs and tools together.

Just wanted to get my frustration out. On the bright side, integrating with Next.js was a charm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions