KlicForge Docs
Agents

Agent versioning

Edit a draft while production keeps serving the last published version, with history and one-click rollback.

Growth plan and above

By default every edit to an agent goes live the moment you save. Versioning separates the two: your agent becomes a draft you can edit freely, while production keeps serving the last published version until you publish again.

Versioning is opt-in per agent. Until you publish a first version, edits go live instantly as before.

Turning it on

Open the agent → Advanced tab → Versioning card → Publish first version.

Publishing changes

When the draft differs from what is published, a banner appears on the agent page.

ActionWhat it does
PublishFreezes the current draft as the new production version, live immediately
DiscardThrows away draft changes and restores the published version
HistoryLists past versions and restores any of them

Publishing is idempotent — if nothing changed, KlicForge tells you it is already up to date rather than creating a duplicate.

What Discard restores

Restored: agent settings, model, skill/tool/knowledge selection, prompt files, widget configuration, connection selections.

Not restored: allowed origins (always live), edits to shared skills, knowledge documents, channel credentials, evaluation suites and scheduled tasks. These live outside the agent's own configuration.

Rollback

Advanced tab → Versioning card → Version history (or History in the unpublished-changes banner) lists every published version, newest first. Restore → Restore version points production back at that version and resets the draft to match it, so any unpublished edits are lost — the dashboard asks before it does this. The same lists apply as for Discard.

Rollback is never blocked by an evaluation publish gate — it is the emergency path, and every target was live at some point already.

Publishing and rolling back with Klic

Klic can show an agent's versions and whether it has unpublished changes, and — for owners and admins — publish, roll back or discard the draft. Each of those waits for your yes in your next message. After an approved change set on a versioned agent, Klic tells you the change is only in the draft and offers to publish it.

What a version captures

A published version is a snapshot of the agent's full configuration: prompt files, model and fallbacks, temperature and session settings, attached skills and tools, the knowledge source list, guardrails and widget configuration.

Two things are deliberately not frozen:

  • Name, slug and status. Renaming an agent or switching it to inactive still works while versioning is on, so the on/off switch never gets stuck behind a publish.
  • Knowledge index content. Only the list of attached knowledge sources is versioned, not the documents themselves. Re-uploading or re-embedding a source changes retrieval for every version, including old ones.

That second point matters when comparing evaluation runs: a rerun of an old snapshot uses today's knowledge content, not the content as it was when the snapshot was taken.

Testing before publishing

The agent's test chat has a draft / published toggle, so you can talk to your unpublished draft and the live version side by side before deciding.

Plan limits

PlanVersioningVersions kept per agent
Starter——
Startup——
Growth✓5
Business✓20
Enterprise✓Unlimited

"Versions kept" is a rollback window — how many recent versions stay restorable. Publishing a sixth version on Growth does not fail; the oldest simply drops out of the window.

If you downgrade

Downgrading below Growth does not change what customers see — the agent keeps serving its published version.

What stops is publishing. Edits still save to the draft but cannot be promoted. Two ways forward:

  1. Upgrade back to Growth or above and carry on publishing.
  2. Turn versioning off — production goes back to serving the live configuration and every edit takes effect immediately. Any unpublished draft changes go live at that moment. Version history is kept.

Turning versioning off is available on every plan.

Was this page helpful?

On this page