sdk/apps/examples/multi-agent/README.md
A web app that spawns three specialist agents in parallel, streams their responses to the browser in real time via SSE, then feeds their findings into a synthesizer agent that produces a unified answer.
Install dependencies:
bun install
bun run build:sdk
Set an API key:
export CLINE_API_KEY="cline_..."
Run:
bun dev
Open http://localhost:3456 in your browser, enter a topic, and watch the agents work.
Agent instances in parallel via Promise.all:
assistant-text-delta events to the browser via SSE, rendered in its own cardAgent instances concurrently with Promise.allsubscribe() for independent event streamsFor a simpler starting point, see quickstart. For custom tools and structured workflows, see code-review-bot.