Create your first agent
Updated
Create, test, and deploy your first AI voice agent in Agent Studio in minutes.
Preview documentation
This page guides you through creating, testing, and deploying your first AI voice agent in the Agent Studio Preview. In less than 10 minutes, you have a working agent that you can speak to in the browser. No telephony setup is required.
Create an agent
To create your first agent:
-
Select your project from the project selector at the top of the page. The agent uses this project's credentials to connect to Agora, and Agora bills the usage to this project.
-
In the navigation sidebar, select Agents.
-
Select Create agent.
-
Enter a name for your agent, or keep the generated name.
-
Under Deployment type, select API.
-
Select Create agent.
The agent editor opens with a default system prompt and pre-configured models.
Configure your agent
The agent editor is a single page with a list of sections. For the quickstart, you only need to review the System prompt and Voice & models sections. Your changes save automatically.
Review the prompt
The System prompt section contains the base instructions that shape how your agent thinks, speaks, and escalates. To start from a prompt for a common use case, select one from the Template menu.
To review what the agent says first, select Edit greeting and failure message:
- Greeting: The first message the agent speaks when the conversation starts. For example,
Hello! How can I help you today? - Failure message: The message the agent speaks when the LLM fails to produce a response.
Review selected models
Models determine which ASR, LLM, and TTS services your agent uses to process speech, generate responses, and synthesize voice output.
In the Voice & models section, review the selected models. Use the default values to create your first agent.
The default models are provided by Agora, which means you don't need an API key from each vendor. For details, see Pricing. To use your own API key or a vendor that Agora doesn't provide, see Bring your own key.
Test the agent
To talk to your agent:
- In the Test agent panel, select Start test.
- Allow microphone access when prompted.
- Speak to the agent to verify that it responds correctly.
- Select End test to stop the session.
Always select End test to stop a test. Closing the Test agent panel only releases your browser's audio.
For guidance on what to test and how to troubleshoot issues, see Test your agent.
Deploy the agent
To make your API agent live:
-
Select Deploy agent. A confirmation dialog opens.
-
Read the message, then select Deploy changes.
The agent's status changes from Draft to Live, and its overview page opens.
Next steps
You now have a live voice agent. From here you can:
- Customize your agent: Configure models, prompts, and advanced settings for your use case.
- Bring your own key: Use your own provider API keys and access more vendors.
- Connect your agent: Start a session from your app.
- Deploy an inbound agent: Create an agent that answers calls to your phone number.
- Deploy an outbound agent: Create an agent that calls your contacts.
