Mindset v3 / Build & Optimize / AMS SDK
View as MarkdownDecision Flow
Use this guide to determine which Agent Builder SDK components best fit your implementation needs.
Question 1: Do you want to use Mindset's list view UI?
Embed Builder Components
<mindset-agents-manager></mindset-agents-manager> <mindset-contexts-manager></mindset-contexts-manager>What You Get
Full list view with cards or table
Built-in search and filtering capabilities
Integrated edit and delete actions
Built-in create functionality
Embed Configuration Components
<mindset-agent-configuration></mindset-agent-configuration> <mindset-context-configuration></mindset-context-configuration>What You Build vs What SDK Handles
You Build
- Custom list view (tiles, cards, tables)
- Your own search and filtering
- Custom layout and styling
- Delete confirmation flows
SDK Handles
- Creating new resources
- Editing existing resources
- Form validation
- Save and update logic
Question 2: Who provides the knowledge/context?
Approach: Embed Context Builder or Context Configuration components
When to use:
- Tenants manage their own knowledge
- Each tenant has unique content
- Self-service model
Approach: Create app-level contexts via API
When to use:
- Centralized knowledge management
- Consistent content across tenants
- You control all knowledge sources
Approach: Embed context components AND create app-level contexts
When to use:
- Base knowledge provided centrally
- Tenants can add custom content
- Hybrid knowledge model
Approach: No contexts needed, provision RAG MCP in agent sessions
When to use:
- Using external RAG system
- Custom vector database
- Advanced knowledge retrieval
Component Comparison Matrix
<mindset-agents-manager> & <mindset-contexts-manager>
| Feature | Status | Details |
|---|---|---|
| Purpose | ✅ Complete CRUD interface | Full-featured management UI |
| List View | ✅ Included | Cards or table with pagination |
| Search & Filter | ✅ Built-in | Instant search and filtering |
| Create | ✅ Built-in dialogs | Modal-based creation flow |
| Edit | ✅ Built-in dialogs | Modal-based editing flow |
| Delete | ✅ Included | Confirmation dialog included |
| Setup Complexity | 🟢 Low | Embed and initialize |
| Customization | 🟡 Limited | Theme colors and fonts only |
<mindset-agent-configuration> & <mindset-context-configuration>
| Feature | Status | Details |
|---|---|---|
| Purpose | ✅ Standalone create/edit | Focused configuration interface |
| List View | ❌ Not included | You build your own |
| Search & Filter | ❌ Not applicable | You build your own |
| Create | ✅ Standalone interface | Launch for creation |
| Edit | ✅ Standalone interface | Pass agentUid/contextUid |
| Delete | ❌ Not included | You implement this |
| Setup Complexity | 🟡 Medium | Build custom list view |
| Customization | 🟢 High | Full control over UI/UX |
Common Implementation Patterns
Pattern 1: Full Self-Service (Most Common)
Use Case: Tenants fully manage their agents and knowledge
Components:
<mindset-agents-manager><mindset-contexts-manager>
Setup:
<mindset-agents-manager></mindset-agents-manager>
<mindset-contexts-manager></mindset-contexts-manager>Pattern 2: Centralized Knowledge
Use Case: You provide all knowledge, tenants just configure agents
Components:
<mindset-agents-manager>- App-level contexts (created via API)
Setup:
<mindset-agents-manager></mindset-agents-manager>
<!-- No context builder needed -->Pattern 3: Custom List UI
Use Case: You need branded list views with custom layouts
Components:
<mindset-agent-configuration><mindset-context-configuration>- Your custom list views
Setup:
// Your custom list
function openAgentEditor(agentUid) {
container.innerHTML = `
<mindset-agent-configuration
agentUid="${agentUid}">
</mindset-agent-configuration>
`;
}Pattern 4: Hybrid Knowledge Model
Use Case: Base knowledge from you, custom knowledge from tenants
Components:
<mindset-agents-manager><mindset-contexts-manager>- App-level contexts (created via API)
Setup:
- Create app-level contexts via API
- Embed both builder components
- Tenants see app contexts + can create their own
Quick Reference Table
| Your Needs | Recommended Components | Complexity | Customization |
|---|---|---|---|
| Complete admin interface, minimal setup | Builder Components | 🟢 Low | 🟡 Limited |
| Custom list view, SDK handles forms | Configuration Components | 🟡 Medium | 🟢 High |
| Tenants upload knowledge | Include Context Builder/Configuration | 🟢 Low | 🟡 Medium |
| You provide all knowledge | Agents only + API contexts | 🟢 Low | 🟡 Medium |
| Mix of both approaches | All components + API contexts | 🟡 Medium | 🟢 High |
| Using external RAG | Agents only + RAG MCP | 🟡 Medium | 🟢 High |