how to run agent deployed on livekit cloud i want ...
# ask-ai
n
how to run agent deployed on livekit cloud i want to run it in sandbox
✅ 1
t
Thanks for reaching out, Sajjad. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks — I’m responding to your question about running an agent deployed on LiveKit Cloud in the sandbox. You can test a deployed production agent using the LiveKit Cloud Sandbox test frontend: • Open Agent Builder for your agent and click Test Agent in the top-right. • If Test Agent is missing, choose Regenerate test app from the dropdown to create the test frontend. • The test frontend gives a public URL you can use to interact with and share the agent. • Additional options live in your project’s Sandbox settings (Project > Sandbox). If you don’t see Agent Builder or the Sandbox options, tell me: • which project and agent you’re working with (names/IDs), and • whether you’re in the Cloud console or using a local Agent Builder—then I’ll give step-by-step guidance. For reference: https://docs.livekit.io/agents/start/builder/ Sources: Agent Builder | LiveKit Documentation | Debug voice agents in real time with Agent Console | LiveKit | Debug voice agents in real time with Agent Console | LiveKit, with interactive elements
n
image.png
t
Thanks — I’m responding to your question about running a deployed agent in the LiveKit Cloud Sandbox (I can see your project “suno_app” on the Sandbox settings page). Here’s how to run/test a deployed agent in the Sandbox: 1. Open Agent Builder for the agent you deployed. 2. In the top-right of Agent Builder click Test Agent. ◦ If Test Agent is not present, open the dropdown and choose Regenerate test app to create the sandbox test frontend. 1. Use the public test frontend URL that appears to interact with the agent or share with testers. 2. Optional: adjust sandbox behavior in Project > Sandbox settings (you’re already on that page) or use the agent’s deployment preview links shown in the Agents list. Quick question to finish: which agent (name or ID) are you trying to test, and do you see a Test Agent button in Agent Builder or only the empty Sandbox apps card in your screenshot? I’ll give exact next steps based on your answer. , with interactive elements
n
where please guide me clearly
t
Got it — I’ll walk you through exact clicks. I’m assuming you’re on the LiveKit Cloud web console and see the Sandbox settings for project “suno_app.” If not, tell me and I’ll adjust. 1. From the LiveKit dashboard, open the left sidebar and click Agents. 2. Find the agent you deployed in the Agents list and click it to open Agent Builder. 3. In Agent Builder, look to the top-right of the page and click Test Agent. ◦ If you do not see Test Agent, click the dropdown next to it and choose Regenerate test app. 1. After clicking Test Agent (or after regeneration), a test frontend will open or a public test URL will be shown. Copy or open that URL to interact with your agent in the sandbox. 2. Optional: In your project, go to Settings → Sandbox (you already have this open) to review sandbox options or token server URL if needed. Please tell me: • the agent name (or ID) you want to test, and • whether you see the Test Agent button in Agent Builder or only the empty Sandbox apps card in your screenshot. I’ll give the exact next click or paste the test URL steps once you confirm. , with interactive elements
n
image.png
t
Thanks — I’ll guide you step‑by‑step to run your deployed agent (voice_assistant, ID CA_yHhkeM6FMiso) in the sandbox. 1. In the LiveKit Cloud console left sidebar click Agents. 2. From the Agents list open the agent named voice_assistant (you’re already on CA_yHhkeM6FMiso). 3. On the agent page, click Test in Console (top-right). ◦ If nothing opens, try the Auto-refresh / browser popup blocker — allow popups for cloud.livekit.io. 1. If you instead land in Agent Builder, look top-right for Test Agent. Click it. ◦ If Test Agent is missing, open the dropdown next to it and choose Regenerate test app. After regeneration, click Test Agent. 1. A sandbox test frontend or public test URL will open. Use that URL to interact with the agent or share it with testers. If you don’t see Test in Console or Test Agent, tell me which of these you see (buttons present, nothing happens, or an empty Sandbox apps card) and whether popups are blocked; I’ll give the exact next click or a fix. , with interactive elements
n
the agent is working in console
t
Great — since the agent is working in the console, you can open the sandbox test frontend now. Would you like me to: • provide the sandbox test URL for this agent, or • walk you through sharing the test frontend with others (permissions and copy link)? Tell me which and I’ll give the exact steps. , with interactive elements
n
i want to connect using a web page by creating in sand box
t
You're on the right track — here's a concise, concrete set of steps to connect your deployed agent (voice_assistant, CA_yHhkeM6FMiso) to a web page via Sandbox. 1. Open the LiveKit Cloud console → Agents → open your agent (voice_assistant). 2. Click Test in Console (top-right). If you land in Agent Builder instead, click Test Agent. ◦ If Test Agent is missing: use the dropdown → Regenerate test app, then click Test Agent. 1. Copy the public Sandbox test URL that opens. This URL is the sandbox frontend for your deployed agent. 2. To embed that URL in a simple web page, use an iframe or open it in a new tab:
Copy code
<!-- iframe embed -->
<iframe src="PASTE_YOUR_SANDBOX_URL_HERE" style="width:100%;height:100vh;border:0;"></iframe>
1. If you prefer a custom web client using LiveKit SDK instead of the provided sandbox frontend: ◦ Get your token server URL from Project → Settings → Sandbox (or Project settings token server link shown in the Sandbox banner). ◦ Use that token server to request a LiveKit join token, then connect with the LiveKit Web SDK. I can provide a minimal SDK example if you want. Tell me which option you want now: • "iframe" — I’ll confirm the exact sandbox URL placement steps, or • "custom SDK" — I’ll send a short LiveKit Web SDK example and how to use your token server., with interactive elements
n
image.png
t
You're on the right modal — I'll walk you through creating the web voice agent sandbox and embedding it in a webpage. 1. In the LiveKit Cloud console open Agents → your agent → click Test in Console or Create web voice agent to open the modal you showed. 2. In the modal: ◦ Enter a Hosted URL name (or leave blank to auto-generate). The final URL will be: https://YOUR_NAME.xxxxx.sandbox.livekit.io • Enable capabilities you want (Camera, Chat, Screen share). • Keep Audio buffer checked if you want faster perceived connection. • Optionally expand Optional configuration or Appearance configuration to set extra options. • Click Create. 1. After creation you’ll get the sandbox hosted URL. Open it to confirm the agent connects and works in the web frontend. 2. To embed that sandbox page in your own webpage, use an iframe:
Copy code
<iframe src="https://YOUR_NAME.xxxxx.sandbox.livekit.io" style="width:100%;height:100vh;border:0;"></iframe>
1. If you prefer building a custom client using the LiveKit Web SDK instead of the sandbox UI: ◦ Get your token server URL from Project → Settings → Sandbox (banner or Project settings). ◦ Use that server to request a join token and connect with the LiveKit Web SDK. I can paste a minimal SDK example if you want. Tell me which you want now: • "iframe" — I’ll confirm any URL specifics for your agent, or • "custom SDK" — I’ll give the minimal Web SDK token + connect snippet., with interactive elements