---
title: "Agents"
description: "LLM-driven assistants with prompts, tools, RAG, guardrails, and channel-aware behavior."
canonical_url: "https://docs.vettero.com/build/agents"
---
# Agents

> LLM-driven assistants with prompts, tools, RAG, guardrails, and channel-aware behavior.

**Agents** are LLM-driven workspace resources. You define a task prompt, attach tools and knowledge, set guardrails and channel behavior, then run or preview the agent in real time.

## When to use

- Build a conversational assistant for chat, voice, or general (tool-callable) use
- Ground answers with [knowledge bases](https://docs.vettero.com/data/knowledge-bases), tools, and structured arguments
- Keep behavior constrained with guardrails, context limits, and human approval on tools

## Create an agent

Open **Build → Agents** and create a new resource.

1. **Name** (min 2 characters), optional **Description**.
2. **Channel** — how the agent runs:

<table>
<thead>
  <tr>
    <th>
      Channel
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        General
      </strong>
    </td>
    
    <td>
      Functional agent — callable as a tool or from workflows/functions; not a chat surface
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Chat
      </strong>
    </td>
    
    <td>
      In-app / chat-style conversations
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Voice
      </strong>
    </td>
    
    <td>
      Voice calls with separate STT and TTS
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Realtime Voice
      </strong>
    </td>
    
    <td>
      End-to-end realtime audio model (agent-only)
    </td>
  </tr>
</tbody>
</table>

After create, Vettero opens the agent builder. You can also open an existing agent from the Agents list.

## Open the builder

The builder has a left **activity bar**, a main panel, and (on Config) a **Preview** pane on the right. Use **Save** in the header when the config is valid.

### Activity bar

<table>
<thead>
  <tr>
    <th>
      Panel
    </th>
    
    <th>
      Purpose
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Config
      </strong>
    </td>
    
    <td>
      Task, Input, accordion settings, and Preview
    </td>
  </tr>
</tbody>
</table>

[Web](https://docs.vettero.com/build/channels/web) and [In App](https://docs.vettero.com/build/channels/in-app) channels are created under **Channels**, not in the agent builder.

## Write the task and input

On **Config**, above the accordion:

<table>
<thead>
  <tr>
    <th>
      Field
    </th>
    
    <th>
      Role
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Task
      </strong>
    </td>
    
    <td>
      System / behavior prompt. Supports <strong>
        LiquidJS
      </strong>
      
       templates, <code>
        #
      </code>
      
       tool mentions, <code>
        @
      </code>
      
       resource mentions, and <code>
        {{ … }}
      </code>
      
       variables. Menu: <strong>
        Refine Prompt
      </strong>
      
      . <strong>
        Build with AI
      </strong>
      
       opens <a href="https://docs.vettero.com/build/studio">
        Studio
      </a>
      
       to edit this assistant.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Input (Optional)
      </strong>
    </td>
    
    <td>
      Treated as the <strong>
        first user message
      </strong>
      
       (for example a greeting). Same LiquidJS / <code>
        {{ … }}
      </code>
      
       support as Task.
    </td>
  </tr>
</tbody>
</table>

Write clear identity, allowed topics, which tools to call, and when to hand over or escalate. For prompt, LLM, and settings tips, see [Prompts](https://docs.vettero.com/concepts/prompts).

### LiquidJS and `{{ … }}`

Task and Input support full **Liquid** templates (output, tags, filters) against the run context. Autocomplete suggests schema fields and built-in `ctx.prompts.*` keys when you type `{{`. Use `{{ ctx.prompts.voice }}`, `{{ ctx.prompts.whatsapp }}`, `{{ ctx.prompts.webChat }}`, or `{{ ctx.prompts.email }}` to insert channel capability and limitation text. See [Variables](https://docs.vettero.com/concepts/variables) for Liquid syntax, filters, tags, env vars, and path bindings.

### `#` tool mentions

Type `#` in the Task editor to pick a **tool** from the same tree as **Manage Tools** (blocks, agents, workflows, functions, skills, APIs, MCP, knowledge bases, queries, service tools, chat widgets, and so on).

- Inserts a `#` mention in the prompt so the model is told about that tool.
- Selecting a tool mention **adds it to the Tools list** if it is not already attached.
- Use `#` when the agent should be able to **call** that capability.

### `@` resource mentions

You do not know workspace resource ids. Type **@** for autocomplete and pick a **resource by name** (not the same as attaching a callable tool).

<table>
<thead>
  <tr>
    <th>
      <code>
        @
      </code>
      
       type
    </th>
    
    <th>
      What you reference
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Agent
      </strong>
      
       / <strong>
        <a href="https://docs.vettero.com/build/workflows">
          Workflow
        </a>
      </strong>
    </td>
    
    <td>
      Agent or workflow
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Service
      </strong>
    </td>
    
    <td>
      A connected <a href="https://docs.vettero.com/integrations/third-party-services">
        third-party service
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/data/tables">
          Table
        </a>
      </strong>
    </td>
    
    <td>
      A workspace data table
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/data/knowledge-bases">
          Kb
        </a>
      </strong>
    </td>
    
    <td>
      A knowledge base
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Chat Profile
      </strong>
    </td>
    
    <td>
      A <a href="https://docs.vettero.com/configuration/chat-profiles">
        chat profile
      </a>
      
       (for example handover targets)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Role
      </strong>
      
       / <strong>
        User
      </strong>
    </td>
    
    <td>
      Workspace <a href="https://docs.vettero.com/configuration/roles">
        roles
      </a>
      
       and members
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        WhatsApp template
      </strong>
    </td>
    
    <td>
      An approved <a href="https://docs.vettero.com/templates/whatsapp-templates">
        WhatsApp template
      </a>
      
       (when available)
    </td>
  </tr>
</tbody>
</table>

- You keep seeing the **name** in the editor. The stored token is the **id** (`@type:id`, for example `@kb:…`, `@chat_profile:…`), which is what the agent needs (for example to pass into a tool call).
- Use `@` so the prompt can point at a concrete resource (handover profile, KB, table, person) without you copying ids.
- **Table**, **chat profile**, **user**, and **role** mentions are prompt references only and are **not** auto-added as tools. Attach callable tools with `#` or the Tools tab.

## Channel visibility

Which accordion sections appear depends on channel and whether the agent is conversational. On the main agent builder, a channel agent is treated as conversational.

<table>
<thead>
  <tr>
    <th>
      Section
    </th>
    
    <th>
      Chat
    </th>
    
    <th>
      General
    </th>
    
    <th>
      Voice
    </th>
    
    <th>
      Realtime Voice
    </th>
    
    <th>
      Notes
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Basic
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      LLM
    </td>
    
    <td>
      Text LLM
    </td>
    
    <td>
      Text LLM
    </td>
    
    <td>
      Text LLM
    </td>
    
    <td>
      Realtime Voice LLM
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      Voice Config
    </td>
    
    <td>
      —
    </td>
    
    <td>
      —
    </td>
    
    <td>
      STT/TTS + call
    </td>
    
    <td>
      Call behavior only
    </td>
    
    <td>
      Voice channels only
    </td>
  </tr>
  
  <tr>
    <td>
      RAG
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Hidden when non-conversational
    </td>
  </tr>
  
  <tr>
    <td>
      Tools
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      Guardrails
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Effective on chat/text runs (see Guardrails)
    </td>
  </tr>
  
  <tr>
    <td>
      Arguments
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      —
    </td>
  </tr>
  
  <tr>
    <td>
      Result
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Hidden
    </td>
    
    <td>
      Needs structured-output model
    </td>
  </tr>
  
  <tr>
    <td>
      Suggestions
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      —
    </td>
    
    <td>
      —
    </td>
    
    <td>
      —
    </td>
    
    <td>
      <strong>
        Chat channel only
      </strong>
      
       (General is functional)
    </td>
  </tr>
  
  <tr>
    <td>
      Starters
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Hidden for WhatsApp / non-conversational
    </td>
  </tr>
  
  <tr>
    <td>
      Context
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      —
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Hidden for voice / realtime
    </td>
  </tr>
  
  <tr>
    <td>
      STM
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      Yes
    </td>
    
    <td>
      —
    </td>
    
    <td>
      —
    </td>
    
    <td>
      Hidden for voice / realtime
    </td>
  </tr>
</tbody>
</table>

**General** is a functional (tool-callable) agent — **Suggestions** apply to **Chat** only.

## Configure Basic

Identity for the assistant:

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Name
      </strong>
    </td>
    
    <td>
      Display name in lists and the builder header
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Description
      </strong>
    </td>
    
    <td>
      Short summary of what the agent does
    </td>
  </tr>
</tbody>
</table>

On the main Agent page, name and description may be read-only in the builder — edit them on the Agent details page instead.

## Configure the LLM

Powers replies (or realtime audio).

### Text / chat / voice (non-realtime)

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Provider
      </strong>
    </td>
    
    <td>
      Connected LLM service under Integrations
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Model
      </strong>
    </td>
    
    <td>
      Text-generation (or capability-filtered) model
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Max Tokens
      </strong>
    </td>
    
    <td>
      Optional cap; empty means unlimited (provider default)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Temperature
      </strong>
    </td>
    
    <td>
      0–2 when the model supports it (default 1.1)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Enable reasoning
      </strong>
    </td>
    
    <td>
      When the model exposes reasoning controls
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Reasoning Effort
      </strong>
    </td>
    
    <td>
      Model-dependent (for example low / medium / high)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Reasoning Budget (tokens)
      </strong>
    </td>
    
    <td>
      Optional token budget for reasoning
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Reasoning Summary
      </strong>
    </td>
    
    <td>
      None / Auto / Concise / Detailed
    </td>
  </tr>
</tbody>
</table>

### Realtime Voice

Uses a separate realtime config instead of the text LLM:

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Provider
      </strong>
    </td>
    
    <td>
      Realtime-capable voice provider
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Model
      </strong>
    </td>
    
    <td>
      Audio / realtime model
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Voice
      </strong>
    </td>
    
    <td>
      Speaking voice for the session
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Enable input transcription
      </strong>
    </td>
    
    <td>
      Speech-to-text of the user for chat history (separate ASR pricing); optional transcription model
    </td>
  </tr>
</tbody>
</table>

Changing provider clears model/voice; changing model clears voice.

## Configure Voice Config

Shown for **Voice** and **Realtime Voice** only.

### STT / TTS (Voice channel)

Required before voice preview works:

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        STT Service
      </strong>
      
       / <strong>
        STT Model
      </strong>
    </td>
    
    <td>
      Speech-to-text for the caller
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        TTS Service
      </strong>
      
       / <strong>
        TTS Model
      </strong>
      
       / <strong>
        TTS Voice
      </strong>
    </td>
    
    <td>
      Text-to-speech for the agent
    </td>
  </tr>
</tbody>
</table>

Realtime Voice hides STT/TTS (the realtime model handles audio).

### Call behavior (both voice types)

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Max call duration (minutes)
      </strong>
    </td>
    
    <td>
      15
    </td>
    
    <td>
      Hang up after this length (1–60)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Silence reprompt count
      </strong>
    </td>
    
    <td>
      2
    </td>
    
    <td>
      Check-ins after silence before hangup (0–10)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Silence before reprompt (seconds)
      </strong>
    </td>
    
    <td>
      10
    </td>
    
    <td>
      Idle time after the agent finishes before a check-in (0–30)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Silence reprompt instructions
      </strong>
    </td>
    
    <td>
      Built-in prompt
    </td>
    
    <td>
      What to say on silence check-in (max 500 characters)
    </td>
  </tr>
</tbody>
</table>

## Configure RAG

Conversational agents only. Attach a [knowledge base](https://docs.vettero.com/data/knowledge-bases) so the agent can retrieve grounded content.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Create New
      </strong>
      
       / <strong>
        Attach Existing
      </strong>
    </td>
    
    <td>
      Bind a knowledge base
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Manage
      </strong>
      
       / <strong>
        Detach
      </strong>
    </td>
    
    <td>
      Open the KB or remove the binding
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        RAG Strategy
      </strong>
    </td>
    
    <td>
      <strong>
        Agentic
      </strong>
      
       — model calls the KB as a tool (default). <strong>
        2-Step
      </strong>
      
       — retrieve before the turn and inject chunks. <strong>
        Hybrid
      </strong>
      
       — both
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Top K
      </strong>
    </td>
    
    <td>
      How many chunks to retrieve (default 3)
    </td>
  </tr>
</tbody>
</table>

If the selected model lacks **tool-calling**, strategies remain editable but retrieval may be unreliable for agentic modes. You can also mention a knowledge base in the Task with `@kb:…` or attach it as a tool on the Tools tab.

## Configure Tools

Select tools the agent can call. The model must support **tool-calling**; otherwise the tools UI is blocked with a warning.

Use **Manage Tools** to pick callable tools, grouped for example as:

<table>
<thead>
  <tr>
    <th>
      Group
    </th>
    
    <th>
      What you attach
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Services
      </strong>
    </td>
    
    <td>
      <strong>
        Tools from connected accounts
      </strong>
      
       (blocks/actions the integration exposes)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Blocks
      </strong>
    </td>
    
    <td>
      Workspace/block tools, including <a href="https://docs.vettero.com/build/workflows/blocks/notification/send">
        Send Notification
      </a>
      
       for the in-app <a href="https://docs.vettero.com/concepts/notifications">
        bell inbox
      </a>
      
      . Recipients are workspace members and/or <a href="https://docs.vettero.com/configuration/roles">
        roles
      </a>
      
      . Tenant-wide send is not available on agents.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Agent
      </strong>
      
       / <strong>
        <a href="https://docs.vettero.com/build/workflows">
          Workflow
        </a>
      </strong>
    </td>
    
    <td>
      Other agents or workflows as tools
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Function
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/functions">
        Functions
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Skills
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/skills">
        Skills
      </a>
      
      . Selecting at least one skill also attaches <code>
        get_skill
      </code>
      
      , which loads the skill body by name.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Chat Widget
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/chat-widgets">
        Chat widgets
      </a>
      
       as renderable tools
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Table/Query
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/data/tables">
        Tables
      </a>
      
       and <a href="https://docs.vettero.com/build/queries">
        queries
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Api
      </strong>
      
       / <strong>
        MCP
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/integrations/apis">
        API schemas
      </a>
      
       and <a href="https://docs.vettero.com/integrations/mcp-integrations">
        MCP integration
      </a>
      
       tools
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Kb
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/data/knowledge-bases">
        Knowledge bases
      </a>
      
       as retrieval tools
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        WhatsApp templates
      </strong>
    </td>
    
    <td>
      <a href="https://docs.vettero.com/templates/whatsapp-templates">
        WhatsApp templates
      </a>
      
       when available for the channel
    </td>
  </tr>
</tbody>
</table>

Typing `#` in Task and selecting a tool also attaches it to this list.

### Tool approval

When a tool requires approval, the agent **pauses** the chat/run until someone **approves** or **rejects**. On reject (or non-approval), the tool is not executed and the model is told the outcome.

<table>
<thead>
  <tr>
    <th>
      Mode
    </th>
    
    <th>
      Behavior
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        No approval
      </strong>
    </td>
    
    <td>
      Tool runs without a human gate
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Require role approval
      </strong>
    </td>
    
    <td>
      Select one or more workspace <a href="https://docs.vettero.com/configuration/roles">
        <strong>
          roles
        </strong>
      </a>
      
      . An approval request is created for those roles and appears on the <strong>
        Approvals
      </strong>
      
       page. <strong>
        Any user with one of those roles
      </strong>
      
       can approve or reject. If the current chat user already has an approval role, they can approve <strong>
        inside the chat
      </strong>
      
       without leaving the conversation.
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Require current user approval
      </strong>
    </td>
    
    <td>
      The current chat user must approve (<strong>
        chat
      </strong>
      
       channel only)
    </td>
  </tr>
</tbody>
</table>

For [workflow](https://docs.vettero.com/build/workflows) **Request Approval** / **Request Information** blocks and the Approvals UI, see [Approval Flow](https://docs.vettero.com/concepts/approval-flow).

## Configure Guardrails

Guardrails are on by default. The **Policy** is added to the task. Put `{{ ctx.prompts.rejectionPolicy }}` in the task to choose where it goes. If you leave it out, the policy is appended.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Enable Guardrails
      </strong>
    </td>
    
    <td>
      Turns the feature on. The policy cannot be empty
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Policy
      </strong>
    </td>
    
    <td>
      Required text. It is added to the task, and the checker enforces it
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Fallback Message
      </strong>
    </td>
    
    <td>
      Default: <code>
        I cannot help with that request.
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Enable Moderator
      </strong>
    </td>
    
    <td>
      Optional LLM or TypeSafe checker. Each check is an extra call, so cost and delay go up
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Check Input
      </strong>
    </td>
    
    <td>
      Scan the latest user message before the model
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Check Output
      </strong>
    </td>
    
    <td>
      Scan the reply. On deny, replace it with the fallback
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Per reply
      </strong>
    </td>
    
    <td>
      One check when the reply finishes
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Per sentence
      </strong>
    </td>
    
    <td>
      A check at the end of each sentence while the reply streams
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Moderator
      </strong>
    </td>
    
    <td>
      <strong>
        TypeSafe
      </strong>
      
       or <strong>
        LLM
      </strong>
      
      . The question is built from the policy
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        LLM
      </strong>
    </td>
    
    <td>
      Required when Moderator is <strong>
        LLM
      </strong>
      
      . Separate model for the checker (prefills from admin Platform LLMs defaults when set). Does not use the main agent LLM.
    </td>
  </tr>
</tbody>
</table>

In a live chat the user sees the reply until the checker rejects it. The text is then replaced with the fallback.

The policy is still added on **voice** and **realtime voice**. The checker does not run there.

## Configure Arguments

Optional JSON Schema for structured inputs into the run.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Enable Arguments
      </strong>
    </td>
    
    <td>
      Turns args on; turning off clears the schema
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Arguments schema
      </strong>
    </td>
    
    <td>
      Object-root JSON Schema builder
    </td>
  </tr>
</tbody>
</table>

Use Liquid `{{ args.fieldName }}` (and other rendered variables) in Task and Input. In Preview, **Edit Args** fills values for the session.

## Configure Result

Hidden for **Realtime Voice**. When enabled, the agent returns a structured JSON result instead of plain text.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Structured result (JSON Schema)
      </strong>
    </td>
    
    <td>
      Requires a model with <strong>
        structured-output
      </strong>
      
      ; cleared automatically if the model does not support it
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Result schema
      </strong>
    </td>
    
    <td>
      JSON Schema for the structured payload
    </td>
  </tr>
</tbody>
</table>

## Configure Suggestions

**Chat channel only** (not General — General is a functional agent). Also hidden for voice, realtime voice, and WhatsApp. Suggests follow-up replies during conversations.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Enable Suggestions
      </strong>
    </td>
    
    <td>
      Off
    </td>
    
    <td>
      Turn suggestions on
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Number of Suggestions
      </strong>
    </td>
    
    <td>
      3
    </td>
    
    <td>
      How many suggestions to generate
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Number of Messages to Keep
      </strong>
    </td>
    
    <td>
      10
    </td>
    
    <td>
      Recent messages used as context
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        LLM
      </strong>
    </td>
    
    <td>
      Required when enabled
    </td>
    
    <td>
      Separate text-generation + structured-output model (prefills from admin Platform LLMs defaults when set)
    </td>
  </tr>
</tbody>
</table>

## Configure Starters

Up to **5** prompts shown as buttons when a chat starts with no messages. The user taps one to send it as their first message. Hidden for voice, WhatsApp, and non-conversational setups. Add or remove starter message strings in the list.

## Configure Context

Conversational text channels only (hidden for voice / realtime voice). Controls how long histories are kept.

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Default
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Enable Context Management
      </strong>
    </td>
    
    <td>
      Off
    </td>
    
    <td>
      Turn trimming/summarization on
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Context Management Strategy
      </strong>
    </td>
    
    <td>
      Trim
    </td>
    
    <td>
      <strong>
        Trim Old Messages
      </strong>
      
       or <strong>
        Summarize Old Messages
      </strong>
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Trigger Messages Count
      </strong>
    </td>
    
    <td>
      100
    </td>
    
    <td>
      Start managing when history reaches this many messages (min 10, step 10)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Messages to Keep
      </strong>
    </td>
    
    <td>
      10
    </td>
    
    <td>
      How many recent messages to retain
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        LLM
      </strong>
    </td>
    
    <td>
      Required for Summarize
    </td>
    
    <td>
      Model used to condense older messages (prefills from admin Platform LLMs defaults when set)
    </td>
  </tr>
</tbody>
</table>

## Configure STM

Conversational text channels only (hidden for voice / realtime voice). **STM** is Short-Term Memory for files (and vision when applicable).

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Load Files into STM
      </strong>
    </td>
    
    <td>
      Load uploaded files into short-term memory. Requires <strong>
        tool-calling
      </strong>
      
      ; disabled with a warning otherwise
    </td>
  </tr>
  
  <tr>
    <td>
      Non-text modalities
    </td>
    
    <td>
      If the model accepts image (or other non-text) input, those file types load <strong>
        automatically
      </strong>
      
       even when the toggle is off
    </td>
  </tr>
</tbody>
</table>

## Preview and debug

The right pane tests the live configuration.

<table>
<thead>
  <tr>
    <th>
      Control
    </th>
    
    <th>
      What it does
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Start Preview
      </strong>
    </td>
    
    <td>
      Begins a preview session (config must be valid; save when dirty)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Text Chat
      </strong>
      
       / <strong>
        Voice Chat
      </strong>
    </td>
    
    <td>
      Voice channel: pick text or full voice (voice needs STT/TTS complete)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Realtime Voice
      </strong>
    </td>
    
    <td>
      Connect mic, mute/unmute, end call; optional text fallback if speech is missed
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Debug
      </strong>
    </td>
    
    <td>
      Toggle debug output for the session
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Edit Args
      </strong>
    </td>
    
    <td>
      Set Argument values for this preview (empty if Arguments are off)
    </td>
  </tr>
  
  <tr>
    <td>
      Reset
    </td>
    
    <td>
      Clear the preview session and start over
    </td>
  </tr>
</tbody>
</table>

Fix validation errors from the Config panel before preview will start.

## Where agents are used

<table>
<thead>
  <tr>
    <th>
      Place
    </th>
    
    <th>
      How
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/integrations/chat-integrations">
          Chat integrations
        </a>
      </strong>
      
       / <strong>
        <a href="https://docs.vettero.com/build/channels/in-app">
          In App channels
        </a>
      </strong>
    </td>
    
    <td>
      Web widget or sidebar chat bound to this agent
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/build/channels">
          Channels
        </a>
      </strong>
    </td>
    
    <td>
      Default agent for inbound chat/voice, or start a chat on a channel with a chosen agent
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Other agents
      </strong>
    </td>
    
    <td>
      Attached as an <strong>
        Agents
      </strong>
      
       tool
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/build/workflows">
          Workflows
        </a>
      </strong>
    </td>
    
    <td>
      Agent blocks / tools that run or hand off to an agent
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/build/functions">
          Functions
        </a>
      </strong>
    </td>
    
    <td>
      Bound <code>
        agent
      </code>
      
       resource and <code>
        await vt.runAgent(key, input?)
      </code>
      
       (general channel)
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/configuration/mcp-servers">
          MCP Servers
        </a>
      </strong>
    </td>
    
    <td>
      Expose workspace agents as tools on an MCP server when configured
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/activity/schedule">
          Schedule
        </a>
      </strong>
    </td>
    
    <td>
      One-time runs that start this agent
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        <a href="https://docs.vettero.com/activity/trash">
          Trash
        </a>
      </strong>
    </td>
    
    <td>
      Soft-deleted agents can be restored within retention
    </td>
  </tr>
</tbody>
</table>

## Limits and tips

- Pick a model with **tool-calling** if you need tools, agentic RAG, or Load Files into STM.
- **Structured result** and suggestion LLMs need **structured-output** support.
- The guardrail policy is part of the task. The optional checker is a separate LLM or TypeSafe call and adds cost.
- Starters max out at **5** agent-opening messages.
- Tool approvals pause the run until approve/reject; role holders use **Approvals** (or in-chat when they hold an approval role). See [Approval Flow](https://docs.vettero.com/concepts/approval-flow).
- Voice preview needs STT/TTS (Voice) or provider + model + voice (Realtime Voice) before a voice session can start.
- Channel choice at create time drives which Config sections you see; change channel-related behavior carefully when switching surfaces.


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
