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

# Studio Agents

> Build automations, agents, and flows in Elementum through natural language conversation with a coding-based agent

export const permission_0 = "Only App Administrators can start a Studio Agent session and publish the flows it creates."

<Callout icon="shield-halved" color="#8B5CF6" iconType="solid">
  **Required Permission:** {permission_0}
</Callout>

## Overview

Studio Agents are a coding-based agent type in Elementum that build automations, agents, and flows through conversation. Describe what you need in natural language, and the Studio Agent writes the TypeScript that assembles the flow inside your app—lowering the barrier to creating complex workflows without hand-building every stage, decision point, and automation.

Studio Agents live on the **Flows** page of your app and stay available whenever you're building or iterating on a workflow. The agent handles the underlying code while you review the generated flow in a live **Preview** pane, refine it in the chat, and publish when it looks right.

<Info>
  Studio Agents run on Anthropic Claude models. Configure an [Anthropic AI provider](/ai-agents/anthropic-setup) and select a supported Claude model (for example, **Claude 4.5 Sonnet**) before starting a Studio Agent session. See [AI Models](/ai-agents/ai-models#anthropic-direct) for model capabilities.
</Info>

## Prerequisites

Before you can use a Studio Agent, make sure your organization has:

* An [Anthropic AI provider](/ai-agents/anthropic-setup) configured in **Organization Settings**.
* At least one Claude LLM service available to the app where you plan to build the flow. See [AI Services](/ai-agents/ai-services) for setup steps.
* App Administrator access on the app whose flow you want to build.

## Start a Studio Agent session

1. Open your app and click **Flows** in the left navigation menu.
2. In the natural language chat at the top of the **Flows** page, describe the workflow you want to build. Explain the stages, decision points, and automations you'd like included.
3. Click the **Send** icon to hand the request off to the Studio Agent.
4. Follow along in the chat pop-up as the agent writes the TypeScript that builds the flow. Click any action in the chat to see more details about what the agent did.
5. Use the **Preview** pane to verify the workflow is being built as expected.
6. If something doesn't look right, keep chatting with the agent to refine the flow. The agent maintains context across the session, so you can iterate stage by stage or make broad changes in a single message.
7. Click **Publish** when the flow is ready.

After publishing, the flow behaves like any other flow in your app—you can open it, add or remove stages, edit each step manually, and connect it to the rest of your app's automations, elements, and views.

## Prompt templates

Below the chat on the **Flows** page, Elementum surfaces pre-built prompt templates you can use as a starting point instead of writing a prompt from scratch. Examples include:

* **Expense approval** — Multi-stage approval workflow with reviewer routing and status updates.
* **Customer onboarding** — Sequenced steps for kicking off a new customer, gathering intake data, and triggering follow-up tasks.
* **Incident triage** — Intake, classification, and escalation of incoming issues.

Select a template to prefill the chat with a starter prompt, then edit it to match the specifics of your app before sending it to the Studio Agent.

## Resume a session

In-progress builds are saved automatically as you chat with the agent. To pick a session back up later:

1. Open the **Flows** page in your app.
2. Scroll to **Studio Agent Sessions** to see drafts that haven't been published yet.
3. Select the session you want to continue. The chat, preview, and all prior context are restored so you can keep iterating with the agent.

<Tip>
  Because the Studio Agent generates the underlying TypeScript, you don't need to worry about losing your work between sessions—the full conversation, generated code, and current preview state are all preserved.
</Tip>

## After you publish

Published flows are fully editable by hand. Use the flow editor to:

* Rename or reorder stages the agent created.
* Add or remove automations, approval steps, or assignment rules.
* Wire the flow into other parts of your app—for example, [managed views](/workflows/managed-views), [Elements](/workflows/object-data-access), or [record layouts](/workflows/layouts).

If you want to keep iterating with a Studio Agent after publishing, start a new session on the same **Flows** page and describe the changes you'd like the agent to make.

## Related documentation

<CardGroup cols={2}>
  <Card title="Anthropic Setup" icon="bot" href="/ai-agents/anthropic-setup">
    Configure the Anthropic AI provider that powers Studio Agents
  </Card>

  <Card title="AI Models" icon="chart-bar" href="/ai-agents/ai-models#anthropic-direct">
    Compare Claude models and choose the right one for Studio Agents
  </Card>

  <Card title="Building Agents" icon="robot" href="/ai-agents/agents-experience">
    Create and configure conversational agents in your app
  </Card>

  <Card title="Automations" icon="zap" href="/workflows/automation-system">
    Learn how the automations Studio Agents build fit into your app
  </Card>
</CardGroup>
