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

# Build in the console

> Create an agent, prepare its environment, launch a session, and find every screen in the Recursion console.

The [Recursion console](https://recursion.labelbox.com) is where you create agents, prepare environments, connect tools, launch sessions, and follow their work. Sessions started through the API appear here too.

> [!NOTE]
>
> Sign in to the console and choose the organization you want to work in from the switcher near the top of the sidebar. Every write action depends on your role. See [Organizations and roles](https://docs.labelbox.com/recursion/organizations-and-roles.md).

## Start from Home

The console opens on **Home**. Describe what you want an agent to do in the box at the top, and the assistant designs the agent with you, sets it up once you approve its plan, and tries it in a test session. Or start from a template, as [Create an agent](#create-an-agent) shows.

Until your organization's first session has run, Home also shows two other ways to get there:

* **Build from your coding agent** walks you through creating an API key and connecting your coding agent, which can then create agents and start sessions for you.
* **Or set up in the console** lists the steps to a first session: create an agent, set up an environment, and run a session. The next step's button is highlighted.

> [accordion] How the console steps work
>
> * Each step is checked off once your organization has what it makes: an agent, an environment, or a session that ran to an answer.
> * The steps go away once all three are done. Creating an API key is not one of them.
> * **Create agent** opens the create form on its starting points. **Open Environments** opens that page. **Launch session** opens the launch form once you have an agent and an environment.
> * Links at the foot of Home open the [Quickstart](https://docs.labelbox.com/recursion/quickstart.md) and the guides to [connecting a coding agent](https://docs.labelbox.com/recursion/ai-coding-agents.md) and [automating your agents](https://docs.labelbox.com/recursion/automations.md).
> * **Dismiss** hides the steps for you in this organization, in this browser.
> * Members who can view but not create see a short **Get started** note instead, saying what the product is and who creates agents, until the organization has an agent. Their Home links only to the automations guide.

## Create an agent

Start from a template, which also creates a paired environment, or build an agent yourself.

> [tab] From a template
>
> 1. On **Home**, under **Start from a template**, click **Use template** on a template such as **Issue fixer** or **PR reviewer**. To change the template first, click **Customize** instead, and the assistant asks what you want to change.
> 2. The assistant opens with the template's agent, a paired environment, and a sample task ready for review. Coding templates first ask you to choose a GitHub connection.
> 3. Review the plan, then click **Approve and run**. The assistant creates both resources and starts a test session.
>
> To fill in the form yourself, open **Agents**, click **Create agent**, and choose a template. Coding templates ask you to connect GitHub and select the repositories the agent may use. Click **Create and launch** to save both resources and open the launch form, review the prefilled task, then click **Launch session**.

> [tab] Blank
>
> 1. Open **Agents**, click **Create agent**, and choose **Blank agent**.
> 2. Set a model. The system prompt is optional: left empty, the agent runs on the platform's short general-purpose instructions.
> 3. Add tools and integrations as needed. The Skills, Multiagent, Credentials, and Tags sections start as summary rows while they hold defaults; open a row to change it.
> 4. Save the agent.

Saving an agent publishes a new version. Sessions already running keep their version until you [move them](https://docs.labelbox.com/recursion/sessions.md#move-a-session-to-another-version). The [Quickstart](https://docs.labelbox.com/recursion/quickstart.md) walks through the same flow without a template, in the console and with cURL.

## Prepare an environment

Templates create a matching environment for you. For a custom one, open **Environments**, click **Create environment**, and set its name, internet access, compute, and optional setup script. A setup script must pass a test run before sessions can use the environment. See [Environments](https://docs.labelbox.com/recursion/environments.md).

## Give agents access

* **Integrations**: connect GitHub or another supported app, then grant the connection in an agent's **Integrations** section. See [Integrations](https://docs.labelbox.com/recursion/integrations.md).
* **Credential vaults**: store tokens and secrets. Secret values are write-only in the console. See [Vaults](https://docs.labelbox.com/recursion/vaults.md).
* **Skills**: add reusable instructions and attach them to an agent. See [Skills](https://docs.labelbox.com/recursion/skills.md).

## Launch a session

1. Click **Launch session** on **Sessions** or on an agent's page. The agent page preselects that agent.
2. Under **Configuration**, check the agent and environment.
3. Under **Task**, write the opening message: what the agent should do in this session.
4. Expand **Credentials**, **Team**, **Files**, or **Custom metadata** when this session needs a change from its defaults, such as input files to copy into the sandbox. Changes in this form apply only to this session.
5. Click **Launch session** to start the work.

Your tenant needs available credits to launch. If none are available, someone who manages billing can add them and you can retry. See [Sessions](https://docs.labelbox.com/recursion/sessions.md) for all launch fields and session controls.

> [accordion] How the form picks the agent and environment
>
> The form remembers your last successful agent and environment. When there is only one choice and nothing remembered, it selects that choice for you.

## Follow the work

Open a session to read its **Transcript**: messages, tool calls, and results arrive as the agent works. The header shows status and cost. The **Files** tab holds the session's inputs and the outputs it saved, ready to preview or download. Send a follow-up from the composer, or use the session actions to interrupt or stop work. See [Session operations](https://docs.labelbox.com/recursion/session-operations.md).

## Automate and use the API

* To run agents on their own, open **Automations** and create one with a schedule or an event trigger. See [Automations](https://docs.labelbox.com/recursion/automations.md).
* For API use, open **Settings** and choose **API keys**. A new key is shown only once. See [API keys](https://docs.labelbox.com/recursion/api-keys.md).

## Find a screen

The console opens on **Home** when the link names no section, or a section you cannot open. Your account menu at the bottom of the sidebar lets you change tenant, open **Account settings** (and **Tenant settings**, for admins), switch color mode, or sign out.

> [accordion] Every sidebar screen
>
> | Screen | Use it to |
> | - | - |
> | **Home** | Ask the assistant to build an agent, start from a template, and follow the steps to a first session. |
> | **Sessions** | Launch work, search and filter sessions, and read their transcripts and costs. |
> | **Agents** | Create or edit an agent's model, prompt, tools, skills, integrations, and default credential access. |
> | **Environments** | Choose the sandbox, its internet access, compute, and setup script. |
> | **Analytics** | See your organization's usage, completions, and environment startup over a time window. See [Analytics](https://docs.labelbox.com/recursion/analytics.md). |
> | **Skills** | Create skills and groups for agents to load. |
> | **Files** | Upload files to attach to sessions, and preview or download what sessions saved. See [Files](https://docs.labelbox.com/recursion/files.md). |
> | **Credential vaults** | Store tokens and secrets for agents to use. |
> | **Integrations** | Connect GitHub, Slack, and apps from the built-in catalog, choose their tools, and grant them to agents. |
> | **Automations** | Start sessions on a schedule, from Slack or GitHub events, or by hand. The **Event sources** view lists the sources that deliver events, with their health, and lets you pause or resume them. |
> | **Billing** | Buy prepaid credits, manage cards, and read receipts. Appears only for billing managers. |
> | **Settings** | Open the settings area: **General**, **Members**, **Organizations**, **Enterprise SSO**, **API keys**, and **Audit log** for your tenant, and **Account** for yourself. |

> [accordion] Every settings section
>
> In **Settings**, **API keys** is open to every member with Managed Agents access. What you can change in the other sections depends on your role.
>
> | Settings section | Use it to |
> | - | - |
> | **General** | See your tenant, your role in it, and its ID, manage its email domains and whether members need multi-factor authentication, or leave the tenant. See [Domains](https://docs.labelbox.com/recursion/domains.md). |
> | **Members** | Find members, send and track invitations, answer requests to join, and change or remove tenant roles. |
> | **Organizations** | Create, archive, and open organizations, and manage who belongs to each one. See [Organizations and roles](https://docs.labelbox.com/recursion/organizations-and-roles.md). |
> | **Enterprise SSO** | Let your people sign in through your company's SAML identity provider. See [Enterprise SSO](https://docs.labelbox.com/recursion/enterprise-sso.md). |
> | **API keys** | Create and revoke your personal API keys. See [API keys](https://docs.labelbox.com/recursion/api-keys.md). |
> | **Audit log** | Review who changed what in your tenant, filtered by action, person, organization, or date. |
> | **Account** | Edit your profile, and manage your sign-in methods and your own multi-factor authentication. The same in every tenant you belong to. |

## Next steps

> [card] [Quickstart](https://docs.labelbox.com/recursion/quickstart.md)
>
> Run a first session in the console and with cURL.

> [card] [Sessions](https://docs.labelbox.com/recursion/sessions.md)
>
> Every launch field and session control.

> [card] [Agents](https://docs.labelbox.com/recursion/agents.md)
>
> Configure an agent's model, prompt, and tools.

> [card] [Environments](https://docs.labelbox.com/recursion/environments.md)
>
> Set up the sandbox an agent runs in.
