# AI agents guides

Use Twilio Programmable Voice to build AI agents. For example, you can programmatically call customers to interact with them using AI-driven responses.

## Evaluate

Evaluate Twilio features and products that support AI agents to determine which ones are right for your needs.

#### CLICK TO EXPAND

* **[Branded Calling](/docs/voice/branded-calling)**: Increase call trust by displaying a verified name, logo, and call reason on recipients' mobile phones.
* **[Conversation Relay](/docs/voice/conversationrelay)**: Send audio from live calls to Conversation Relay for real-time transcription and analysis.
* **[Conversation Intelligence (classic)](/docs/conversation-intelligence-classic)**: Use AI to analyze and extract insights from customer conversations.
* **[Voice Insights](/docs/voice/voice-insights)**: Monitor and analyze call events, call quality, and more.
* **[Caller ID Name (CNAM)](/docs/voice/brand-your-calls-using-cnam)**: Display your business name on recipients' mobile phones or landlines.
* **[Event Streams](/docs/events)**: Get a unified event stream and have it piped directly into your data infrastructure.

## Plan and build

Learn how to plan and build standalone, functional Twilio Programmable Voice components. Combine components to create apps featuring AI agents.

### Basic

* **[Record calls](/docs/voice/tutorials/how-to-record-phone-calls)**: Capture audio from calls for quality assurance or compliance.
  * [Record single side of a call](/docs/voice/tutorials/how-record-single-side-call).
* **[Set up Media Streams](/docs/voice/media-streams)**: Use your own infrastructure for transcription and analysis.
  * [Media Streams WebSocket messages](/docs/voice/media-streams/websocket-messages).
  * [Consume a real-time Media Stream](/docs/voice/tutorials/consume-real-time-media-stream-using-websockets-python-and-flask): Learn how to consume a real-time Media Stream using WebSockets, Python, and Flask.
* **[Onboard with Conversation Relay](/docs/voice/conversationrelay/onboarding)**: Use Conversation Relay for real-time transcription, text-to-speech, and voice synthesis.
  * [Conversation Relay WebSocket messages](/docs/voice/conversationrelay/websocket-messages).
  * [Conversation Relay best practices](/docs/voice/conversationrelay/best-practices).

### Advanced

* **[Detect answering machines](/docs/voice/answering-machine-detection)**: Determine if a human or machine answered the call, and adjust your flow accordingly.
* **[Voice Recording settings](/docs/voice/recording-settings)**: Configure account-wide settings for voice recordings, including external storage and encryption.
* **[Voice recording encryption](/docs/voice/tutorials/voice-recording-encryption)**: Encrypt your voice recordings with your own public key for additional security.
* **[Pick a voice](/docs/voice/conversationrelay/voice-configuration)**: Choose a text-to-speech voice for Conversation Relay.
* **[Modify calls in progress](/docs/voice/tutorials/how-to-modify-calls-in-progress)**: Redirect or update active notification calls programmatically.
* **[Share information between your applications](/docs/voice/how-share-information-between-your-applications)**: Pass metadata between your backend and client-side applications using custom parameters at call connection time.
* **[Connect to Google Dialogflow](/docs/voice/virtual-agent/dialogflow-cx-onboarding)**: Connect Twilio calls to a [Google Dialogflow](https://cloud.google.com/dialogflow) agent to provide callers with conversational experiences.

#### Trusted calling

**Set up trusted calling**: Increase call transparency and trust by displaying your info on recipients' phones.

* [US Basic Branded Calling](/docs/voice/branded-calling/us-basic): Display a verified name on mobile phones.
* [US Enhanced Branded Calling](/docs/voice/branded-calling/us-enhanced): Display a verified name, company logo, and call reason on mobile phones.
* [Caller ID Name (CNAM)](/docs/voice/brand-your-calls-using-cnam): Display your business name on recipients' mobile phones or landlines.

#### Advanced connectivity

**SIP for Programmable Voice**: Connect your SIP-enabled equipment to the Twilio platform for outbound calls.

#### CLICK TO EXPAND

* [Getting started with SIP](/docs/voice/sip/quickstart)
* [Route calls to your SIP network](/docs/voice/tutorials/how-to-route-calls-to-your-sip-network)
* [SIP and TwiML interaction](/docs/voice/api/sip-twiml)
* [Use a private SIPconnection with Twilio Interconnect](/docs/voice/api/sip-interconnect)
* [SIP security best practices](/docs/voice/api/sip-security)

## Troubleshoot

Troubleshoot issues with AI agent apps.

#### CLICK TO EXPAND

* [Voice Insights FAQs](/docs/voice/voice-insights/frequently-asked-questions)
* [Answering Machine Detection FAQs](/docs/voice/answering-machine-detection-faq-best-practices)
* [Troubleshooting voice calls](/docs/voice/troubleshooting)
* [Invoice and call log discrepancies](/docs/voice/why-doesnt-my-invoice-match-what-i-pull-from-the-call-logs)

## Maintain

Maintain and monitor your app and AI agent interactions.

#### CLICK TO EXPAND

**Set up and interpret Voice Insights**: Monitor and analyze call events, call quality, and more.

* [Use the Call Insights dashboard](/docs/voice/voice-insights/call-insights-dashboard): Get a comprehensive overview of your voice communications performance.
  * [Subaccounts Call Insights dashboard](/docs/voice/voice-insights/subaccount-call-insights-dashboard)
* [View the Call Summary](/docs/voice/voice-insights/call-summary): View call metadata, connection parameters, and quality indicators for every call.
* [View Trust & Engagement Insights](/docs/voice/voice-insights/voice-insights-trust-engagement-insights): Monitor and improve the trust and engagement factors that determine whether recipients answer calls.
* [Set up Event Streams for Call Insights](/docs/voice/voice-insights/event-streams/call-insights-events): Get a unified event stream and have it piped directly into your data infrastructure.
* Enable [Advanced Voice Insights features](/docs/voice/voice-insights/advanced-features) and the [Voice Insights Intelligent Discovery AI Assistant](/docs/voice/voice-insights/voice-insights-intelligent-discovery-ai-assistant) for more nuanced insights.

**Track usage, costs, and application health**: Monitor usage and costs in the Console, through the API, or with Datadog, and set up alarms for application errors.

* [Track usage, costs, and application health](/docs/voice/guides/track-usage-costs-health): Monitor usage and costs in the Console, through the API, or with Datadog, and set up alarms for application errors.
