You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
# LiveKit Agents Starter - Python
6
6
7
-
A complete starter project for building voice AI apps with [LiveKit Agents for Python](https://github.com/livekit/agents).
7
+
A complete starter project for building voice AI apps with [LiveKit Agents for Python](https://github.com/livekit/agents) and [LiveKit Cloud](https://cloud.livekit.io/).
8
8
9
9
The starter project includes:
10
10
@@ -13,9 +13,9 @@ The starter project includes:
13
13
- Easily integrate your preferred [LLM](https://docs.livekit.io/agents/models/llm/), [STT](https://docs.livekit.io/agents/models/stt/), and [TTS](https://docs.livekit.io/agents/models/tts/) instead, or swap to a realtime model like the [OpenAI Realtime API](https://docs.livekit.io/agents/models/realtime/openai)
14
14
- Eval suite based on the LiveKit Agents [testing & evaluation framework](https://docs.livekit.io/agents/build/testing/)
15
15
-[LiveKit Turn Detector](https://docs.livekit.io/agents/build/turns/turn-detector/) for contextually-aware speaker detection, with multilingual support
- Integrated [metrics and logging](https://docs.livekit.io/agents/build/metrics/)
18
-
- A Dockerfile ready for [deployment to LiveKit Cloud](https://docs.livekit.io/agents/ops/deployment/)
18
+
- A Dockerfile ready for [production deployment](https://docs.livekit.io/agents/ops/deployment/)
19
19
20
20
This starter app is compatible with any [custom web/mobile frontend](https://docs.livekit.io/agents/start/frontend/) or [SIP-based telephony](https://docs.livekit.io/agents/start/telephony/).
21
21
@@ -28,16 +28,17 @@ cd agent-starter-python
28
28
uv sync
29
29
```
30
30
31
-
Set up the environment by copying `.env.example` to `.env.local` and filling in the required values:
31
+
Sign up for [Livekit Cloud](https://cloud.livekit.io/) then set up the environment by copying `.env.example` to `.env.local` and filling in the required keys:
32
32
33
-
-`LIVEKIT_URL`: Use [LiveKit Cloud](https://cloud.livekit.io/) or [run your own](https://docs.livekit.io/home/self-hosting/)
33
+
-`LIVEKIT_URL`
34
34
-`LIVEKIT_API_KEY`
35
35
-`LIVEKIT_API_SECRET`
36
36
37
37
You can load the LiveKit environment automatically using the [LiveKit CLI](https://docs.livekit.io/home/cli/cli-setup):
38
38
39
39
```bash
40
-
lk app env -w .env.local
40
+
lk cloud auth
41
+
lk app env -w -d .env.local
41
42
```
42
43
43
44
## Run the agent
@@ -104,6 +105,10 @@ Once you've started your own project based on this repo, you should:
104
105
105
106
This project is production-ready and includes a working `Dockerfile`. To deploy it to LiveKit Cloud or another environment, see the [deploying to production](https://docs.livekit.io/agents/ops/deployment/) guide.
106
107
108
+
## Self-hosted LiveKit
109
+
110
+
You can also self-host LiveKit instead of using LiveKit Cloud. See the [self-hosting](https://docs.livekit.io/home/self-hosting/) guide for more information. If you choose to self-host, you'll need to also use [model plugins](https://docs.livekit.io/agents/models/#plugins) instead of LiveKit Inference and will need to remove the [LiveKit Cloud noise cancellation](https://docs.livekit.io/home/cloud/noise-cancellation/) plugin.
111
+
107
112
## License
108
113
109
114
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
0 commit comments