Beta Feature - Widget Studio is currently in beta. Widget Studio is only available for SDK 3.0 customers.
Before You Start
Prerequisites:1
External MCP Connected
You need at least one external MCP configured in your Mindset platform. If you don’t have one set up yet, follow our MCP Setup Guide.
2
Tool Tested
The tool you want to create a widget for must be tested at least once. When you try to create a widget, you’ll be prompted to test the tool if it hasn’t been tested yet.
3
Access to Widget Studio
Widget Studio is available in your AMS (Agent Management Studio).
Step 1: Navigate to Widget Studio
- Open your AMS (Agent Management Studio)
- Click Widget Studio in the left navigation
- Click the New Widget button
Step 2: Configure Your Widget
- Widget Mode
- Widget Name
- Description
- Select Your Tool
Select Display—this is production-ready and fully functional.
Standalone mode is visible but not yet available for publishing. Focus on Display widgets for now.
Step 3: Generate Your Widget with AI
This is where Widget Studio’s power shows—you’ll describe what you want, and the Widget Editor Agent creates it for you.- Option A: Use Examples Library
- Option B: Describe From Scratch
The fastest way to get started:
- Click the Examples button
- Browse widgets by category:
- Data Visualization
- Forms & Surveys
- Quizzes & Assessments
- Content Display
- And more
- Find one similar to what you want
- Click Copy Prompt
- Paste into the Agent chat
- Hit send
What Happens Next
- The agent processes your request (you’ll see “Sending request…”)
- Your widget appears in the preview pane automatically
- No reply message comes back—changes just appear
The Widget Editor Agent currently processes requests silently. Check the preview to see your widget. We’re adding conversational responses soon.
Step 4: Preview and Refine
Preview Your Widget
Test your widget across different contexts:Device Views
Device Views
- Click Desktop to see full-width display
- Click Mobile to see mobile appearance
Theme Views
Theme Views
- Toggle Light Mode (default)
- Toggle Dark Mode to check contrast and readability
What to check
What to check
- Does the layout look good on both desktop and mobile?
- Is text readable in both light and dark modes?
- Are buttons and interactive elements properly sized?
- Does it match your brand’s design system?
Make Changes
To refine your widget, just chat with the Agent: Example requests: “Make the buttons bigger and add more padding” “Change the color scheme to use our brand purple” “Add icons next to each course title” “Move the enrollment button to the bottom right” “Add a hover effect on the course cards” Each change creates a new version automatically. Keep iterating until you’re happy with the result.Apply Your Design System
- Click the Design System dropdown
- Select from your configured design systems
- Preview updates immediately
- Switch between systems to see which looks best
Step 5: Publish Your Widget
When you’re satisfied with your widget:- Click the Publish tab
- Review the publishing checklist—most items should be automatically checked:
- Widget Name ✓
- Widget Description ✓
- Widget Mode selected ✓
- Initial version created ✓
- Widget code generated ✓
- Widget compiles successfully ✓
- Click Publish
- Your widget is now live in your agent!
Success! Your widget is now active. Whenever the agent calls this tool, users will see your custom widget instead of plain text output.
Test Your Widget in Action
To see your widget in the agent:- Open your agent chat interface
- Ask a question that would trigger the tool
- The agent will call the tool and display your widget
What You Built
You just created a production-ready widget that:- ✅ Displays structured tool data in a custom visual interface
- ✅ Automatically matches your brand’s design system
- ✅ Works on desktop and mobile, light and dark modes
- ✅ Shows whenever the agent calls that specific tool
Tips for Success
Getting Better Results
Be descriptive in your prompts:- ❌ “Make a quiz widget”
- ✅ “Create a quiz widget that displays one question at a time with 4 multiple choice buttons and shows the score at the end”
- Don’t start from scratch if you don’t have to
- Find something close and modify it
- Copy prompts from examples to get started faster
- Make one change at a time
- Preview after each change
- Build up complexity step by step
Avoiding Common Issues
One widget per tool
One widget per tool
- Only create ONE widget for each tool
- If you want to make changes, edit the existing widget
Don't switch widget modes
Don't switch widget modes
- Once you start generating, don’t switch between Display and Standalone
- This causes unpredictable behavior
- If you need to change modes, start a new widget from scratch
Keep your session active
Keep your session active
- Don’t switch tabs while actively editing—you’ll lose message history
- If you need to check something, finish your current edits first
Managing Your Widget
- Editing After Publishing
- Version Control
- Unpublishing
- Go to Widget Studio
- Find your widget in the list
- Click to open it
- Make edits in the Editor tab
- Publish the new version when ready
Next Steps
Widget Editor Guide
Learn all the features and capabilities of the Widget Editor
Widget Studio Overview
Understand what you can build with Widget Studio
Common Questions
Can I create multiple widgets for one tool?
Can I create multiple widgets for one tool?
You can, but only the most recently created widget will be active. We recommend keeping one widget per tool. Automatic enforcement is coming soon.
Can I use my own custom code?
Can I use my own custom code?
Not via the Import button yet (coming soon), but you can paste MDX code directly into the Agent chat and it will process it.
How do I know when my widget will display?
How do I know when my widget will display?
Your widget displays whenever the agent calls the tool it’s attached to. You don’t control when it shows—the agent’s LLM decides which tool to call based on the user’s request.
Can I unpublish a widget temporarily?
Can I unpublish a widget temporarily?
Yes. Open the widget, go to the Publish tab, and click Unpublish. The tool will continue working without displaying the widget.
Need help? Contact your Mindset AI account team.