What is versioned
Versions are numbered from 1. Each earlier version stays readable after a newer one is saved, and a released version never changes; a change always produces a new one.
The skills manifest
The skills manifest lists each skill the agent uses, pinned to one skill version. It works like a lockfile: when a skill releases a new version, the agent keeps the version it pinned until someone changes the manifest, which saves a new agent version.- Leave out
version_ordinalto pin the current release. The skill must have a release; otherwise name a version. - Each skill appears once, and a version can pin at most 64 skills.
- Atlan records the skill’s content digest for each pin, copied from the pinned version. You don’t send it.
- An archived skill can’t be added. A pin you already have is kept.
[]pins no skills. It also removes the agent’s derived “uses skill” relationships.nullstops managing skills through the manifest and leaves existing relationships alone.
How a version is created
Rules for
POST …/versions:
version_labelis a human label, such asv1.2.0.latestis reserved.auto_release: leave it out to follow the workspace’s release policy, or sendfalseto keep the version unreleased.trueunder a manual policy is refused with422.- Concurrent edits are refused. If someone else saved a version after you read the agent, the request fails with
412. Read the agent again and retry. - An archived agent can’t take a new version. The request fails with
409.
Read versions
In the app: Open the agent’s profile, select Settings, and find Releases: “The versions of this agent and the channels each one ships on.”- Current release shows the version clients get and the publishing policy.
- Unreleased changes appears when a newer version isn’t released yet. People with permission see Prepare release.
- Release history lists releases newest first. Withdrawn releases stay on the record.
GET /agent/v1/agents/{agent_id}/versions lists versions newest first, as summaries without definition fields. GET /agent/v1/agents/{agent_id}/versions/{version_ordinal} returns exactly what one version said.
When a manifest is refused
A manifest that breaks one of the rules above is refused with400, and no version is saved. Check that each skill exists and isn’t archived, appears once, and has a release or a named version_ordinal, and that the manifest has 64 skills or fewer.
Related
- Edit an agent: Change an agent from its profile.
- Register agents through API: Create agents and publish versions from code.
- How skill versions and releases work: The skill versions an agent pins.