Shows how to wire a bidirectional streamingSending a model's response token by token as it is generated, so the reader sees text immediately instead of waiting for the whole answer.Full definition → voice AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → to real hardware, including audio echo handling and tool useA model's ability to call external functions — run code, search the web, edit files — instead of only generating text.Full definition →. The patterns carry over to support assistants and voice-enabled devices.
Terms in this piece · Glossary
AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
streaming — Sending a model's response token by token as it is generated, so the reader sees text immediately instead of waiting for the whole answer.
tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.