Reference
Reference
Exact types, signatures, and options for the agents-go API.
Lookup for the public API. For the why, see Concepts; this section is the what — signatures, fields, and defaults.
AgentSession
Lifecycle, GenerateReply/Say, UpdateAgent, events, and effective models.
Agent
Instructions, tools, per-agent models, and lifecycle hooks.
AgentTask & TaskGroup
Task-scoped agents with typed results and ordered orchestration.
GenerateReplyOptions
Per-reply user input, instructions, tools, and input modality.
TurnOptions
Turn-detection mode, endpointing, interruption, and preemptive generation.
Tools
tool.New, RawTool, Toolset, RunContext, and duplicate-call policy.
Models
The STT, TTS, LLM, and VAD interfaces and capabilities.
Transport
AudioInput/Output, TextOutput, and the transport seam.
Worker & dispatch
Worker, WorkerOptions, the dispatch source, and job lifecycle.