# July 11, 2025

## Voice Agent API

### New Features

#### 🤖 Expanded LLM Support

We've significantly expanded our LLM options across our two pricing tiers. The following LLMs are now available for use:

**Standard Models**

- OpenAI GPT-4.1 mini
- OpenAI GPT-4.1 nano
- OpenAI GPT-4o mini
- Anthropic Claude Haiku 3.5

**Advanced Models**

- OpenAI GPT-4.1
- OpenAI GPT-4o
- Anthropic Claude Sonnet 4

For complete information about supported LLMs, visit our [Voice Agent LLM Models documentation](/guides/self-hosted-deployments-3-voice-agent-llm-models) or try them out in our [API Playground](https://playground.deepgram.com/?endpoint=agent).

#### 🌍 Spanish Language Support

Voice Agents now support Spanish conversations with the addition of Aura-2 Spanish TTS. Configure your agent's language settings to enable Spanish voice interactions.

See our [Voice Agent API documentation](/guides/self-hosted-deployments-2-reference-voice-agent-voice-agent#send.AgentV1Settings.agent.language) for implementation details.

#### 💬 Conversation Context Feature

Introducing comprehensive conversation continuity with our new context feature:

**Complete Context Awareness**

- Agents maintain conversation history across sessions
- Seamless continuation of previous interactions

**Enhanced User Experience**

- More natural conversations with historical context
- Consistent interaction patterns across sessions

**Flexible Implementation**

- Support for both conversational and function call history
- Configurable history settings

##### Implementation

Use the `agent.context` object to provide conversation history when starting new sessions:

**Conversational Messages:**

```json
{
  "type": "History",
  "role": "user" | "assistant",
  "content": "message text"
}
```

**Function Call Messages:**

```json
{
  "type": "History",
  "function_calls": [{
    "id": "unique_id",
    "name": "function_name",
    "client_side": true/false,
    "arguments": "json_string",
    "response": "response_text"
  }]
}
```

To disable function call history, set `settings.flags.history` to `false` in the Settings message.

Documentation

- [Configure Voice Agent Context](/guides/self-hosted-deployments-3-configure-voice-agent#agentcontext)

#### 🔍 Enhanced Error Visibility

We've improved client-side visibility of LLM and TTS errors to provide better debugging and user experience.

## Related pages

- [Amazon SageMaker](./amazon-sagemaker-index.md)
- [Aura](./aura-index.md)
- [Changelog](../changelog.md)
- [Custom Vocabulary](./custom-vocabulary-index.md)
- [Deepgram's Docs](../index.md)
- [Deployment](./deployment-index.md)
- [Docker/Podman](./docker-podman-index.md)
- [Features](./features-index.md)
- [Flux TTS](./flux-tts-index.md)
- [Formatting](./formatting-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
