Swaps to LK init (#53)
* lk init * Wrap manual setup in collapsed section Address review feedback by wrapping the alternative manual setup instructions in a <details> collapsed section, keeping the recommended CLI path front and center. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -49,6 +49,18 @@ The project includes a complete [AGENTS.md](AGENTS.md) file for these assistants
|
|||||||
|
|
||||||
## Dev Setup
|
## Dev Setup
|
||||||
|
|
||||||
|
Create a project from this template with the LiveKit CLI (recommended):
|
||||||
|
|
||||||
|
```bash
|
||||||
|
lk cloud auth
|
||||||
|
lk agent init my-agent --template agent-starter-python
|
||||||
|
```
|
||||||
|
|
||||||
|
The CLI clones the template and configures your environment. Then follow the rest of this guide from [Run the agent](#run-the-agent).
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Alternative: manual setup without the CLI</summary>
|
||||||
|
|
||||||
Clone the repository and install dependencies to a virtual environment:
|
Clone the repository and install dependencies to a virtual environment:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
@@ -69,6 +81,8 @@ lk cloud auth
|
|||||||
lk app env -w -d .env.local
|
lk app env -w -d .env.local
|
||||||
```
|
```
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
## Run the agent
|
## Run the agent
|
||||||
|
|
||||||
Before your first run, you must download certain models such as [Silero VAD](https://docs.livekit.io/agents/build/turns/vad/) and the [LiveKit turn detector](https://docs.livekit.io/agents/build/turns/turn-detector/):
|
Before your first run, you must download certain models such as [Silero VAD](https://docs.livekit.io/agents/build/turns/vad/) and the [LiveKit turn detector](https://docs.livekit.io/agents/build/turns/turn-detector/):
|
||||||
|
|||||||
Reference in New Issue
Block a user