handsome-easter-5670
06/26/2025, 1:58 AMtall-airline-16756
06/26/2025, 1:58 AMtall-airline-16756
06/26/2025, 1:58 AMhandsome-easter-5670
06/26/2025, 1:59 AMtall-airline-16756
06/26/2025, 1:59 AMhandsome-easter-5670
06/26/2025, 1:59 AMtall-airline-16756
06/26/2025, 1:59 AMLIVEKIT_URL
⦠LIVEKIT_API_KEY
⦠LIVEKIT_API_SECRET
⦠Any extra API keys you might need (like OPENAI_API_KEY
)
1. Ready to start your worker and wait for connections? Just run: node my_agent.js start
2. If you're in development and want those nice, colorful debug logs, use: node my_agent.js dev
3. Want to jump into a specific LiveKit room that's already going? No problem! Try: node my_agent.ts connect --room <my-room>
Got any questions? I'm here to help! Don't hesitate to reach out if something isn't crystal clear. šhandsome-easter-5670
06/26/2025, 2:00 AMtall-airline-16756
06/26/2025, 2:01 AMpython agent.py console
Console mode is awesome for getting a quick feel for how your agent works. Here's what you can expect:
⢠You'll chat directly in the terminal using your local audio setup - how cool is that?
⢠Feel free to switch between Text and Audio modes anytime by hitting Ctrl+B.
⢠When you're done, just press Q to exit.
⢠The best part? It runs completely locally, so no complicated server setup needed!
Need any help getting started? I'm right here to help! š Sources: Voice AI quickstart | LiveKit Docs | GitHub::livekit::agents | livekit-agents/livekit/agents/cli/cli.pyhandsome-easter-5670
06/26/2025, 2:01 AMtall-airline-16756
06/26/2025, 2:02 AMpython agent.py console
Want to get a bit more specific? No problem! You can add some extra details like this:
python agent.py console --url [LIVEKIT_URL] --api-key [LIVEKIT_API_KEY] --api-secret [LIVEKIT_API_SECRET]
Pro tip: You can also set these up using environment variables if that's more your style:
⢠LIVEKIT_URL
⢠LIVEKIT_API_KEY
⢠LIVEKIT_API_SECRET
Quick console mode shortcuts to remember:
⢠Press Ctrl+B to switch between Text/Audio mode ā how cool is that?
⢠Press Q to quit whenever you're done.
Got any questions? I'm totally here to help! Just give me a shout if you need anything else. š Sources: Voice AI quickstart | LiveKit Docs | GitHub::livekit::agents | livekit-agents/livekit/agents/cli/_run.py