SDK 3 Required: Dynamic In-Chat Components are available exclusively in SDK 3. If you’re using SDK 2, you’ll need to migrate to access this feature.
How It Works
When you enable a component, its prompt instructions are included in the agent’s system context. The agent then decides when to use each component based on the conversation and the guidance you’ve provided. Each component is controlled by prompt instructions that guide when and how the agent uses it. You can enable or disable components individually and customize the prompts to match your specific use cases.Accessing Component Settings
Configure Dynamic In-Chat Components through the Agent Management Studio:1
Open Agent Settings
Open the Add/Edit Agent dialog for your agent
2
Navigate to Options
Click the Options tab in the agent configuration
3
Find Components Section
Scroll to the Dynamic In-Chat Components section
4
Configure Components
Enable or disable components and edit their prompt instructions as needed
Available Components
Accordion
Collapsible sections that reduce visual complexity while keeping content accessible. When agents use it:- FAQ sections
- Progressive disclosure of optional or advanced details
- Long documentation that benefits from collapsible organization
Bar Chart
Visual comparisons across categories, rankings, or discrete time periods. When agents use it:- User explicitly asks for a bar chart
- Categorical comparisons and rankings
- Frequency counts
- Discrete time periods
Callout
Highlighted boxes that draw attention to important information. When agents use it:- Critical warnings
- Important tips
- Success or error notifications that require user attention
- Security warnings
- Breaking changes
- Critical prerequisites
Card
Contained blocks for grouping related content or presenting options. When agents use it:- Highlighting key information
- Grouping related content
- Visual separation
- Presenting options
- Comparisons, lists, summaries, and key takeaways
Code Block
Syntax-highlighted code snippets with copy functionality. When agents use it:- Displaying code snippets in any programming language
- Technical documentation
- API examples
- Configuration files
- Syntax highlighting via react-syntax-highlighter
- Copy-to-clipboard button
- Optional line numbers (enabled by default)
- Optional filename display in header
- Optional language badge in header
- Automatic theme adaptation (light/dark)
- Monospace font (Sometype Mono, JetBrains Mono)
Diagram
Visual representations of processes, workflows, and system architecture. When agents use it:- Process flows and workflows
- System architecture
- API interactions
- Class structures
- State machines
- Timelines
- Data relationships
Feature Card
Specialized cards for showcasing product features and capabilities. When agents use it:- Showcasing product features
- Highlighting capabilities
- Presenting benefits or advantages
- Feature grids
- Product highlights
- Service offerings
- Capability listings
Line Chart
Trend visualization for continuous data over time. When agents use it:- User explicitly asks for a line chart
- Trends over time
- Continuous data changes
- Comparing time-based metrics
Pie Chart
Part-to-whole visualizations for proportions and distributions. When agents use it:- User explicitly requests a pie chart
- Proportions and distributions
- Percentages
- Part-to-whole relationships
Steps
Numbered sequential instructions for multi-step processes. When agents use it:- Sequential instructions
- Tutorials and how-to guides
- Installation guides
- Recipes
- Ordered procedures
- Onboarding flows
- Setup wizards
- Multi-step processes
Tabs
Tabbed interfaces for organizing alternative content views. When agents use it:- Code examples in multiple languages
- Different views of the same data
- Categorical content organization
- API documentation
- Multi-language tutorials
- Alternative approaches
Customizing Component Behavior
You can edit the prompt instructions for any component to control when and how the agent uses it. This lets you:- Restrict usage — Add conditions for when the component should or shouldn’t appear
- Expand usage — Encourage the agent to use the component in additional scenarios
- Match your use case — Tailor instructions to your specific product and audience
Edit Component Instructions
1
Select Component
Click on the component in the Dynamic In-Chat Components section
2
Modify Instructions
Edit the LLM Instructions text to match your needs
3
Save Changes
Click Save Changes to apply your customization
4
Test Behavior
Run through typical user interactions to verify the agent uses the component as expected
Best Practices
Start with Defaults
The default prompt instructions represent sensible starting points. Test with these before customizing.
Be Specific
Vague instructions lead to inconsistent behavior. Tell the agent exactly when to use or avoid a component.
Test Thoroughly
After editing instructions, run through typical user interactions to see how the agent responds.
Enable Selectively
Only enable components that make sense for your use case. More components means more decisions for the agent to make.
Testing Your Configuration
After configuring components:- Test common scenarios — Run through typical user questions and tasks
- Check component usage — Verify the agent uses components appropriately
- Review edge cases — Test unusual requests to see how the agent handles them
- Iterate on instructions — Refine prompt instructions based on observed behavior
Troubleshooting
Agent isn’t using a component
Possible causes:- Component is disabled in agent settings
- Prompt instructions don’t match the conversation context
- Instructions are too restrictive
Agent uses components too frequently
Possible causes:- Prompt instructions are too permissive
- Too many components enabled
Component behavior is inconsistent
Possible causes:- Prompt instructions are vague or contradictory
- Multiple components have overlapping use cases