Building agents
The core building blocks — sessions, agents, tools, models, turns.
Everything you need to build an agent, one capability per page. Each page is self-contained: what the piece is, how to use it with code, and a link to the Reference for exhaustive API. Start at the top; later pages build on earlier ones.
Agent sessions
The runtime that drives one conversation: build it, start it, observe it.
Agents & handoffs
The persona, per-agent models, lifecycle hooks, and transferring control.
Tasks & sub-agents
Delegate a bounded job to a typed sub-agent and resume.
Tools
Typed function tools with schema-from-types, toolsets, and per-reply scoping.
Models & providers
STT/LLM/TTS/VAD interfaces, model-spec strings, and provider plugins.
Turn detection & interruption
Endpointing, barge-in, and false-interruption handling.
Speech & the turn
How a turn flows, and steering a single reply.
Chat context & history
The shared conversation history: read it, seed it.