What is an agent?
An agent is a complete voice persona. When you create one with just a name, it is immediately usable — OneInbox automatically sets up a default LLM, a default voice, and a default system prompt. You only need to change these if you want to customise them.| Component | Default | Change it when… |
|---|---|---|
| LLM (AI brain) | Auto-created with a general system prompt | You want a specific persona, script, or temperature |
| Voice | Default voice pre-configured | You want a specific voice from ElevenLabs or Cartesia |
| System prompt | General-purpose assistant | You want the agent to follow specific instructions or scripts |
| Language | en | You need the agent to transcribe a different language |
| Tools | None | You want the agent to take actions (SMS, transfer, capture data) |
Create an agent
You have two options — create with defaults and customise later, or provide your own config upfront. Both produce a fully working agent.Option A — Create with defaults
Just a name. OneInbox automatically creates a default LLM, voice, and system prompt. Customise later using thellm_id and agent_id from the response.
Option B — Create with your own config
Pass any fields you want configured from the start. All fields exceptname are optional.
llm_id in the response is the auto-created AI model. Use it to set the system prompt, attach tools, or link knowledge bases — regardless of which option you used.
Your agent is ready immediately. Test it with a web call — no phone number needed:
Customise the defaults
Out of the box the agent works with a general-purpose system prompt, a default voice, and a default LLM. To give your agent a specific personality or script, update the LLM model using thellm_id from the create response:
{ "llm_id": "llm_xyz789" }. Update the model once and all agents using it pick up the change.
Give your agent tools
Tools (send SMS, capture caller data, transfer calls, book meetings, etc.) are attached to the LLM model, not the agent directly. Why: the LLM model is what decides what to do during a conversation. Tools are the actions it can take — so they live there. Any agent using that model inherits all its tools automatically. To add a tool, first create it, then attach it to thellm_id from your agent:
Key agent fields
| Field | Default | What it controls |
|---|---|---|
first_message | — | First thing the agent says when a call connects. Keep it under 2 sentences |
language | en | Transcription language. Set at the agent level — { "language": "ar" } |
silence_timeout_seconds | 10 | Seconds of silence before the call ends |
max_duration_seconds | 600 | Hard cap on call length |
interruption_sensitivity | 0.6 | How easily the caller can interrupt (0.0 = hard, 1.0 = very easy) |
enable_recording | false | Set true to get recording_url in the call record after the call ends |
voicemail_detection | false | Detect voicemail greetings on outbound calls |
voicemail_message | — | What the agent says if voicemail is detected |
Updating an agent
Update any field on an agent at any time. Changes take effect on the next call — active calls in progress are not affected.Manage agents
List all agents
Retrieve all agents in your account. Use this to find anagent_id or llm_id you need for other operations.
Get a specific agent
Fetch a single agent’s full config — includingllm_id, language, voice settings, and all behaviour fields.
Delete an agent
Permanently removes the agent. If the agent is assigned to a phone number, reassign the number to a different agent first, then delete.Next steps
Tools
Give your agent actions — SMS, email, data capture, transfer
Phone calls
Make real outbound calls with a registered phone number
Call outcomes
How calls are classified and how to read results
Voices
Browse available voices and configure TTS