astonishing-salesclerk-9701
11/28/2025, 2:14 PMtall-airline-16756
11/28/2025, 2:14 PMtall-airline-16756
11/28/2025, 2:14 PMcd /path/to/second-agent-project
1. Authenticate with LiveKit Cloud (if not already):
lk cloud auth
1. Create/register the agent:
lk agent create
• This registers the agent, assigns a unique ID, and creates a livekit.toml if needed.
• Ensure this agent has its own directory or a distinct livekit.toml.
1. (Optional) Use a custom config or region:
lk agent create --config livekit.second-agent.toml --region us-east
1. Verify the agent status:
lk agent status
Or specify the agent ID:
lk agent status --id <agent_id>
1. List all agents in the project:
lk agent list
If you want, tell me the OS and whether you already have a livekit.toml or Dockerfile in that directory and I’ll give any next steps specific to your setup.
Sources: Deploying to production | LiveKit Docs | Agent deployment CLI reference | LiveKit docsastonishing-salesclerk-9701
11/29/2025, 7:56 PMtall-airline-16756
11/29/2025, 7:56 PMlivekit.toml and Dockerfile, for a second agent you need a separate configuration context—either a new directory containing its own livekit.toml (and Dockerfile) or a distinct config file name. Quick steps:
1. Copy the first agent’s directory or files into a new folder:
cp -r /path/to/first-agent /path/to/second-agent
cd /path/to/second-agent
1. Update the second agent’s livekit.toml so it’s unique (name, any agent-specific settings, region if needed). If you use an auto-generated agent ID later, you don’t need to set an ID manually.
2. If the Dockerfile needs differences (ports, env, image name), modify it now.
3. Authenticate if needed:
lk cloud auth
1. Create/register the second agent from that directory:
lk agent create
Or specify a custom config file from any directory:
lk agent create --config /path/to/second-agent/livekit.toml
1. Verify:
lk agent status --id <agent_id>
lk agent list
Notes:
• Each agent should have its own livekit.toml or use --config to point to a different config.
• You can have multiple agents in the same LiveKit Cloud project.
• If you’d like, tell me whether the second agent needs different env vars, ports, or region and I’ll suggest exact livekit.toml changes.