Create and manage intelligent multilingual AI assistants.
ar
is currently not available in Agents.prompt
you set above is used as the system prompt for a GPT-4o
model, which generates the
responses.
These responses are then converted to audio using Neuphonic’s TTS and played back to you.
You can keep the conversation going for as long as you want!
After creating an agent with client.agents.create
, you can access and manage it in the
Voice Agents dashboard. The returned agent_id
allows you to
reuse this agent configuration across multiple sessions or applications. You can also modify the agent’s
prompt, greeting, and other settings directly through the dashboard interface for quick iterations
without changing your code.
Agent
interface described above utilizes a WebSocket connection to facilitate real-time audio
streaming between your microphone and the server.
The server processes this audio and sends back responses, which can be categorized into the following
types:
Agent
class, by default, plays audio_response
messages and prints llm_response
and
user_transcript
messages to the console. To add custom behavior, you can attach a custom event handler
which perform extra actions on each event, as shown below.
prompt
and greeting
because they can be quite lengthy,
especially for complex agents with extensive system prompts.
The following request will return all details for the specified agent_id
.