Skip to main content

Agents

An agent is the conversation profile that callers experience. It holds the instructions the model follows, the tools it may use, the turn detection that decides when a caller has finished, the call policy that limits each call, and the pipeline that supplies its hearing and voice. Routes select an agent for inbound calls, and the Agents page can start an outbound call with an agent directly.

Agent settings​

SettingWhat it does
NameIdentifies the agent in routes and call records. Choose a name that states the purpose and the audience, such as "Support line" or "Appointment reminders".
DescriptionOptional context for other operators. It does not affect the call.
StatusActive agents accept new calls. Disabled agents keep their configuration but take no new calls; disabling is safer than deleting when you want to pause a service.
Pipeline configurationThe voice stack that supplies hearing and voice. An agent uses one pipeline at a time; changing it changes the provider, model, and voice for the agent's next call, but not its tools, turn detection, or call limits. Existing calls are not affected. Remote party handling on outbound routes requires a cascaded pipeline.
Welcome messageThe greeting delivered at the start of the call.
Conversation starts withAgent speaks first; Wait for human waits for the caller to speak.
PromptThe agent's instruction set: role, audience, tone, topics, and boundaries.
VariablesNamed values delivered with the session, stored with the configuration.

If the pipeline list is empty, create a pipeline first.

Welcome message and conversation starter​

The welcome message should identify the service, set an expectation, and invite the caller to continue. A short greeting is easier to understand on a telephone line than a long introduction, and it should not promise something the agent cannot do.

Wait for human is a better fit for support lines where the caller expects to explain the problem, or for numbers where callers may be confused by an immediate greeting. With Agent, the agent speaks first and starts the conversation.

Prompt​

Describe the role, the audience, the tone, the language, the topics it may discuss, the topics it must avoid, how it should handle uncertainty, and when it should transfer or end the call. Good prompts give judgment and boundaries rather than a word-for-word script. State what the agent should do when it does not know, because that is the moment callers notice most. Keep operational wiring out of the prompt: provider models belong on provider configurations, phone lines belong on trunks and routes, and external actions belong to tools.

Variables​

Use variables for values that change between deployments, such as a store identifier, a queue name, a brand term, or a support hours string. Variables keep the prompt reusable across tenants or environments without duplicating the whole instruction set. Names must be valid identifiers, values are stored with the configuration, and secrets should not be placed here because variables are not a credential store.

Built-in turn detection​

Turn detection controls when the agent decides the caller has started or stopped speaking. VAD runs in the voice runtime; it needs no provider or credential. The runtime also uses Smart Turn to decide whether the caller has finished a thought, so a short silence does not close the turn when the sentence is still incomplete.

SettingWhat it does
ConfidenceHow sure the detector must be that speech has started before it reacts.
Start secondsHow much speech must accumulate before the turn opens.
Stop secondsHow much silence must follow before the turn closes.
Minimum volumeVolume below this level is treated as background noise.

The defaults are a good starting point for telephone audio. Lower confidence or shorter start times make the agent more eager and can cause it to interrupt; higher values make it more patient but can make it feel slow. Stop seconds that are too short cut callers off mid-thought, while values that are too long add dead air after every sentence.

Call policy​

The call policy sets limits for calls that run this agent. Leave a field empty when you do not want that limit.

SettingWhat it does
Max duration (seconds)Ends the call after the configured number of seconds regardless of activity. Useful for cost control and for services that should hand off after a fixed window.
Idle timeout (seconds)Ends a call that has had no activity for the configured time. Prevents a dropped or abandoned call from holding a bot slot.

Limits are enforced by the runtime, not by the telephone provider, so the call record shows the result.

Call recording is not an agent setting. It is enabled for the tenant in Settings → General and then opted in on each route; see Calls for playback and retention.

Tools​

Tools are assigned to the agent. The list includes platform-managed telephony tools, platform-managed knowledge retrieval tools, custom tools created in the tenant, and the tools of a shared Marketplace connection. Selecting a tool allows the agent to call it; clearing it removes the permission.

ToolWhat it does
End callEnds the current conversation, optionally with a reason.
Transfer callSends the caller to a destination number or SIP address.
Warm transferConsults the destination privately and transfers the caller only after the destination accepts.
Call and joinDials another number into the current call; the agent then leaves or stays silent.
Send DTMFSends keypad digits to the caller or the connected telephone system.
Search knowledgeSearches the allowed knowledge library.
Search knowledge sourceSearches one knowledge source by name.

For either knowledge tool you can restrict retrieval to a subset of knowledge sources; leaving the restriction empty allows every ready knowledge source. Selecting a tool opens the settings that belong to this agent: the destinations it may reach for the transfer and call tools, the announcement and failure message for call-ending tools, the joined-call mode, and the event type for a Marketplace scheduling tool. These settings default to the tool's own wording, so agents that need different phrasing override it without a second tool. Assign only tools that the agent is allowed to use, and review the assignment when the prompt changes.

Configuration history​

Agent configuration is versioned. Each save creates a new version of the instructions, welcome message, conversation starter, and variables, and the next call resolves the latest version. This protects the history of a working prompt and makes it possible to see that a change was made, but it does not replace testing: a prompt that reads well can still behave differently with a real caller and a real provider. Tool assignments, turn detection, and call policy are stored on the agent as well, but they are not part of the versioned prompt history, so review them directly when you compare agents.

Browser test calls​

Use Test call in the agent list to talk to the agent from the browser. The Start browser test calls permission is required; ending the call requires End browser test calls. The call runs in the browser with the agent's pipeline and does not use a phone number, route, or trunk, so it tests the prompt, voice, and tools without touching the telephone configuration. The action is unavailable for a disabled agent, and the agent must have a pipeline.

The browser asks for microphone access. The Console must be served over HTTPS or localhost for the browser to grant it. The call appears in Calls marked as a browser test call, with the usual lifecycle and conversation telemetry. It cannot validate trunk, number, route, or recording settings, because none of them are used.

Outbound calls and reuse​

Use New outbound call to place a call with an agent without leaving the page. Enter the destination number and optionally a caller ID. The agent must have an active outbound route and an outbound trunk, and the call is subject to the same credit and bot capacity rules as an inbound call. The call record shows which route and trunk were selected.

Agents are reusable, so one agent can serve several routes and one route can point to only one agent. When you need different behavior for different audiences, create separate agents rather than adding conditional instructions to one prompt. Separate agents are easier to test, easier to disable, and easier to read in call history. When an agent is no longer used, disable it first, confirm that no active route depends on it, and then delete it if the configuration is no longer useful.

An agent is shared with the workspace by default. A private agent is visible only to its owner and the tenant Owner, and it appears in no other member's list; see Object ownership and sharing.