Preview and Configure Components
Customize Appearance
Generate Integration Code
Understand Deployment
Part 1: Enable Agent Creation
Part 2: Deploy to End-Users
Understanding the Components
Agent Builder SDK provides embeddable UI components for both agents and knowledge contexts. Each has two component types you can choose from.- Agent Components
- Context Components
Agent Builder
Agent Builder
<mindset-agents-manager>- Complete list view of all agents
- Built-in create, edit, and delete functionality
- Search and filtering capabilities
- Best for: Complete out-of-box experience with minimal customization
Agent Configuration
Agent Configuration
<mindset-agent-configuration>- Only the create/edit interface
- No list view included
- Best for: Building your own custom list view UI (tiles, cards, tables)
Learn More About Agents
How to Use the Playground
Step 1: Access the Playground
Navigate to the Agent Builder SDK Playground in your Mindset AI application:Open Developer Tools
Select Agent Builder SDK Playground
Launch
Step 2: Initialize the SDK Components
The playground pre-populates your app credentials automatically:App ID
External Tenant ID
- Select the components and tabs you want to display
- Click Initialize SDK Components
Step 3: Choose Your Component
Select which component you want to preview and configure.- For Agents
- For Knowledge Contexts
Agent Builder
Agent Configuration
Step 4: Configure What Your Tenants See
Once you’ve chosen your component, customize which tabs and options appear to your tenants.- Agent Configuration
- Context Configuration
Default Tabs (Always Visible)
Default Tabs (Always Visible)
- Settings: Name, description, and purpose
- Personality: Tone of voice and brand attributes
Optional Tabs (Toggle On/Off)
Optional Tabs (Toggle On/Off)
- Policy Rules: Rules the agent must never break
- Options: Additional agent configuration options
- LLM: Language model settings and parameters
- Contexts: Which contexts this agent can access
- Bias: Guidance on how the agent should weigh information
- Preview: Test the agent before deploying
Step 5: Customize Theme and Styling
Make the component match your brand by adjusting theme settings.Theme Mode
Seed Color
Font
Step 6: Preview the Component
Test how the component works before generating integration code.Click the Preview Tab
Interact as Your Tenants Would
- Create a test agent or context
- Navigate between tabs
- Test form inputs and actions
Step 7: Generate Integration Code
Once you’re satisfied with the configuration, grab the code to embed in your platform.Open Integration Code
Review the Code
Copy to Clipboard
Embed in Your Platform
Understanding Tenant Isolation
How externalTenantId Works
TheexternalTenantId parameter determines what tenants see in the embedded components:
Same externalTenantId
Different externalTenantId
What Happens Next: Deploying Agents to End-Users
After tenants create agents using these embedded components, you’ll need to deploy those agents to end-users. This happens through the Agent Sessions API.What is an Agent Session?
An Agent Session couples:Agent
Knowledge
Tools
User
Knowledge Source Options
- Option A: Contexts
- Option B: RAG MCP
Contexts
- Provision up to 30 contexts per agent session
- Can be app-level, tenant-level, or mixed
- Contexts are created via Contexts API or embedded Context components
How Tenants Get Knowledge
Method 1: Tenant Uploads Their Own Files
Method 1: Tenant Uploads Their Own Files
- Tenant uses Context Builder or Context Configuration component
- Tenant creates contexts and manually uploads files
- You provision these tenant-level contexts in agent sessions
Method 2: You Provide App-Level Contexts
Method 2: You Provide App-Level Contexts
- You create app-level contexts via Contexts API
- You provision these to tenants through agent sessions
- Tenants don’t need to upload anything
Method 3: You Create Tenant-Level Contexts on Their Behalf
Method 3: You Create Tenant-Level Contexts on Their Behalf
- Use Contexts API with
externalTenantIdparameter - Create contexts programmatically for specific tenants
- Option to set up synced ingestion (e.g., from Google Drive)
Method 4: RAG MCP
Method 4: RAG MCP
- Provision a RAG MCP instead of contexts
- Cannot be combined with contexts in the same session
Adding Tool Integrations
Beyond knowledge sources, you can add tool integrations:MCP Server Limits
- Up to 5 MCP servers total per agent session (including RAG if used)
- Add tools like Salesforce MCP, custom MCPs, etc.
- Example: 1 RAG MCP + 4 Tools MCPs = 5 total
Tagging Agent Sessions
Decision Framework
Question 1: Do you want to use Mindset’s list view UI or build your own?
Use Mindset's List View
<mindset-agents-manager><mindset-contexts-manager>Build Your Own List View
<mindset-agent-configuration><mindset-context-configuration>Question 2: Who provides the knowledge/context for agents?
Tenants Upload Their Own Files
Tenants Upload Their Own Files
You Provide Centrally
You Provide Centrally
Mix of Both
Mix of Both
Use RAG MCP Instead
Use RAG MCP Instead
Question 3: Do agents need tool integrations?
Yes
No
The Complete Flow
Part 1: Enable Agent Creation (This Guide)
- Configure components in the playground
- Embed components on your platform
- Tenants create and configure agents
- Optionally: Tenants create contexts and upload files
Part 2: Deploy to End-Users (Next Step)
- Use Agent Sessions API to couple agents with knowledge and tools
- Provision appropriate contexts or RAG MCP based on user permissions
- Embed agent chat SDK for end-users
- Tag sessions with externalTenantId for tracking