Visual builderStructured outputs
Create Rich UI Blocks with Data Components
Copy page
Learn how to create and use data components for rich, interactive Agent messages.
What are Data Components?
Data Components allow your agents to return rich, interactive content instead of just text. Think of them as reusable UI building blocks that your agent can populate with data.
For example, instead of returning "You have 3 tasks: Task #123 (shipped), Task #124 (processing)...", your agent can return a properly formatted task list component.
How to create a data component
- Go to the Data Components tab in the left sidebar. Then select "New data component".
- Add in an id, name, and description. These are required fields.
- Enter a JSON schema defining the structure of your data component.
- Click "Submit".
To visually add the data component to the Agent, see the Sub Agents page for details.
Example JSON Schema
Frontend Integration
Create a React component matching your data component name:
Register it with the Inkeep chat component:
The agent will automatically return structured data that renders as your React component.