Guides

Builds and versions

Create agent builds, draft and validate build versions from a template or a spec file, mark them ready, and use them in deployments.

An agent build is a named agent definition. Each build holds a history of build versions. A version is a concrete spec that starts as an editable draft and becomes immutable once you mark it ready. Only ready versions can back a deployment.

Use agentclash build when you iterate on an agent from the terminal or a script instead of the web app.

Create a build

bash
1agentclash build create --name "support-agent" --description "Tier-1 support agent"
2agentclash build list
3agentclash build get <buildId>

build get shows the build with its version history.

Create a draft version

Start from a built-in template:

bash
1agentclash build version templates
2agentclash build version create <buildId> --template honest-agent

Or supply your own spec as JSON:

bash
1agentclash build version create <buildId> \
2  --agent-kind llm_agent \
3  --spec-file version-spec.json

--agent-kind is one of llm_agent, workflow_agent, programmatic_agent, multi_agent_system, or hosted_external. Run build version templates to see the template keys available to you.

Edit, validate, and mark ready

Drafts can be edited. Check the version before you freeze it:

bash
1agentclash build version get <versionId>
2agentclash build version update <versionId> --spec-file version-spec.json
3agentclash build version validate <versionId>
4agentclash build version ready <versionId>

Once a version is ready it is immutable and deployable. To change it, create a new draft version on the same build.

Feed a deployment

A deployment ties a ready build version to a provider account, a model, and a runtime profile:

bash
1agentclash deployment create \
2  --name "support-agent-prod" \
3  --agent-build-id <buildId> \
4  --build-version-id <versionId> \
5  --provider-account-id <providerAccountId> \
6  --model <model-id> \
7  --runtime-profile-id <runtimeProfileId>

The provider account and runtime profile come from Configure runtime resources.

See also