Quick Start
Prerequisites
- Node.js 22+
pnpm(recommended; repo uses pnpm lockfile)- API key for your provider:
- Gemini:
GEMINI_API_KEY - OpenAI Realtime:
OPENAI_API_KEY
- Gemini:
Install
bash
pnpm installStart an example agent
bash
export GEMINI_API_KEY="your-key"
pnpm tsx examples/hello_world/agent.tsOr on OpenAI Realtime (its image/video subagents also use GEMINI_API_KEY):
bash
export OPENAI_API_KEY="your-key"
pnpm tsx examples/hello_world/openai-realtime-tools.tsThe agent listens on ws://localhost:9900.
Talk to it
bash
pnpm web-clientThen open http://localhost:8080 and click Connect. See Running the Examples for more demos.
Docs site
bash
pnpm docs:devThen open http://localhost:5173/bodhi_realtime_agent/.