sparse-summer-58707
02/24/2026, 9:18 PMtall-airline-16756
02/24/2026, 9:18 PMtall-airline-16756
02/24/2026, 9:18 PMlk agent init my-custom-agent
1. Build and deploy with the CLI — it will containerize and register the agent with your LiveKit Cloud project:
◦ lk agent create
1. Provide a custom Dockerfile or use the one the CLI generates if you need specific build steps, dependencies, or runtime configuration.
What LiveKit Cloud manages for you:
• Provisioning, load balancing, health checks, transparent failover
• Logging, versioning, rollbacks, and scaling
• Location-aware elastic provisioning
One important note: LiveKit Cloud Agents is currently in closed beta. If you want to join the beta program, you can sign up via the LiveKit Cloud Agents beta form.
If you’d like, I can:
• Walk you through creating an agent project step-by-step,
• Review your Dockerfile or livekit.toml structure if you paste it here,
• Explain how to handle specific dependencies or runtime needs in your custom image.
Which of those would be most helpful right now?
Sources: Building the all-in-one platform for voice AI agents | Examples | livekit/livekit_composite | DeepWiki | Voice AI quickstart | LiveKit Documentation | Agent deployment overview | LiveKit Documentationsparse-summer-58707
02/24/2026, 9:19 PMtall-airline-16756
02/24/2026, 9:19 PMlivekit.toml) so the platform can register and deploy the image with your Cloud project.
• Building & pushing: You can build and push the image to a container registry you control (e.g., Docker Hub, ECR, GCR). Ensure the registry is accessible to LiveKit Cloud or use the deployment flow that references your registry credentials.
• Deploying with the CLI: You can still use lk agent create to register and deploy the agent; the platform will accept your custom image or Dockerfile during that process.
• What LiveKit Cloud still provides: Once deployed, the Cloud handles provisioning, health checks, load balancing, logging, rollbacks, and scaling for your agent instances.
If you want, I can:
• Review a Dockerfile you plan to use (paste it here),
• Show an example Dockerfile layout for an agent,
• Walk through the steps to push an image to a registry and reference it from the LiveKit deployment.
Which would you like next?sparse-summer-58707
02/24/2026, 9:21 PMWalk through the steps to push an image to a registry and reference it from the LiveKit deployment.show me the command to reference a image
tall-airline-16756
02/24/2026, 9:21 PMlk agent create. If you want to use a pre-built image you control, run the agent on your own infrastructure (Docker, Kubernetes, VMs) so the agent process can connect to LiveKit. See Self-hosted deployments: https://docs.livekit.io/agents/ops/deployment/custom/
Step-by-step examples
1) Build and push (example using Docker Hub or other registry)
# Build
docker build -t <http://docker.io/your-username/my-agent:1.0|docker.io/your-username/my-agent:1.0> .
# Push
docker push <http://docker.io/your-username/my-agent:1.0|docker.io/your-username/my-agent:1.0>
Replace <http://docker.io/your-username/my-agent:1.0|docker.io/your-username/my-agent:1.0> with your registry and tag (ECR, GCR, etc. are similar).
2) Run the agent container (registers with LiveKit)
docker run \
-e LIVEKIT_URL="<wss://your-livekit.example>" \
-e LIVEKIT_API_KEY="your-key" \
-e LIVEKIT_API_SECRET="your-secret" \
<http://docker.io/your-username/my-agent:1.0|docker.io/your-username/my-agent:1.0>
Make sure your image starts the AgentServer process as the container entrypoint and uses those env vars to connect.
3) Kubernetes deployment (example snippet)
apiVersion: apps/v1
kind: Deployment
metadata:
name: livekit-agent
spec:
replicas: 2
selector:
matchLabels:
app: livekit-agent
template:
metadata:
labels:
app: livekit-agent
spec:
containers:
- name: agent
image: <http://docker.io/your-username/my-agent:1.0|docker.io/your-username/my-agent:1.0>
env:
- name: LIVEKIT_URL
value: "<wss://your-livekit.example>"
- name: LIVEKIT_API_KEY
value: "your-key"
- name: LIVEKIT_API_SECRET
value: "your-secret"
If you want, I can:
• Review your Dockerfile to confirm the agent entrypoint and env var handling.
• Show commands for authenticating and pushing to a specific registry (ECR, GCR, ACR).
• Help convert your run example into a Helm/Kustomize snippet.
Which of those would you like next?
Sources: Self-hosted deployments | LiveKit Documentation