Version Set CLI Reference
Complete forge version-set, forge service, and forge asset command reference for listing, pinning, promoting, and rolling back Concurrence service version sets.
This page is the Agent Forge CLI reference for working with version sets: the forge version-set commands that create, compare, promote, and roll back version sets, plus the forge service and forge asset commands you use to discover services and asset versions before pinning them. For the concepts behind version sets and the recommended promotion workflow, see Version Sets & Promotion.
Managing Version Sets (forge version-set)
List Version Sets
forge version-set list MyService -e production
# JSON output for scripting
forge version-set list MyService -e production --jsonShows all version sets for a service with their pinned versions and LLM preferences.
Create/Update a Version Set
# Create with unpinned versions (dev only)
forge version-set upsert personal-alex -s MyService -e dogfood --apply
# Create with pinned versions (resolves current latest)
forge version-set upsert personal-alex -s MyService -e dogfood --latest --apply
# Create by copying from another version set
forge version-set upsert preview -s MyService -e production --copy-from test --apply
# Pin specific versions
forge version-set upsert preview -s MyService -e production -a 5 -g 3 --applyVersion Existence Validation
When pinning to specific versions using -a (agent) or -g (context graph) flags, the CLI validates that those versions actually exist before applying the change.
For advanced users who need to bypass this validation (for example, in automation scripts where versions may be created in parallel), use the --skip-version-check flag.
Compare Version Sets
Shows a side-by-side comparison of two version sets, highlighting differences.
Promote Version Sets
Rollback Version Sets
If a release causes issues, quickly revert to the previous configuration.
This is equivalent to forge version-set promote release-previous release, but makes the intent clearer and shows a comparison of the configurations.
Show Version Set Details
Delete a Version Set
Discovering Services (forge service)
Before working with version sets, you may need to discover what services exist and their current configuration. Use forge service commands to list and inspect services.
List Services
Output shows services with their tags and version set counts:
Show Service Details
Output includes linked assets and version set configuration:
Check Service Health Status
Monitor the health of services across your organization to catch configuration issues.
Detected Issues:
Version set drift: preview and release configurations differ.
Missing version sets: production services missing preview or release.
Unpinned versions: production services with non-edge version sets using
latest.
Example Output:
Discovering Asset Versions (forge asset)
Before pinning specific versions in a version set, you need to know what versions exist. Use forge asset commands to discover agent and context graph versions.
List Agent Versions
Output shows version numbers with creation timestamps:
List Context Graph Versions
Output includes a state count for each version:
Show Version Details
Check Behavior Invocations
Workflow: Pin Discovered Versions
Pre-Flight Validation
All mutating version-set commands (upsert, promote, delete) run pre-flight validation before applying changes. Configurations are validated before they reach the remote API.
Version-set-specific rules:
Version existence check
All upsert commands
Error if a pinned agent or context graph version doesn't exist (bypass with --skip-version-check, see above)
Pinned versions required
Production services
Error if agent/context graph version is null
Cannot delete preview/release
Production services
Error blocks deletion
Preview required for release promotion
Production services
Error if preview doesn't exist
Channel and LLM rules (voice-optimized models, cost tiers, regional availability) are driven by the service's tags. See Channel Tagging: Validation for the full rules table.
Example: Blocked Mutation
Example: Warning (Non-blocking)
Warnings are displayed but don't block the operation.
Related Documentation
Version Sets & PromotionChannel Tagging SystemLast updated
Was this helpful?

