This quickstart helps you integrate your voice agent application with Elixir. You can start tracing your LLM requests with audio snippets.
Install Elixir
Set up your project
You’ll need an Elixir API key to use the SDK and begin logging data.
Set up your environment
Trace your agent conversation
Elixir.init()
to instrument calls to your LLM services.(This uses an OpenTelemetry-compatible tracing standard. Asynchronous instrumentation ensures this will not add latency to your service.)
Elixir.track_conversation(call_id: str)
to track the current conversation and group LLM traces within. You’ll need to provide a call id.Examples:
Pipecat Setup (Daily)
Vapi Setup
Send audio to Elixir
After the call ends, use Elixir.upload_audio(conversation_id: str, audio_url: str)
to send call recording to Elixir. This can be used in one of two ways:
Examples:
Pipecat + Twilio (File Upload)
Vapi (Public Link)
This quickstart helps you integrate your voice agent application with Elixir. You can start tracing your LLM requests with audio snippets.
Install Elixir
Set up your project
You’ll need an Elixir API key to use the SDK and begin logging data.
Set up your environment
Trace your agent conversation
Elixir.init()
to instrument calls to your LLM services.(This uses an OpenTelemetry-compatible tracing standard. Asynchronous instrumentation ensures this will not add latency to your service.)
Elixir.track_conversation(call_id: str)
to track the current conversation and group LLM traces within. You’ll need to provide a call id.Examples:
Pipecat Setup (Daily)
Vapi Setup
Send audio to Elixir
After the call ends, use Elixir.upload_audio(conversation_id: str, audio_url: str)
to send call recording to Elixir. This can be used in one of two ways:
Examples:
Pipecat + Twilio (File Upload)
Vapi (Public Link)