Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt

Use this file to discover all available pages before exploring further.

Same commands as LiveKit Cloud. lk agent deploy uploads your code, builds a container image on Telnyx’s build service, and deploys the worker.
First time deploying? Complete Quickstart β€” Step 1 to configure your CLI and register with the platform.

1. Create your agent

lk agent create .
Registers the agent and writes the agent ID to livekit.toml. Skip this if you’ve already created the agent.

2. Deploy

lk agent deploy . --secrets TELNYX_API_KEY=$TELNYX_API_KEY
Subsequent deploys roll out a new version.

3. Check status

lk agent list

4. Tail logs

lk agent logs --id <AGENT_ID>
For build logs:
lk agent logs --id <AGENT_ID> --log-type build

5. Update secrets

Add or update secrets on a running agent:
lk agent update-secrets <AGENT_ID> --secrets "OPENAI_API_KEY=<your-key>"

6. Rollback

lk agent rollback <AGENT_ID>

What gets auto-injected

The platform injects these into your agent’s environment at runtime β€” you don’t need to set them manually:
  • LIVEKIT_URL
  • LIVEKIT_API_KEY β€” your Telnyx API key
  • LIVEKIT_API_SECRET

More

  • Secrets β€” Managing API keys and sensitive config
  • Configuration β€” Regions, multi-agent projects, env vars
  • Management β€” What Telnyx manages vs. what you control