Skip to content

Create your first agent

An agent is a system prompt, a model and a set of channels, plus whatever knowledge, tools and skills you attach to it. You create it in three short steps; everything else is set in the agent editor, which saves each field as you change it.

A workspace admin adds the API key for the model providers you plan to use in Workspace settings. When you create an agent, you see which providers have a key, and only those can be chosen.

Creating agents needs the agents.create permission, and editing them agents.edit. See Users and roles.

Open Agents and select New agent. The New agent page asks three things:

  1. Purpose:
    • Name: the name people see in the agent list, the web chat picker and the canvas.
    • The agent ID is suggested from the name as you type, for example billing-support. It’s used in the agent’s integration URLs and can’t change later. To choose your own, select Edit ID: letters, numbers, _ and -, 3 to 100 characters.
    • Description (optional): what the agent does. It also starts the instructions, as “You are name. description”. You write them in full in the editor afterwards.
  2. Model:
    • Models are grouped by provider. A provider with a key reads Key configured. One without reads No key, with Add key in Settings for people who can open Settings, and its models can’t be chosen.
    • The newest model of the first provider with a key is picked for you and marked Recommended. Select Show all N models to see the rest.
    • Select Deep agent for an agent that plans before acting, uses skills and memory, hands work to sub-agents and runs commands. See Deep agents.
    • Models that run on your own hardware aren’t offered here: choose them later in the editor’s Model tab. See Local models.
  3. Where it serves: Web chat is selected, so the agent appears in the workspace chat. Clear it if you don’t want that. The other channels are connected after creating, in the editor’s Channels tab. Google Chat, A2A and CLI start on; turn off the ones you don’t need there.

Select Create agent. The agent opens on its canvas, with the setup guide over it.

A new agent starts with a temperature of 0.7, a maximum output of 8,192 tokens (or the model’s own maximum, if that is lower), and its model as the only one allowed in web chat. Change any of them in the Model tab.

There are three other ways to start an agent:

  • Create with AI, for workspace admins, opens the Agent Builder: an agent that designs and creates agents through conversation.
  • Import from Git creates agents from the AGENTS.md or CLAUDE.md files in a repository, as drafts to review. See Import an agent stack from Git.
  • Import creates an agent from a file exported from another workspace. See Export and import.

A new agent lands on its canvas with Set up name, a guide of four steps. Each tick is read from the agent as it is now, so it follows changes made anywhere.

Step Done when Button
Create the agent Always
Connect resources At least one tool, knowledge base, MCP server, sub-agent or skill is attached. Add resources opens the list of resources over the canvas.
Test Someone has sent at least one test message to the agent’s current configuration. Any change to its behaviour starts the count again. Open test chat opens the test chat.
Publish & connect channels Without versioning, at least one channel is on. With versioning, the agent is also published. Open channels opens the Channels tab. With versioning on and nothing published yet, Publish opens the publish review.

Collapse the guide with its arrow, or close it. Closing it is remembered for that agent in this browser. The guide is hidden in the Published view.

You can open an agent’s editor in two places. Both show the same editor and save the same way.

  • The agent page: the pencil icon (Edit) on the agent’s card in Agents. Open canvas at the top goes to the canvas.
  • The canvas: select the agent node to open the editor in the side panel. Agent page at the top goes back to the agent page.

There’s no save button. A switch or a list saves as soon as you change it. A text or number field saves a second after you stop typing, or when you leave the field or press Enter.

  • Next to a field, Saving… shows while it saves and Saved ✓ once it’s saved. If a save fails, the field reads Not saved, with Retry and Undo. A value the agent can’t take, such as instructions shorter than 10 characters, shows the reason under the field.
  • The pill next to the agent’s name sums it up. Without versioning it reads Live, for example Live · saved 2 s ago. With versioning it reads, for example, Draft · 3 unpublished changes or Published · v4 · up to date.
  • If someone else saved the same field after you opened the agent, your change isn’t applied: the field shows their value and a notice names the field.
  • If you leave the page while a save is still on its way or has failed, you’re asked before leaving.

Without versioning, every change reaches the agent’s channels as soon as it’s saved. To try changes before anyone sees them, select Enable versioning at the top. See Drafts and publishing.

The editor has six tabs.

Field What it does
Agent ID Fixed when the agent is created. Integration URLs and channel webhooks point at it.
Name, Description How the agent appears in the agent list, the web chat picker and the canvas.
Group, Tags Where the agent sits on the Agents board. Pick a group or type a new one, and add tags to filter the list.
Avatar An image shown with the agent’s replies in web chat.
Agent type Classic: a conversational agent, or Deep: planning, skills, memory and sub-agents. See Deep agents.
Field What it does
Provider Google Gemini, Google Gemini (Vertex AI), OpenAI, Anthropic, Anthropic (Vertex AI), Local (Ollama), Local (oMLX) or OpenCode Go. Changing it picks that provider’s newest model and clears the models allowed in web chat.
Model The model the agent uses by default. The list shows the provider’s models, newest first.
Allowed models in webchat The models people can switch to in the workspace web chat when talking to this agent. Select at least one to show the model picker there.
Temperature 0.0 to 2.0. Empty uses 0.7. Lower values give more consistent answers; higher values more varied ones. Hidden for models that don’t accept a temperature, such as GPT-5 and later, Claude Opus 4.7 and 4.8, and the Claude 5 models. On a model that thinks, it’s ignored while thinking is on.
Max output tokens The longest reply the model may write in one turn. The upper limit depends on the model and is shown under the field; switching to a model with a lower limit lowers the value to fit. Empty uses 1,000.

The newest models of each provider:

Provider Newest models
Anthropic, Anthropic (Vertex AI) Claude Opus 5.5, Claude Sonnet 5.5, Claude Haiku 5.5, Claude Fable 5.1
OpenAI GPT-6.1 Sol, GPT-6 Sol, GPT-6 Luna, GPT-6 Astra
Google Gemini, Google Gemini (Vertex AI) Gemini 3.8 Flash, Gemini 3.7 Flash, Gemini 3.6 Flash, Gemini 3.5 Flash

For Anthropic, Gemini and OpenAI models, Native capabilities shows what the selected model itself offers. Each control appears only when the model has it, and changes when you pick another model; a setting the new model can’t use is dropped.

Control What it does
Thinking Lets the model reason before it answers: better on hard tasks, at the cost of more output tokens and time. Models that always reason have no switch, only the level.
Effort, Thinking level or Thinking budget (tokens) How hard the model thinks, in the model’s own terms: an effort such as low, medium or high on Claude and GPT models, a level on Gemini 3, or a token budget on Gemini 2.5 and Claude Haiku 4.5. Model default shows the model’s default; an empty budget lets the model decide.
Show reasoning Deep agents only. Shows a summary of the model’s reasoning above each answer in web chat, Telegram, Slack and Google Chat. OpenAI models only return summaries.
Prompt caching Reuses the system prompt, tools and conversation between turns at a fraction of the input price. On Claude, choose the Cache lifetime: 5 minutes, or 1 hour for slower conversations (cache writes cost more). Deep agents always cache on Claude; you only choose the lifetime. On Gemini and OpenAI caching is automatic.
Web search The provider’s own web search: the model searches and cites its sources. The provider bills each search.
Web fetch The provider reads a web page whose address is already in the conversation and gives the model its content. Not available for Claude on Vertex AI.
Tool search Claude only. Loads the agent’s tools when they’re needed instead of sending every definition on every call. Worth it with 10 or more tools.

When thinking is on for a Claude model, Max output tokens is raised to 16,000 if it’s lower, so the reasoning doesn’t cut the answer short. The tab says so.

Web search, web fetch and tool search run at the provider, not in VirtuAI: they skip the agent’s command approvals and any network policy, and each model call can use them at most 5 times. In web chat, searches and pages read appear in the reply where they happened, with their sources. See Web chat.

OpenCode Go models keep their own controls:

  • Prompt caching reuses the system prompt and tool definitions between turns to cut token cost and latency.
  • Thinking level, shown only for models that support it: Fast, Balanced (default) or Deep. The level is mapped onto the tiers of whichever model you choose, so it keeps working if you switch models. On the GLM models, Balanced lets the model think at its own default, because their lower tiers turn thinking off.
  • Show reasoning, deep agents only: what thinking models such as MiMo, GLM, Kimi, DeepSeek, MiniMax and Qwen reason before each step, folded above the answer in web chat, Telegram, Slack and Google Chat. On by default. The reasoning is never shown as the answer.

Temperature is hidden for GPT 5.6 Luna, GPT 6 Luna, Kimi K2.7 Code and Claude Haiku 5.5, which don’t accept one.

OpenCode Go includes Grok 4.7, GPT 6 Luna, Claude Haiku 5.5, MiMo-V2.6-Flash, MiMo-V2.6-Pro and Space Bunny. These models don’t offer Thinking level yet.

With Local (Ollama) or Local (oMLX), the model runs on a machine you control, connected through the VirtuAI CLI: the user’s own computer, or a shared machine for the team. The agent answers on every channel. Full setup: Local models.

  • Model becomes free text: an Ollama tag such as qwen3:8b, or an oMLX model ID such as Qwen3-8B-4bit. The model must already be on the machine that serves it. The field lists the validated models: qwen3:8b, qwen2.5:7b, qwen2.5-coder:7b and qwen2.5:14b.
  • Fallback provider (cloud) and Fallback model answer when no connected machine can serve the model, and the person is told.
  • Max output tokens is the most the model generates in one turn. There is no preset maximum; about 4,096 is a safe start.
  • Native capabilities and the models allowed in web chat aren’t shown.

System prompt holds the instructions the agent follows on every turn: its role, its audience, its tone, what it must never do, and when to hand off to a person. It needs at least 10 characters; the counter under it shows its length. Write it the way you would brief a new team member: the goal, the audience, the rules, and what to do when unsure.

For a deep agent, the tab also has:

  • Skills: the workspace skills the agent can load when a task needs them.
  • Memory: the Initial memory and what the agent has learned. See Deep agents.

One card per channel, each with a switch and, once there is something to check, a status: Connected, Needs attention or Not connected. The canvas shows the same status on each channel node. Step-by-step setup for each channel is in the channels overview.

Channel What the card does
Web chat Lists the agent in the workspace web chat. Chat URL opens the chat with this agent picked: share it, or embed it in another site.
CLI Makes the agent reachable from the VirtuAI command-line client.
Google Chat Makes the agent answer in Google Chat spaces. Check Chat app setup checks the workspace’s Chat app, which an admin sets up in Settings. See Google Chat.
A2A Makes the agent answer other agent platforms, such as Gemini Enterprise. Off, its agent card and endpoint answer 404, even to a client with a credential. See A2A.
Telegram Paste the token from @BotFather and select Connect bot: VirtuAI checks the token with Telegram, saves it and registers the webhook in one step. The card then reads Connected as @bot and offers invite links and the list of authorized users. See Telegram.
Slack Paste the Bot token and Signing secret and select Connect: VirtuAI checks them with Slack and saves them. The card shows the Request URLs to paste into your Slack app. See Slack.
  • A token Telegram or Slack refuses isn’t saved, and the card says why. If the token is valid but a later step fails, for example Telegram refuses the webhook address, the token is kept and the card reads Needs attention: fix the cause and select Reconnect, with nothing to type again.
  • Tokens and secrets are encrypted and never shown again. A stored one reads “Stored; type a new one to replace it”.
  • Disconnect stops the bot answering. Turning Telegram or Slack off with its switch also removes the bot token and settings from the agent, after you confirm.
  • Telegram and Slack each have a Waiting message, shown while the agent works on a request. The animation shown with it is the workspace’s Working animation, the same on every channel. See While the agent works.

Integration URLs, at the bottom of the tab, lists every address the agent answers on, each with a copy button: Web Chat UI, Web Chat API and Web Chat API (Stream) for calling the agent from your own application, the Google Chat and Slack URLs, and A2A Agent Card and A2A Endpoint (JSON-RPC). Each belongs to this agent only, so different agents can serve different channels or bots.

With versioning on, channel credentials and the Telegram and Slack switches aren’t part of a version: they apply at once, to the published agent too. The Web chat, CLI, Google Chat and A2A switches wait for Publish.

Setting What it does
Read-only The agent can read, search and list files in its sandbox, but never write, edit or run commands.
Ask before running commands Deep agents only, on by default. Each shell command waits for the person to approve it in web chat or the CLI. See Command approvals.
Run commands from channels without approval (dangerous) Deep agents only, off by default. See Command approvals.
Standing approvals Deep agents only. The approvals people gave for more than one command. Revoke one to be asked again.

Versioning and publishing: turn versioning on or off, publish, set the publishing policy and see the version history. See Drafts and publishing.

Select Test at the top of the agent page or the canvas (Test draft with versioning on) to talk to the agent in a test chat beside the editor. See Test before you publish.

Each agent’s card on Agents has its actions in a row under the name: chat with the agent (Chat in web chat, or Test agent when web chat is off), Edit, Export as JSON, Open canvas and Delete. A deep agent that learned something no admin has reviewed yet also shows 🧠 N to review. See Deep agents.

To copy an agent to another workspace, export it and import it there. See Export and import.

On Agents, file agents into colored groups you can reorder (group names up to 40 characters), and add up to 8 tags per agent to filter the list.

Deleting an agent stops it on every channel straight away. Its pending reminders are cancelled, and a Google Chat app pointed at it replies that the agent is no longer available.