Streaming Custom Data
Learn how to stream custom data from the server to the client.
The Agent component displays AI agent configuration from the AI SDK, including model, system instructions, tools with expandable input schemas, and output schema.
Tools appear in an accordion that expands on click to reveal schemas, with instructions rendered as markdown and output schema syntax-highlighted. It features a composable structure with subcomponents like AgentHeader, AgentContent, AgentInstructions, AgentTools, AgentTool, and AgentOutput.