Agentclash agent deployment setup

From agentclash/agentclash · View interactive version

Agentclash agent deployment setup is an AI agent skill from the GitHub repository agentclash/agentclash. Use when creating, selecting, or diagnosing AgentClash agent deployments for runs, including ready build versions, runtime profiles, provider/model wiring, deployment IDs, workspace context, and run compatibility.

How to use this skill

Skill file

AgentClash Agent Deployment Setup

Purpose

Turn a ready AgentClash build version plus runtime/provider/model resources into an active deployment ID that runs and eval sessions can select.

Use When

Do Not Use When

Inputs Needed

Environment

Use hosted production by default:

export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash doctor

Commands that list or create deployments need a resolved workspace. Use agentclash workspace use <workspace-id>, --workspace, AGENTCLASH_WORKSPACE, or project config from agentclash init.

Procedure

  1. Verify CLI auth and workspace context with agentclash doctor.
  2. Inspect the build and build version with agentclash build get <BUILD_ID> and agentclash build version get <BUILD_VERSION_ID> --json. Stop if version_status is not ready.
  3. Confirm runtime resources exist: agentclash infra runtime-profile get <RUNTIME_PROFILE_ID>, agentclash infra provider-account get <PROVIDER_ACCOUNT_ID>, and agentclash infra provider-account models <PROVIDER_ACCOUNT_ID>.
  4. List existing deployments with agentclash deployment list --json to avoid duplicates.
  5. Create the deployment with flags, or with --from-file when you need deployment_config.
  6. Re-list deployments and record the created deployment ID, status, and current_build_version_id.
  7. Check run compatibility by confirming the deployment is active and can be passed to agentclash run create --deployments <DEPLOYMENT_ID>.
  8. Report deployment IDs and any blockers for agentclash-eval-runner.

Deployment Contract

Flag-based creation requires these CLI flags when --from-file is not used:

agentclash deployment create \
  --name support-bot-prod \
  --agent-build-id <AGENT_BUILD_ID> \
  --build-version-id <BUILD_VERSION_ID> \
  --runtime-profile-id <RUNTIME_PROFILE_ID> \
  --provider-account-id <PROVIDER_ACCOUNT_ID> \
  --model <PROVIDER_MODEL_ID>

The CLI requires --name, --agent-build-id, --build-version-id, and --runtime-profile-id before it sends a flag-based request. Native deployments also require provider_account_id and a nonblank model.

Use JSON when you need the complete API shape, including deployment_config:

{
  "name": "support-bot-prod",
  "agent_build_id": "<AGENT_BUILD_ID>",
  "build_version_id": "<BUILD_VERSION_ID>",
  "runtime_profile_id": "<RUNTIME_PROFILE_ID>",
  "provider_account_id": "<PROVIDER_ACCOUNT_ID>",
  "model": "gpt-4.1",
  "deployment_config": {}
}

Commands

export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash doctor

agentclash build get <BUILD_ID>
agentclash build version get <BUILD_VERSION_ID> --json

agentclash infra runtime-profile get <RUNTIME_PROFILE_ID>
agentclash infra provider-account get <PROVIDER_ACCOUNT_ID>
agentclash infra provider-account models <PROVIDER_ACCOUNT_ID>

agentclash deployment list --json
agentclash deployment create --help
agentclash deployment create --from-file deployment.json
agentclash deploy list
agentclash deploy create --from-file deployment.json

agentclash run create \
  --challenge-pack-version <CHALLENGE_PACK_VERSION_ID> \
  --deployments <DEPLOYMENT_ID>

Expected Output

Run Compatibility Checks

Failure Modes

Safety Notes

Report Back Format

Workspace: <workspace-id>
Deployment: <name> (<deployment_id>)
Status: <active | paused | archived | unknown>
Build: <agent_build_id>
Build version: <build_version_id> (<ready | blocked>)
Runtime profile: <runtime_profile_id>
Provider account: <provider_account_id>
Model: <provider model ID>
Run compatibility: <ready | blocked>
Next skill: agentclash-eval-runner
Notes: <runtime/model/provider/challenge-pack caveats>

Related Skills

Related Docs

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.