Skip to main content
An agent’s region is where its conversations run: the worker that holds the call, and the regional gateway its Listen, Think, and Speak requests go through. The agent’s region field holds the agent region code. For why the region matters, see Regions.

Agent region codes

Agent region codes are not the same as the gateway codes in the speech and Context Router base URLs. SLNG Managed agent regions reuse the gateway code, except us-east-slng. LiveKit Cloud agent regions have codes of their own.
  • SLNG Managed: the agent runs on SLNG infrastructure in that region, with LiveKit or Pipecat as the runtime.
  • LiveKit Cloud: the agent runs on LiveKit Cloud, with LiveKit as the runtime.
LiveKit Cloud’s regions end in -livekit: us-east-livekit is the LiveKit Cloud option in the United States and us-east-slng is the SLNG Managed one. ap-south-livekit (LiveKit Cloud) and in (SLNG Managed) are likewise two different India options. LiveKit Cloud’s codes before the suffix (us-east, eu-central, ap-south) fail with 422 AGENT_REGION_RENAMED, and the error names the new code.
To list the agent regions your organisation can use, call GET /v1/agents/regions with your API key. Each row is one region and runtime, with its hosting and the place its agents run in. A tool that builds agents can read the codes there instead of keeping its own list. Filter with orchestrator or world_part.
Request
Response

How an agent gets its region

The region and the runtime (orchestrator, livekit or pipecat) together pick the worker connection the agent runs on. Both runtimes use the same models, so the models you can pick depend on the region and language, not on the runtime.
On the Configure your project step, pick where the project lives under Region, and the runtime under Orchestrator. Region lists the gateway regions in Region availability. A place where no agent of the selected runtime runs is listed but unavailable.SLNG then places the agent in an agent region at that place. The agent’s region in the Agents API shows which one it got.
An agent keeps the connection it has while that connection still runs its runtime in its region. Saving other changes does not move it, and neither does SLNG changing a region’s default connection.

Change an agent’s region

Move the agent’s project to change where future calls run.
  1. Open the project and go to Project settings.
  2. Pick another place in Region. A place where no agent of the project’s runtime runs is listed but unavailable.
  3. Confirm the move.
The agent moves to an agent region at the new place, with its model configuration. The project’s API keys work only at the new region’s endpoints from then on. Future calls run in the new region, and calls in progress in the old one may drop.Changing Orchestrator in the same screen moves the agent to a connection for that runtime at the same place.
Before you move an agent, check two things at the new region:
  • Models and voices. Query the catalog API with the new agent_region and the agent’s language.
  • Phone connections. A connection serves agents in its own region only. See Telephony.

Agent region and model hosting

An agent’s region and the place a model is hosted can differ. A model can be available to an agent in one region while its deployment runs in another. Use the catalog’s region fields when a model must run in a specific place.

Next steps

Find models for an agent

List the models and voices for an agent region and language.

Create an agent

Set the region, runtime, and models in one flow.