> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindset.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Agent Builder SDK

> Agent Builder Software Development Kit

<Info>
  The Agent Builder SDK is a premium feature that enables you to embed agent-building capabilities directly into your product.
</Info>

Agent Builder SDK lets your tenants create, build, and manage custom AI agents directly inside your application—without you building the UI or managing hundreds of custom agent requests. Embed pre-built components that give your customers the power to create, configure, and manage their own agents in minutes.

## Key Features

### Embeddable UI Components

Agent Builder SDK currently includes four embeddable components:

<AccordionGroup>
  <Accordion title="Agent Builder" defaultOpen icon="list">
    Browse, search, and manage agents. Tenants see all available agents and can select which ones to interact with or configure. Tenants can also create new agents here.

    Agent configuration is a part of Agent Builder; by embedding Agent Builder, you can add new agents, manage them, and set up all of their functionalities.

    <Card title="Read More About Agents" icon="robot" href="https://docs.mindset.ai/features/build/agents">
      Learn about agent capabilities and features
    </Card>

    <Card title="Step-by-Step Guide" icon="list-check" href="https://docs.mindset.ai/build-optimize/guides/agents/howto-create-agents">
      Complete guide to creating agents
    </Card>
  </Accordion>

  <Accordion title="Agent Configuration" icon="sliders">
    Set up agent personality, behavior, guardrails, and policies. Tenants control how agents respond, what they can access, and how they interact with users.

    This component provides a standalone interface for creating or editing individual agents—useful when you want to build your own custom list view.
  </Accordion>

  <Accordion title="Context Builder" icon="books">
    Organize knowledge sources and content. Tenants can create context collections, upload files, and manage what information agents can reference. Tenants can also create new Contexts here.

    Context configuration is a part of Context Builder; by embedding Context Builder, you can add new contexts, manage them, and control which agents use which knowledge contexts.

    <Card title="Read More About Knowledge Contexts" icon="book" href="https://docs.mindset.ai/features/build/contexts">
      Learn about knowledge contexts and how they work
    </Card>

    <Card title="Guide to Knowledge Contexts" icon="graduation-cap" href="https://docs.mindset.ai/features/build/contexts">
      Complete guide to managing knowledge contexts
    </Card>
  </Accordion>

  <Accordion title="Context Configuration" icon="file-lines">
    Configure context settings and upload documents. Tenants fine-tune how agents use specific knowledge sources and what content is available.

    This component provides a standalone interface for creating or editing individual contexts—useful when you want to build your own custom list view.
  </Accordion>
</AccordionGroup>

<Check>
  Each component is production-ready, fully themed to match your brand, and requires zero UI development from your team.
</Check>

### Flexible Component Embedding

Embed components exactly how you need them:

<CardGroup cols={2}>
  <Card title="Single Component Pages" icon="window">
    Embed one component per page for focused experiences
  </Card>

  <Card title="Multi-Component Layouts" icon="layer-group">
    Combine multiple components on the same page for comprehensive workflows
  </Card>

  <Card title="Custom Arrangements" icon="grip">
    Organize components to match your application's information architecture
  </Card>

  <Card title="Native Integration" icon="puzzle-piece">
    Components feel like native features, not third-party embeds
  </Card>
</CardGroup>

Your tenants get agent-building interfaces that seamlessly integrate with your application's design and layout.

### Customizable Theming

Match your brand identity with full theme control:

<CardGroup cols={2}>
  <Card title="Color Customization" icon="palette">
    Choose primary, secondary, and accent colors
  </Card>

  <Card title="Typography Control" icon="font">
    Customize font families and sizes
  </Card>

  <Card title="Feature Visibility" icon="eye">
    Control which tabs and features are visible to tenants
  </Card>

  <Card title="Seamless Design Match" icon="paint-brush">
    Components blend naturally with your application's aesthetic
  </Card>
</CardGroup>

<Card title="Customize Your Theme" icon="paint-brush" href="https://docs.mindset.ai/deploy/sdk2/agent-color-theme">
  Learn how to customize themes to match your brand
</Card>

### Multi-Tenant Data Isolation

Every tenant's data stays completely separate:

<Check>
  Built-in security ensures tenants never see each other's agents or contexts
</Check>

<Check>
  Each tenant gets their own isolated environment
</Check>

<Check>
  No additional configuration required from you
</Check>

## Deploying Agents to End Users

After your tenants create and configure agents using the Agent Builder SDK components, you need to deploy those agents to their end-users. This is done through **Agent Sessions**.

<Card title="Learn About Agent Sessions" icon="rocket" href="https://docs.mindset.ai/build-optimize/ams-sdk/agent-sessions-deployment">
  Read the complete guide to deploying agents to end-users
</Card>

## Use Cases for Your Tenants

<Tabs>
  <Tab title="Learning Platforms">
    **Instructors create custom coaching agents** for their specific courses without waiting for platform admins to build them.

    Each course gets a personalized AI coach that understands the subject matter and teaching approach.
  </Tab>

  <Tab title="HR Platforms">
    **Department heads customize onboarding agents** for their team's specific workflows and policies.

    New hires get guidance tailored to their role, location, and company culture from day one.
  </Tab>

  <Tab title="Recruitment Platforms">
    **Recruiters build specialized interview agents** trained on their company's unique hiring criteria.

    Candidates interact with AI that reflects the organization's values and assessment approach.
  </Tab>

  <Tab title="Multi-Tenant SaaS">
    **Customer admins get full control** to build agents and contexts for their organization's unique needs.

    Each customer shapes their AI experience without support tickets or custom development requests.
  </Tab>
</Tabs>

## Agent Builder SDK Playground

The Agent Builder SDK Playground lets you preview and configure embeddable UI components that your tenants can use to build agents and contexts. You can generate integration code, customize themes, and test components before embedding them in your platform.

<Card title="Step-by-Step Playground Guide" icon="play" href="https://docs.mindset.ai/build-optimize/ams-sdk/ams-sdk-playground">
  Complete walkthrough of using the Agent Builder SDK Playground
</Card>

## Current Limitations

<AccordionGroup>
  <Accordion title="Component Availability" icon="puzzle-piece">
    Agent Builder SDK currently supports agent and context management components only.

    <Info>
      More components coming soon.
    </Info>
  </Accordion>
</AccordionGroup>

## Getting Started

### Integration Process

<Steps>
  <Step title="Configure Your Components">
    Set up components in Agent Builder SDK Playground with your brand theme and visible features
  </Step>

  <Step title="Generate Integration Code">
    Generate the code for the components you want to embed
  </Step>

  <Step title="Add Code to Your Application">
    Place the code in your application where you want components to appear—embed single components or combine multiple components on the same page
  </Step>

  <Step title="Set Up Agent Sessions Deployment">
    Configure your backend to create agent sessions when end-users need access
  </Step>

  <Step title="Deploy to Tenants">
    Components render immediately with your configuration—tenants can start building custom agents
  </Step>
</Steps>

<Info>
  Your tenants can start building custom agents as soon as the components are live in your application. **When they create agents, you'll deploy them to end-users via Agent Sessions.**
</Info>

## Next Steps

<CardGroup cols={2}>
  <Card title="Complete Integration Guide" icon="book" href="https://docs.mindset.ai/deploy/ams-sdk/ams-sdk-integration-guide">
    Detailed technical documentation for Agent Builder SDK implementation
  </Card>

  <Card title="Agent Builder SDK Playground" icon="play" href="https://docs.mindset.ai/build-optimize/ams-sdk/ams-sdk-playground">
    Preview and configure components before embedding
  </Card>

  <Card title="Agent Sessions Guide" icon="rocket" href="https://docs.mindset.ai/build-optimize/ams-sdk/agent-sessions-deployment">
    Learn how to deploy tenant-created agents to end-users
  </Card>

  <Card title="Use Case Flows" icon="diagram-project" href="https://docs.mindset.ai/deploy/ams-sdk/ams-sdk-usecase">
    Step-by-step workflows for common integration scenarios
  </Card>
</CardGroup>
