LiveKit Agent Framework 学習ロードマップ

目標: LiveKitのことなら俺に聞いてくれ状態のスペシャリストになるためのガチ学習。 環境前提: ローカルPython → LiveKit Cloud(Langfuse observability)

ドキュメント参照元: LiveKit Agents Documentation


設計思想

概要 → 詳細のブレイクダウン形式。各Phaseで「大きな絵」を掴んでから細部へ。

Phase 0: 基礎概念      → LiveKitとは何か
Phase 1: 概念モデル    → Room/Participant/Track/Agent
Phase 2: 全体像        → Agentsフレームワークの俯瞰
Phase 3: インフラ層    → Worker/Job/Dispatchの仕組み
Phase 4: 実装層        → Session/Logic/Tools/Nodesのコア
Phase 5: モデル層      → STT/LLM/TTS/Realtimeの選択と設定
Phase 6: 本番運用      → Deploy/Observability/Langfuse
Phase 7: フロント層    → RoomIO/カメラ/画面共有/ByteStreams(実装時に参照)

凡例

  • ⬜ 未着手
  • 🔄 進行中
  • ✅ 完了

Phase 0: LiveKit基礎概念(概要を掴む)

ステータスドキュメントURLノート
LiveKit Basics Overviewhttps://docs.livekit.io/intro/basics/LiveKit Basics Overview

Phase 1: 概念モデル(コアの構成要素)

ステータスドキュメントURLノート
Rooms, Participants, and Trackshttps://docs.livekit.io/intro/basics/rooms-participants-tracks/Rooms, Participants, and Tracks

Phase 2: Agentsフレームワーク全体像(俯瞰)


Phase 3: Agent Server(インフラ層)


Phase 4: Logic & Structure(コア実装層)


Phase 4.5: Sample Code Deep Dive(実装読解)

Agent設計の理解をコードへ落とし込むため、実運用に近いサンプルを段階的に読む。


Phase 5: Models(モデル選択・設定)


Phase 6: Deploy & Observe(本番運用)

ステータスドキュメントURLノート
Agent Deployment Overviewhttps://docs.livekit.io/deploy/agents/-
Observability Overviewhttps://docs.livekit.io/deploy/observability/-
Agent Insights(LiveKit Cloud)https://docs.livekit.io/deploy/observability/insights/-
Data Hooks & OpenTelemetry(Langfuse)https://docs.livekit.io/deploy/observability/data/-

Phase 7: フロントエンド実装(Transport 層)

エージェント実装後、実際にフロントと繋ぐ際に必要な知識。


次にやること

Phase 4(Logic & Structure コア実装層)へ移行。

次のドキュメント: Tool Definition & Usehttps://docs.livekit.io/agents/logic/tools/


作成済みノート一覧

作成日フェーズノートタイプタイトル
2026-02-28-SourceNoteLiveKit Agents Documentation
2026-02-28-StructureNoteこのノート
2026-02-28Phase 0LiteratureNoteLiveKit Basics Overview
2026-02-28Phase 1LiteratureNoteRooms, Participants, and Tracks
2026-02-28Phase 1LiteratureNoteWebhooks and Events
2026-02-28Phase 2LiteratureNoteAgents Framework Introduction
2026-03-01Phase 2LiteratureNoteVoice AI Quickstart
2026-03-01Phase 2LiteratureNoteText and Transcriptions
2026-03-01Phase 2LiteratureNoteAgent Speech and Audio
2026-03-02Phase 2LiteratureNoteVision
2026-03-03Phase 3LiteratureNoteServer Lifecycle
2026-03-05Phase 3LiteratureNoteJob Lifecycle
2026-03-05Phase 3LiteratureNoteAgent Dispatch
2026-03-06Phase 3LiteratureNoteServer Startup Modes
2026-03-07Phase 4LiteratureNoteLogic and Structure Overview
2026-03-07Phase 4LiteratureNoteAgent Session
2026-03-07Phase 4LiteratureNoteRoomIO (Agent Session Context)
2026-03-08Phase 4LiteratureNoteWorkflows
2026-03-09Phase 4LiteratureNoteAgents and handoffs
2026-03-10Phase 4LiteratureNoteTasks and Task Groups