This is an example client (forked from https://chat.vercel.ai/ and server-side LiveKit agent that uses data channels instead of HTTP streaming for transferring chat data back and forth.
cd server
cp .env.example .env
- populate real values in
.env
python -m venv .venv
pip install -r requirements.txt
python agent.py start
NOTE: if you run into issues running pnpm
commands because of a version mismatch, run the following first:
export COREPACK_ENABLE_STRICT=0
cd client
cp .env.example .env.local
- populate real values in
.env.local
pnpm i
pnpm dev
- navigate to
localhost:3000