thousands-football-71253
11/25/2025, 6:21 AMtall-airline-16756
11/25/2025, 6:21 AMtall-airline-16756
11/25/2025, 6:21 AMlk agent CLI (shown in your lk help) can be used with a self‑hosted LiveKit instance.
Short answer: No — the lk agent commands are for LiveKit Cloud's managed Agent infrastructure and are not usable against a self‑hosted LiveKit server.
What you can do in self‑hosted environments:
• Run agents yourself using the LiveKit Agents framework (e.g., agents-js or livekit-agents in Python).
• Connect those agent processes to your self‑hosted LiveKit server (agents join rooms over WebSocket and process jobs).
• Deploy, monitor, and scale agents with your own infrastructure (Docker, Kubernetes, health checks, logs, metrics, etc.).
• Continue to use the lk CLI for other features (rooms, tokens, egress, SIP, etc.) by pointing --url to your server.
If you want, tell me:
• Which Agents SDK (Node/Python) you plan to use, and
• How you plan to deploy (local Docker, Kubernetes, etc.),
and I’ll outline the next steps for deploying and connecting agents to your self‑hosted LiveKit.
Sources: Agent deployment CLI reference | LiveKit docs | Aggregated LiveKit Platform | livekit/livekit_composite | DeepWiki | Deploying to custom environments | LiveKit Docs | SIP Integration & Telephony | livekit/livekit_composite | DeepWiki | LiveKit Pricingthousands-football-71253
11/25/2025, 6:22 AMtall-airline-16756
11/25/2025, 6:23 AMlk agent CLI로 현재 떠있는 워커를 조회할 수 없습니다. 대신 아래 방법으로 실행 중인 에이전트(워커)를 확인하고 모니터링할 수 있습니다.
가능한 방법:
• 도커: `docker ps`로 컨테이너 확인 및 `docker logs <container>`로 로그 조회.
• 프로세스: ps aux | grep agent 또는 서비스로 실행하면 systemctl status <agent-service>.
• 쿠버네티스: kubectl get pods, `kubectl logs <pod>`로 파드 상태와 로그 확인.
• 헬스 체크 엔드포인트: 에이전트가 노출한 liveness/readiness HTTP 엔드포인트를 주기적으로 폴링.
• 로그 수집: Fluentd/ELK/Loki 등으로 에이전트 로그 집계해 동작 여부와 오류 추적.
• 메트릭/트레이싱: 에이전트에서 Prometheus 메트릭이나 OpenTelemetry를 내보내면 Grafana/Jaeger 등으로 관찰 가능.
• 애플리케이션 레벨: 에이전트 코드에서 활성 작업 수(active_jobs 등)나 상태를 노출하는 엔드포인트를 추가해 조회.
원하시면 다음 중 어떤 걸 사용할지 알려주세요:
• 사용하려는 Agents SDK (Node / Python)
• 배포 방식 (로컬 Docker / Docker Compose / Kubernetes / systemd 등)
선택하신 환경에 맞춰 구체적인 명령어와 예시(kubectl/docker 명령, 권장 메트릭 항목, 간단한 헬스 체크 엔드포인트 구현 예)를 제공해 드리겠습니다.
Sources: Agent deployment CLI reference | LiveKit docs | Deploying to custom environments | LiveKit Docs | Log collection | LiveKit Docs | Agent server options | LiveKit docs | Observability data hooks | LiveKit docs