> ## Documentation Index
> Fetch the complete documentation index at: https://anam.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Step 1: Agent configuration

> Configure your ElevenLabs agent for Anam, including audio format, voice settings, response speed, and language model choice.

Start here. In this step, configure the ElevenLabs agent that will provide speech recognition, responses, and a voice for your Anam avatar.

## Configure the audio format

1. Open your agent in the [ElevenLabs agent dashboard](https://elevenlabs.io/app/agents/agents).
2. In the **Advanced** tab, set the user input audio format to **PCM 16000Hz** and save the change. Anam also supports other PCM sample rates and resamples audio automatically.
3. Keep the agent ID available. You will use it when connecting the browser in step three.

## Recommended settings

Adjust these settings in the same dashboard to suit your application.

**LLM choice.** Choose a low-latency model and test its response time with your agent's prompts and tools. If the model supports reasoning, start with a low reasoning budget or effort level. See [ElevenLabs' model selection guide](https://elevenlabs.io/docs/eleven-agents/customization/llm#choosing-a-model) for current options.

If slower LLM responses are a problem, set a soft timeout in the Advanced tab (e.g. 2 seconds) and configure it to either use a fixed filler phrase or generate one with a faster LLM while the main response generates.

**Voices.** In the **Agent Voice** settings, select **Eleven v4 Turbo** (`eleven_v4_turbo`). We recommend it over **Eleven v4** (`eleven_v4`) for higher throughput and lower latency. Both models support audio tags, and existing v3 Conversational agents can keep using the same tags. Anam maps [recognized tags](/docs/integrations/elevenlabs/director-notes), such as `[laughs]`, `[whispers]`, and `[gasps]`, to Director Notes for the avatar's performance. The model is configured in ElevenLabs, so changing it does not require changes to the Anam session code.

**Background noise.** If background noise is being picked up, turn on the Filter Background Speech toggle in the Advanced menu. It's unclear whether this has an effect on latency.

**Response speed.** For the quickest responses, set Eagerness to Eager in the Advanced menu.

Your agent is configured. Next, connect it to Anam.

<Card title="Step 2: Set up the server" icon="arrow-right" href="/docs/integrations/elevenlabs/server-side-setup">
  Create the API route that fetches an ElevenLabs signed URL and returns an Anam session token.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.