# Agents

Source: https://docs.autessa.com/docs/guide/agentic/agents

> Building conversational and autonomous agents with instructions, models, and tools.

# Agents

An agent is essentially your own custom LLM with tools attached. Given a request, it intelligently chooses which tools to invoke and in what order — chatting with a user in your custom voice, or running unattended and deciding its next step from each tool's output.

## What it's for

Agents are the workers of the platform. In a chatbot setting, an agent asks the user guiding questions to gather what it needs and invokes tools on their behalf. In an offline setting — a [scheduled job](/docs/guide/scheduled-jobs.md) or an [AutessaDB trigger](/docs/guide/autessadb/triggers.md) — it chains tool calls autonomously.

> Example: a blog-writing agent on a weekly schedule could scour the internet for trending topics, check your existing blog for what's already published, research its selected topic, and write a draft post — deciding each step from the previous one's output.

## Navigating here

Click **Build** on the rail, then **Agents**. The Agents page shows your company's agents at a glance: how many are **Published**, how many are **Draft only** (never published), the most active this week, and recent test runs. **View all agents** opens the full list, with ownership tabs (**Owned By Me / Shared With Me / Company Wide**), search, and filters by type, model, and tags. **Start from a template** offers agent templates from the Marketplace.

## The agent page

Open an agent to see its page. It has four parts.

- **Version bar.** **Draft** is what you edit and test. **Published v4** (for example) is the version that runs in production and the API, with when it was published. A new agent shows **Not published yet**. **Publish** makes the saved draft the published version, and **Older versions** lists earlier ones. See [Versions](/docs/guide/agentic/versions.md).
- **What it does.** The agent's instructions, with each prompt variable shown as a chip so the text is easy to read, and the tools it can use. **Edit instructions & tools** opens the editor.
- **Test.** Run a test set with **Test draft** or **Test published v4**, or use **Chat** or **Real Time Voice** for a quick test. Recent test runs are listed below, with how many cases passed.
- **Settings.** One row per setting, each showing its current value, such as "3 checks on" or "Company policy · 2 blocked (7d)". Click a row to open its page.

**Activity** at the bottom links to the agent's **Conversation history** and its Sandbox test sets.

### Settings pages

Each settings page has **Save** and **Back to agent**. If you leave with unsaved changes, you're asked first.

| Page | What you set |
| --- | --- |
| **Name & description** | What the agent is called, what it's for, and its tags. |
| **Instructions & tools** | The model, the instructions, prompt variables, and the tools it may use. Below the editor, **Insert variable** adds a prompt or environment variable, and names that aren't declared are highlighted. |
| **Voice & listening** | The voice, what it says while tools run, keypad entry, how long it waits before replying, how much background noise it tolerates, and your company's speech vocabulary. If your company can clone voices, a link here creates a [custom voice](/docs/guide/custom-voices.md). |
| **Languages** | Other languages it can speak, each with its own voice and greeting. |
| **Sensitive data protection** | Keeps card numbers, bank and account numbers, and Social Security numbers away from the model. See [Sensitive Data](/docs/guide/agentic/sensitive-data.md). |
| **Response checks** | Checks every reply before it's sent. Build checks and test them against sample replies. See [Response Checks](/docs/guide/agentic/response-checks.md). |
| **AI Application Firewall** | Which firewall policy protects the agent, and what it caught in the last 7 days. See [AI Application Firewall](/docs/guide/agentic/ai-application-firewall.md). |
| **Search configuration** | Search agents only: the knowledge base table and column it searches. |
| **Evaluation notes** | Hints for the automated evaluation about what a finished task looks like. Shown when your company evaluates conversations automatically. |
| **Browser** | Browser tools for the browser extension, and the agent's own browser for unattended runs. |

### Speech vocabulary

The **Vocabulary** panel on **Voice & listening** holds your company's **Words to listen for** and corrections ("when it hears..., it means..."). It's shared by every agent, phone calls, and Call Redaction, and it saves on its own with **Save vocabulary**, separate from the agent. Only company admins can change it. See [Speech vocabulary](/docs/guide/agentic/phone-numbers.md#speech-vocabulary).

## Key concepts

### Agent types

You pick a type at creation (it's fixed afterwards, except when cloning):

| Type | Behavior |
| --- | --- |
| **Simple** | You manually select and configure the agent's tools — the default choice. |
| **MCP** | Powered by an [MCP server](/docs/guide/agentic/mcp-servers.md); automatically uses all of that server's tools, kept in sync. |
| **Search** | Performs semantic search over an AutessaDB knowledge base table and retrieves matching content. |

Type-specific configuration: MCP agents pick their server; Search agents pick the **Knowledge Base Table**, the **Search Column**, **Top K Results** (1–100), and a **Score Threshold** (0–1).

**Critic agents (retired).** The Critic type can no longer be created. Existing Critic agents keep working, and their criteria now appear as an **AI review** check. Simple agents can add the same review, plus other checks, under [Response checks](/docs/guide/agentic/response-checks.md).

### Name, description, and instructions

Name the agent for what it does at a high level — a blog-writing agent might be `BlogWriter` — and give it a detailed description of when it's useful. The description isn't just for humans: [managers](/docs/guide/agentic/managers.md) read it to decide when to delegate to this agent.

**Instructions** are the agent's system prompt — the protocol it should always follow. For an autonomous agent, spell out the sequence of steps; for conversational agents this can be lighter since the user steers, but high-level rules still help. Define **Prompt Variables** (e.g. `customer_name`) and reference them — along with environment variables — in the instructions as `@@{customer_name}`; they're filled in at runtime when the agent is invoked. Built-ins like `@@{currentDate}` and `@@{currentTime}` (UTC) work here too with no setup — starting instructions with `Today is @@{currentDate}.` keeps a date-aware agent from guessing the date; see [built-in variables](/docs/guide/agentic/environment-variables.md#built-in-variables).

### Model and voice

The **Model Type** determines the AI powering the agent: **Small Instruction Following**, **Big Instruction Following**, and **Big Instruction Following Reasoning** are always available, with additional privately-hosted models available to companies with access. Larger models are more capable but use more credits. The field is a searchable picker: if your company has connected its own provider account on [Models & Privacy](/docs/guide/company/model-privacy.md), you can also choose any model from that connection (or type a model ID), and the agent runs on your key. New agents start on the company's default model. For spoken interactions, choose a **Voice Model** and **Voice Name** — including your own [custom voices](/docs/guide/custom-voices.md). To have the agent talk with callers in more than one language, such as English and Spanish, add its languages, each with its own voice, greeting, and instructions; see [Agents that speak more than one language](/docs/guide/agentic/phone-numbers.md#agents-that-speak-more-than-one-language). On **Voice & listening**, **Listening and keypad** sets how the agent listens on calls: whether callers can type numbers on the keypad (off, when the agent asks, or any time), how long it waits before replying, and how much background noise it puts up with. See [Agent listening and keypad settings](/docs/guide/agentic/phone-numbers.md#agent-listening-and-keypad-settings).

### Response checks

Simple agents can check every reply before the customer sees it: catch made-up facts, sensitive data, leaked instructions, or off-policy answers, then flag, remove, block, or retry. See [Response Checks](/docs/guide/agentic/response-checks.md).

### AI Application Firewall

The **AI Application Firewall** settings page sets whether the agent follows your company's firewall policy, has its own, or is off. The firewall checks for cloned voices, asks people to verify before sensitive tools run, and alerts you to unusual requests. It also shows the agent's last 7 days of checks, catches, and blocks. Company policies and rules are edited under **Build → Configure → AI Application Firewall**. See [AI Application Firewall](/docs/guide/agentic/ai-application-firewall.md).

### Linked tools

An agent is nothing without its unique capabilities. On the **Instructions & tools** settings page, either create a new tool in place or import existing ones. Remember: the tool name, tool description, and argument descriptions are how the model chooses the appropriate functions to call and when — make them as clear as possible. (MCP agents skip this section; their tools sync from the server automatically.)

## How to create an agent

1. On the Agents page, click **New agent**.
2. **What it does:** enter a **Name** (no spaces) and the **Instructions**, plus an optional short description.
3. **How it gets things done:** choose **Uses tools you pick**, **Uses an MCP server**, or **Answers from a knowledge base**.
4. **What it can use:** optionally pick tools. You can add more later. The model is under **Advanced (model)**.
5. Click **Create and test**. You land on the agent's page.

Voice, languages, listening, checks, and the firewall are set afterwards on the agent's settings pages. The [Agentic Copilot](/docs/guide/autobots/agentic-copilot.md) can also draft agents for you from a plain-language description.

## How to test your agent

**Run a test set:**

1. In the agent's **Test** section, pick a test set, or click **Create a test set**.
2. Click **Test draft** to run it against your latest saved changes, or **Test published v4** to check what's live. Each case runs as a simulated conversation.
3. Results show under **Recent test runs**.

**Chat with it:**

1. Click **Test** at the top of the page, or **Chat** in the Test section. A streaming chat opens against the draft.
2. Send a message. Tool calls appear as expandable cards so you can see what was called with which arguments. If the agent has [response checks](/docs/guide/agentic/response-checks.md), the final message shows a checks chip with the result.
3. If the agent has prompt variables, fill them in above the input. You can also attach images and files or record audio.

Tests use your [environment variables](/docs/guide/agentic/environment-variables.md) for values that instructions and tools refer to with `@@{name}`.

_(interactive UI demo omitted)_

### Testing with audio

The test window's output toggle switches between **Text** and **Audio** responses. In Audio mode the agent's replies stream back as speech in the configured voice and auto-play, with a transcription history panel alongside, so you can hear how your agent will sound before connecting it to a [phone number](/docs/guide/agentic/phone-numbers.md). **Real Time Voice** starts a live, two-way voice conversation.

## How to grade conversations

**Grade conversations** in the agent's Test section opens **Transcript Grading**, which scores past conversations against a checklist: pass or fail, the scores behind it, and the judges' reasons. You can grade conversations from any agent, including ones built outside Autessa, by uploading a file of transcripts or sending them from your code with the Evals & Grading API. See [Developer Space](/docs/guide/platform/developer.md#api-products).

## How to publish

Editing happens in the draft. When the agent is ready, click **Publish** in the version bar (requires PUBLISH or ADMIN access). Publishing makes the saved draft the version served in production and through the API, and you can roll back any time; see [Versions](/docs/guide/agentic/versions.md). The **More** menu has **Share**, **Embed** (a chat-widget snippet for your own site), and **Clone Agent**.

## Sharing and access levels

Every agent starts **private** to its owner. Share it with people, teams, company roles, or everyone at your company, each at its own level, from the [Share dialog](/docs/guide/platform/sharing.md). Access adds up, so someone covered by several grants gets the highest one. What each level allows:

| Level | What it lets a teammate do |
| --- | --- |
| READ | View the agent, its versions, and its sharing details, and test-run it |
| WRITE | Edit the draft and submit human evaluations |
| PUBLISH | Publish and roll back versions |
| ADMIN | Share and delete the agent |

The owner always has ADMIN implicitly; transferring ownership is owner-only.

An agent is only useful to someone who can also run its tools. When you share an agent, the Share dialog lists its tools and shares them in the same step, at **Viewer** unless someone already has more. See [Resources an app or agent uses](/docs/guide/platform/sharing.md#resources-an-app-or-agent-uses).

## Related

- [Tools](/docs/guide/agentic/tools.md)
- [Managers](/docs/guide/agentic/managers.md)
- [Response Checks](/docs/guide/agentic/response-checks.md)
- [AI Application Firewall](/docs/guide/agentic/ai-application-firewall.md)
- [Agent History](/docs/guide/agentic/agent-history.md)
- [Versions](/docs/guide/agentic/versions.md)
- [Custom Voices](/docs/guide/custom-voices.md)
- [Agents API](/docs/api/agents.md)
- [Agentic Copilot](/docs/guide/autobots/agentic-copilot.md)

