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

# Build your first agent

> Sign in, add a model provider key, and publish an agent from the console - no code.

No coding required. This walks through building and testing an AI agent entirely in the console -
the first step toward turning a problem AI can solve into something you can offer other people.

## 1. Sign in

Sign in to the console at [console.duraton.ai](https://console.duraton.ai).

## 2. Add a model provider key

There is no default model - an agent names its provider and model explicitly, and runs on a key
you provide.

In the sidebar, open **Credentials**, then **New credential**.

| Field  | What to enter                               |
| ------ | ------------------------------------------- |
| Type   | **Anthropic API Key** or **OpenAI API Key** |
| Name   | Anything that helps you tell it apart later |
| Secret | The key itself                              |

Submit **Add credential**.

## 3. Create the agent

In the sidebar, open **Agents**, then **New agent**. The form has four sections:

| Section      | Fields                                                                       |
| ------------ | ---------------------------------------------------------------------------- |
| Identity     | **Name**, **Description**                                                    |
| Instructions | **Prompt**, **Instructions** (optional)                                      |
| Model        | **Provider**, **Model**, **API key**                                         |
| Limits       | **Max iterations** (required), **Max tokens** and **Temperature** (optional) |

The **Model** section is where the model is named, not defaulted: pick a **Provider**, a **Model**
for that provider, then the **API key** you added in step 2 - the list is filtered to credentials
matching the provider you chose, with a **Manage API keys** link if you need to add another.
Changing the provider clears the picked model and key, so they can't drift out of sync.

Submit **Create agent**.

## 4. Try it, before publishing

The agent detail page opens with a **Draft** badge. Use **Test this agent** on the right to send
it a message and see how it responds. Nothing here is saved or published - it's a scratch
conversation, reset on reload, so you can iterate freely on the prompt and instructions.

## 5. Publish

Once you're happy with it, click **Publish**. The badge changes to **Live**, and every publish is
recorded under **Releases** on the same page, so you can see what shipped and when.

<Note>
  Editing a published agent's form and submitting again saves a new draft (the button reads **Save
  draft**) without touching what is live - publish again when you want the draft to go live.
</Note>
