# Quickstart

Source: https://docs.autessa.com/docs/guide/quickstart

> Build and run your first Autessa agent: create a tool, attach it to an agent, test, publish, and call the API.

# Quickstart

In this walkthrough you'll go from a fresh account to a published agent you can call over the API: create a tool, test it, attach it to an agent, chat with the agent, publish, and make your first API call.

> Just want to call an API? [Start here](/docs/start.md) gets you a free key and a first call in two minutes, with nothing to build. This page is for building your own agent in the Builder.

## Step 1: Sign up

Create an account at the builder. Your personal company is created automatically and becomes your active workspace — everything in this quickstart lands there.

[Open the Builder →](https://builder.autessa.com)

## Step 2: Create a tool

Tools are the building blocks agents work with. We'll make a simple LLM-powered summarizer.

1. Click **Build** on the rail, open **Tools**, and click **New tool**.
2. Name it `SummarizeText` and describe it clearly — for example, "Summarizes a passage of text into three bullet points." Agents read the name and description to decide when to call a tool, so make both intuitive.
3. Pick the **LLM_CALL** tool type. Choose a model and write the prompt template:

```text
Summarize the following text into three concise bullet points:

@@{text}
```

4. Add an argument named `text` with a description like "The passage of text to summarize." The `@@{text}` placeholder in the prompt template is filled with this argument at runtime.
5. Save the tool.

_(interactive UI demo omitted)_

> Prefer code over prompts? Choose the **AUTESSA_SCRIPT** tool type instead and write the logic in [AutessaScript](/docs/autessascript.md) — same arguments, same testing, same everything else.

## Step 3: Test the tool

1. On the tool page, click **Execute Tool**.
2. Fill in the `text` argument with any paragraph and run it. You'll see the summarized output — and you can also **Execute with Streaming** to watch longer-running tools report progress.
3. Iterate on the prompt template until you like the output. Nothing here touches production; you're editing the draft.

## Step 4: Create an agent

1. Open **Build → Agents** and click **New agent**. Under **How it gets things done**, choose **Uses tools you pick**.
2. Name it (for example `ResearchAssistant`) and give it instructions — the system prompt that defines its role and rules, such as "You help users digest long documents. When the user provides text, use SummarizeText and present the result."
3. Under **What it can use**, pick your `SummarizeText` tool. The model is under **Advanced (model)**.
4. Click **Create and test**.

## Step 5: Test conversationally

Open the agent's test conversation, paste some text, and ask for a summary. Watch the agent decide to call your tool, pass the argument, and answer with the result.

_(interactive UI demo omitted)_

## Step 6: Publish

Everything so far lives in your draft sandbox. To make a version customers and APIs use by default:

1. On the agent page, click **Publish** in the version bar. Publish the tool from its page too.
2. Open the agent's **Details** panel and copy its ID — a short string like `V1StGXR8Z5`. That's your `resourceId` for API calls.

If a published version ever misbehaves, you can roll back to a prior version from the same Details panel — see [Versions](/docs/guide/agentic/versions.md).

## Step 7: Call it from the API

1. Click **Developer** on the rail, open **API keys**, and create a key. Under **Resource Access**, grant it access to your agent. Copy the key — it's shown only once.
2. Execute the agent with a single request (no `Bearer` prefix on the key):

```bash
curl "https://api.autessa.com/clients/agents/execute?resourceId=V1StGXR8Z5" \
  -H "Authorization: $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "input": [
      { "inputType": "TEXT", "content": "Summarize this: Autessa lets you build tools, agents, and multi-agent workflows..." }
    ]
  }'
```

The response contains the agent's output in the `output` array. For multi-turn conversations, streaming over WebSockets, and audio input and output, see the [Agent API reference](/docs/api/agents.md).

## You've shipped your first agent

That's the whole loop: you wrote a tool, taught an agent to use it, watched it reason in a live conversation, and put a published version behind a real API endpoint. Every production system on Autessa — voice assistants, document pipelines, multi-agent workflows — is built from exactly these moves, repeated and composed.

Where to next:

- **Build something real** — the [Build your first app](/docs/guide/tutorials/first-app.md) tutorial takes these same moves further: a todo app with an agent that reads your email every night and files it as tasks. About 40 minutes, and it touches nearly the whole platform.
- **Solidify the mental model** — [Core Concepts](/docs/guide/concepts.md) pins down the vocabulary you just used in practice: tools, agents, versions, variables, and scopes.
- **Give your agent memory** — create an [AutessaDB table](/docs/guide/autessadb/tables.md) so your agent can store, search, and react to data.
- **Publish safely** — [Versions](/docs/guide/agentic/versions.md) explains the draft/publish/rollback cycle so you can iterate without breaking production.
- **Call it from your product** — read [Authentication](/docs/guide/authentication.md), then the [Agent API reference](/docs/api/agents.md) for streaming, conversations, and audio.

## Related

- [Core Concepts](/docs/guide/concepts.md)
- [Authentication](/docs/guide/authentication.md)
- [Tools](/docs/guide/agentic/tools.md)
- [Agents](/docs/guide/agentic/agents.md)
- [API Keys](/docs/guide/api-management/api-keys.md)

