Skip to main content
Who: an agent builder with Model manage permission, in a project that has a running deployment
Choose the agent type.

Choose the agent type.

The agent builder: input, system prompt, messages and output.

The agent builder: input, system prompt, messages and output.

An agent is a prompt, a model and a set of rules for how it runs. You build it in the agent builder, test it in the same window, and ship every change as a new version. Callers pick an agent by name, and optionally by version.

Before you start

  • The project needs at least one running deployment of a text model. The agent runs on it.
  • You need Model manage permission in the project to create or change agents. Model view lets you open and read them.
  • An agent has a name (the Deployment Name you choose when you create it) and numbered versions. Callers use the name as prompt.id.

Create an agent

Who: Model manage permission in the project Where: Agents → + Agent
  1. Select Projects: choose the project and click Next.
  2. Select Agent Type: choose Agent (a prompt-based agent) and click Next. External Agent registers a remote A2A agent instead (Giving agents tools and skills). Agent Workflow is shown but not yet available.
  3. The agent builder opens with one agent box, V1. Click Load Model in the box header and pick the deployment the agent runs on.
  4. Click the System Prompt card and write the instructions.
  5. Optionally, on Prompt Messages, add example messages.
  6. Click Save in the box header.
  7. Fill in Agent Configuration (table below) and click Next.
  8. If the platform found configuration warnings, review them and choose Back or Proceed Anyway. The success step shows the agent’s URI.

Agent Configuration fields

You can hold at most three agent boxes in the builder at once. Opening a fourth shows “Maximum of 3 agent boxes allowed”.

The builder’s four cards

The builder shows Input, System Prompt, Prompt Messages and Output as cards. Click a card’s expand icon (Expand system prompt, Expand input settings and so on) to open the full-screen editor, which has one tab per card: Input, System Prompt, Prompt Message and Output.

System prompt

The system prompt is the standing instruction the model sees on every call. The compact card is a plain text box (Enter system prompt…) that you can resize. The expanded editor adds:
  • Syntax colouring for {{ variable }} (a value), {% if %} (logic) and | filter (a transform). The prompt is a Jinja template, so you can use conditions and loops.
  • Find and replace, including replace-all.
  • Insert variable, and an autocomplete that opens when you type {{.
  • A Variables panel on the right that lists every variable found in the text with its type and how many times it is used, and an outline of the prompt’s sections.

Prompt messages

Prompt messages are fixed example turns that come before the caller’s message. Use them to show the tone or format you expect.

Add variables and structured input and output

Variables

A variable is a value the caller (or the platform) fills in each time the agent runs. Write it as {{ name }} in the system prompt or a prompt message.
  • Quick way: type {{ in the prompt and pick a name from the list, or choose Create new to register one on the spot.
  • From the toolbar: Insert variable → Add variable.
  • Built-in variables: type {{ bud. to list the platform’s own values. They are filled in automatically on every run and the caller cannot override them.
The same names drive the Only when conditions in governance rules (Governing and supervising agents).

Variable fields (Input card, Structured input on)

Structured input

On the Input card, turn on Structured input and define the fields above. Callers then send those fields in prompt.variables. Document required and Image required make an attachment mandatory. The expanded editor previews the JSON schema these fields produce.

Structured output

On the Output card, turn on Structured output and define the fields in the same way (name, description, type, default, validation). The agent’s answer is then JSON that matches the schema. Streamed answers are checked against it as they arrive.
Turn structured output on only when something downstream reads the answer by field name. A free-text answer is easier for people to read.

Test while you build

  1. Click the play icon (Run Agent) in the builder’s left rail. A chat opens with the agent, with its tool calls shown live as they happen.
  2. Change the prompt or settings, save, and chat again. Back to Agent Settings returns to the editor.
  3. Click New chat window to open a second agent box, up to three. Give each a different model, prompt or setting and send the same message to compare.
Test chats are real runs: the agent calls its attached tools for real, so use a test project or read-only tools while you build.