how to read current env on livekit agent cloud
# ask-ai
t
how to read current env on livekit agent cloud
t
Thanks for reaching out, Quinn. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
To check the current environment on LiveKit Agent Cloud, you have two friendly options: the LiveKit CLI or the LiveKit Cloud dashboard. Let’s walk through both together! Using the LiveKit CLI: • Simply run
lk agent secrets
to see the environment variables set up for your agent. • Try
lk agent status
to get a snapshot of your deployment status and resource usage. • And with
lk agent list
, you can view all the agents in your project. Just make sure you’ve got your authentication ready with
LIVEKIT_API_KEY
,
LIVEKIT_API_SECRET
, and `LIVEKIT_URL`—this helps everything run smoothly. Using the LiveKit Cloud Dashboard: • The dashboard offers a clear, visual overview of your agent’s environment, showing things like session count, current load, and running workers. If you have any questions or want a hand with any of these steps, I’m here to help—just let me know! Sources: Getting Help & Troubleshooting | livekit/livekit_composite | DeepWiki | web/.env.sample | Deploying to custom environments | LiveKit Docs | render/README.md | README.md
t
it only show this lk agent secrets Using project [welle] Using agent [CA_AF96sBaBC53C] ┌───────────┬──────────────────────┬──────────────────────┐ │ Name │ Created At │ Updated At │ ├───────────┼──────────────────────┼──────────────────────┤ │ AGENT_ENV │ 2025-10-07T121459Z │ 2025-10-14T084824Z │
t
Thank you for bringing up the 'AGENT_ENV' variable! It seems like this variable isn’t clearly documented in the resources we have. Could you please let me know if this is something you’ve set up yourself, or if you’ve seen it mentioned somewhere specific, like in documentation, code, or a configuration file? Understanding where it comes from will really help me assist you better and provide the right guidance. Sources: README.md | README.md | Deploying to custom environments | LiveKit Docs | protobufs/livekit_cloud_agent.proto | complex-agents/nova-sonic/nova-sonic-form-agent/.env.example
t
i want to read all env with value but lk agent secrets hide this
t
I’m glad you asked about the
lk agent secrets
command! It shows you the names of the environment variables but, to keep things safe, it doesn’t display their actual values. If you want to access those values, you can do so directly within your agent’s runtime using common programming methods, like these: •
os.getenv("VARIABLE_NAME")
in Python •
process.env.VARIABLE_NAME
in Node.js These values, including important credentials like
LIVEKIT_URL
,
LIVEKIT_API_KEY
, and
LIVEKIT_API_SECRET
, are securely injected when your agent runs. If you’d like, I’m here to help you with any part of this—just let me know! Sources: Getting Help & Troubleshooting | livekit/livekit_composite | DeepWiki | Secrets management | LiveKit Docs