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

# Box AI Studio

> Create, manage, and deploy custom AI agents through the Box AI Studio API.

export const MultiRelatedLinks = ({sections = []}) => {
  if (!sections || sections.length === 0) {
    return null;
  }
  return <div className="space-y-8">
      {sections.map((section, index) => <RelatedLinks key={index} title={section.title} items={section.items} />)}
    </div>;
};

export const RelatedLinks = ({title, items = []}) => {
  const getBadgeClass = badge => {
    if (!badge) return "badge-default";
    const badgeType = badge.toLowerCase().replace(/\s+/g, "-");
    return `badge-${badge === "ガイド" ? "guide" : badgeType}`;
  };
  if (!items || items.length === 0) {
    return null;
  }
  return <div className="my-8">
      {}
      <h3 className="text-sm font-bold uppercase tracking-wider mb-4">{title}</h3>

      {}
      <div className="flex flex-col gap-3">
        {items.map((item, index) => <a key={index} href={item.href} className="py-2 px-3 rounded related_link hover:bg-[#f2f2f2] dark:hover:bg-[#111827] flex items-center gap-3 group no-underline hover:no-underline border-b-0">
            {}
            <span className={`px-2 py-1 rounded-full text-xs font-semibold uppercase tracking-wide flex-shrink-0 ${getBadgeClass(item.badge)}`}>
              {item.badge}
            </span>

            {}
            <span className="text-base">{item.label}</span>
          </a>)}
      </div>
    </div>;
};

export const Link = ({href, children, className, ...props}) => {
  const localizedHref = localizeLink(href);
  return <a href={localizedHref} className={className} {...props}>
      {children}
    </a>;
};

<Warning>
  Box AI Studio is available only for Enterprise Advanced accounts.
</Warning>

Box AI Studio lets you create custom AI agents through the API. Unlike the standard <Link href="/ai/box-ai-api">Box AI API</Link> endpoints that use Box's default agent configurations, AI Studio agents let you define purpose-built agents with custom instructions, model selections, and access controls.

For example, you can create an agent that acts as a compliance consultant -- answering questions about customer documentation with FedRAMP Moderate compliance in mind -- and restricts access to specific users or groups.

## Enabling Box AI Studio

Enable Box AI Studio in the Admin Console to start creating agents. For admin instructions, see <Link href="https://support.box.com/hc/en-us/articles/37228079461267-Enabling-Box-AI-Studio-and-Managing-Agents">Enabling Box AI Studio and Managing Agents</Link>.

Step-by-step instructions are available in the <Link href="/guides/ai-studio/getting-started-ai-studio">Get started with AI Studio</Link> guide.

## How Box AI Studio relates to Box AI

| Feature           | Box AI API                                                                                 | Box AI Studio                                                                                               |
| ----------------- | ------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------- |
| **Use case**      | Provides endpoints for Q\&A, text generation, and metadata extraction against files in Box | Lets you create and manage custom AI agents with tailored behavior                                          |
| **Customization** | Override model and prompt per-request using the `ai_agent` parameter                       | Define persistent agent configurations with custom instructions, models, and access controls                |
| **Access**        | Business plans and above                                                                   | Enterprise Advanced only                                                                                    |
| **API endpoints** | `POST /ai/ask`, `POST /ai/text_gen`,  `POST /ai/extract`, `POST /ai/extract_structured`    | `POST /ai_agents`, `GET /ai_agents`, `GET /ai_agents/{id}`, `PUT /ai_agents/{id}`, `DELETE /ai_agents/{id}` |

## Capabilities

You can configure AI Studio agents for the following modes:

| Mode                | Parameter  | Description                                     |
| ------------------- | ---------- | ----------------------------------------------- |
| **Ask**             | `ask`      | Answer user questions about documents           |
| **Text generation** | `text_gen` | Generate text based on file content and prompts |
| **Extraction**      | `extract`  | Extract metadata from documents                 |

<Frame>
  <img src="https://mintcdn.com/box/Z1XcLZTI-opBQvuM/images/guides/ai-studio/ai-agent-capabilities.png?fit=max&auto=format&n=Z1XcLZTI-opBQvuM&q=85&s=fa938ce153e4a236ac7d8944856a598f" alt="ai agent capabilities" width="780" height="352" data-path="images/guides/ai-studio/ai-agent-capabilities.png" />
</Frame>

## Get started

<CardGroup cols={2}>
  <Card title="Set up AI Studio" icon="gear" href={localizeLink("/guides/ai-studio/getting-started-ai-studio")}>
    Create a platform app, enable the AI scope, and generate credentials to
    start making AI Studio API calls.
  </Card>

  <Card title="Create an agent" icon="robot" href={localizeLink("/guides/ai-studio/ai-studio-agents/create-agents")}>
    Use `POST /ai_agents` to create a custom AI agent with specific
    capabilities and access controls.
  </Card>

  <Card title="List agents" icon="list" href={localizeLink("/guides/ai-studio/ai-studio-agents/get-agents")}>
    Retrieve all AI agents in your enterprise, filtered by mode or state.
  </Card>

  <Card title="Manage agents" icon="wrench" href={localizeLink("/guides/ai-studio/ai-studio-agents/index")}>
    Get, update, and delete agents by ID.
  </Card>
</CardGroup>

For admin setup instructions, see [Enabling Box AI Studio and Managing Agents][ai-studio].

[ai-studio]: https://support.box.com/hc/en-us/articles/37228079461267-Enabling-Box-AI-Studio-and-Managing-Agents
