Create, test and publish an AI agent
You build an agent as a draft, test it safely, then publish it as a numbered version.
- Plan
- Depends on your plan · Which plan do I need?
- Who can use this
- Account owner, Manager
You build an agent as a draft, test it safely, then publish it as a numbered version.
You build an agent as a draft, test it safely, then publish it as a numbered version. Customers only meet the live version. If something goes wrong, you can make an earlier version live again in one click.
AI → Agent Studio → Agents. The badge on each agent shows live vN or draft.
ai_agent).In the Create agent dialog, enter a Name, pick the Channels it may serve and click Create. Everything else happens on the canvas.
Set Snippets (how many passages the agent gets) and Match threshold ("0.30 is a good start").
The header shows Saving…, then Saved.
The dialog Publish this draft? lists blocking errors and warnings, or says No blocking errors.
Warnings do not stop you.
Publishing freezes the draft into a version that cannot change, and makes it live. Conversations already running keep their version. New conversations get the new one.
When the draft differs from the live version, you see Unpublished changes.
The list shows each saved version ("Immutable snapshots. The live pointer decides what new sessions run.").
Rollback only moves which version is live. It does not create a new version and does not change your draft. To copy an old version into the draft instead, click View on it in Versions, then click Load into draft in the read-only banner above the canvas and confirm (this replaces your current draft). Back to draft closes the version without changing anything.
The dialog Archive "…"? lists what archiving stops.
The agent no longer serves conversations. Its history and versions are kept, but it cannot be edited, tested or published again. Archived agents are hidden; click Show {n} archived in the list to see them.
ai_agent). Check Billing → Current Plan.Do it with Copilot
It is saved as a draft.
Do it with Copilot
Do it with Copilot
Publishing asks you to confirm.
Do it with Copilot
Always asks you to confirm.
Archiving an agent always needs a person's approval in the panel.
| What you see | Why | What to do |
|---|---|---|
| "{n} blocking error(s), fix them in the issues panel first." | The draft has errors | Open the issues panel and fix each one |
| "The draft changed elsewhere (Copilot or another tab) — reload to review it, then publish." | Someone else changed the draft | Reload, review, then publish |
| "Waiting for the draft to finish saving…" | The draft is still saving | Wait a moment |
| "Publish failed" | A server error | Try again. If it repeats, contact support |
model_provider_unconfigured | No AI provider is connected | An admin connects one in Agent Studio → Settings |
| "This agent is archived; archived agents cannot be published." | The agent is archived | Create a new agent |
| "Not published — plan limit" | Your plan's number of published agents is reached | Archive an agent you no longer need, or check Billing → Current Plan |