Agent-readable docs index: /docs/llms.txt. Full docs in one file: /docs/llms-full.txt. Download /docs/docs.zip to grep all markdown files locally.

Sessions

Every call gets a short-lived session token. The browser sends microphone audio and receives the agent's audio plus typed events.

Connect options

ts
const session = await LiveVoice.connect({ token, prompt, conversation, tools, });
Application code describes the experience rather than selecting or coordinating individual speech services.

Lifecycle

  • session.stop() asks the runtime to end the active session.
  • session.dispose() closes local resources and removes listeners.
  • A page should call both during teardown.