There's a bunch of instructions here, but it's all fairly straightforward. The agents are slightly modified from the fast agent example to explicitly have separate names and run on different ports. This will be more automated in a future release, but for now the tweaks are to get things to work.
These commands will install LiveKit server on your machine and run it in dev mode. Dev mode uses a specific API key and secret pair.
brew install livekitlivekit-server -dev
Usually you'd run the agent(s) first and then start a session and the agent(s) would automatically join. Turns out that isn't how it works for multi-agent at the moment. So what we're going to do is have the human join the meeting first, and then explicitly have the agents join the room.
cd meetpnpm icp .env.example .env.localpnpm dev- open
localhost:3000in a browser and click 'Start Meeting' - note the room name in your browser address bar:
http://localhost:3000/rooms/<room-name>
cd agent-1python -m venv .venvsource .venv/bin/activatepip install -r requirements.txtcp .env.example .env- add values for keys in
.env python main.py connect --room <room-name>
cd agent-2python -m venv .venvsource .venv/bin/activatepip install -r requirements.txtcp ../agent-1/.env .python main.py connect --room <room-name>