AgentClash Multi-Turn Operator
Purpose
Operate human takeover phases in multi-turn challenge packs: detect when a run agent awaits operator input and submit the next user message so the eval can continue.
Also record human scores for run agent turns (calibration reviews) and votes for arena tasks.
Use When
- A multi_turn pack includes a
humanphase in its user simulator manifest. - CLI or UI shows a run agent waiting for human input mid-run.
- An operator must reply as the end user during live eval observation.
- An operator must score a turn or select the winner of an arena task.
Do Not Use When
- The pack is single-turn or fully scripted/LLM-simulated, and the task is a human turn — no human turns exist.
- The run has not started — use
agentclash-eval-runnerfirst. - The task is authoring multi-turn pack YAML — see
/docs-md/challenge-packs/multi-turnand challenge-pack skills.
Inputs Needed
- Workspace ID and run ID.
- Run agent ID (from
agentclash run agents <runId> --json). - Human message text for the awaiting turn.
- Pack must use
execution_mode: multi_turnwith a human phase.
Environment
export AGENTCLASH_API_URL="https://api.agentclash.dev"
agentclash workspace use <WORKSPACE_ID>
agentclash run get <RUN_ID> --json
agentclash run agents <RUN_ID> --json
Procedure
- Confirm the run is
runningand the target run agent exists. - Check
agentclash run turn status <runAgentId> --run <runId>. - If
awaiting_humanis true, readturn_index,phase_id, and optionalprompt_hint. - Submit the operator message with
agentclash run turn submit. - Re-check status or follow run events until the agent completes the turn.
Commands
agentclash run turn status <RUN_AGENT_ID> --run <RUN_ID>
agentclash run turn status <RUN_AGENT_ID> --run <RUN_ID> --json
agentclash run turn submit <RUN_AGENT_ID> --run <RUN_ID> --message "I still want a full refund, not store credit."
agentclash run turn submit <RUN_AGENT_ID> --run <RUN_ID> --message "..." --json
API paths (for debugging):
- Status:
GET /v1/workspaces/{ws}/runs/{run}/run-agents/{runAgent}/turns/status - Submit:
POST /v1/workspaces/{ws}/runs/{run}/run-agents/{runAgent}/turnswith{"message":"..."}
Structured status fields:
awaiting_human— booleanturn_index— current turn number when awaitingphase_id— manifest phase identifierprompt_hint— optional operator guidance from the pack
Expected Output
- Status with no wait:
Awaiting human: no - Status when blocked:
Awaiting human: yesplus turn index and phase - Submit success:
Human turn submitted(human) or{"status":"submitted"}(JSON)
Failure Modes
- Missing
--run→ both commands require--run <RUN_ID>. - Missing
--messageon submit → required non-empty string. - Agent not awaiting human → API may reject submit; check status first.
- Wrong run agent ID → list agents on the run before submitting.
Calibration Reviews and Arena Votes
Use the workspace of the run agent or arena task. Use a turn index of 0 or more and a score from 1 to 5. The server keeps two decimal places of the score.
agentclash calibration create --run-agent <RUN_AGENT_ID> --turn 0 --score 4.5
agentclash calibration list
agentclash calibration list --json --query '.items[] | select(.run_agent_id == "<RUN_AGENT_ID>")'
The server returns the 100 most recent reviews at most. The query selects reviews from those results.
List the pending tasks and use one of the two winner flags. You can give one --rubric-score key=value flag for each rubric key.
agentclash arena tasks
agentclash arena vote <TASK_ID> --winner left --rubric-score recovery=4.5
The server returns up to 20 tasks. If the task is not in the list, give the run agent UUID of the winner with --winner-run-agent.
agentclash arena vote <TASK_ID> --winner-run-agent <RUN_AGENT_ID>
If the API returns arena_task_not_pending, the CLI exits with code 1. Use agentclash arena tasks to see the current list.
- No CLI command deletes a calibration review or an arena vote. Record one only when the operator gives the score or the winner.
- If
calibration createexits75, runagentclash calibration listbefore a retry. The first request can have recorded the review, and a retry records a second review. - One vote completes an arena task. If
arena voteexits75, the server can have recorded the first vote. Then the task is not in the pending list. A retry with--winnerexits64, and a retry with--winner-run-agentexits1witharena_task_not_pending.
Safety Notes
- Operator messages become part of the eval transcript — avoid real customer PII.
- Human turns affect scoring and calibration; confirm message intent with the operator when ambiguous.
Report Back Format
Run: <run_id>
Run agent: <run_agent_id> (<label>)
Awaiting human: <yes/no>
Turn index: <n or n/a>
Phase: <phase_id or n/a>
Message submitted: <yes/no>
Prompt hint: <summary or n/a>
Next: agentclash run events <run_id>
Related Skills
agentclash-hubagentclash-eval-runneragentclash-scorecard-readeragentclash-challenge-pack-planner
Related Docs
/docs-md/challenge-packs/multi-turn/docs-md/getting-started/first-eval/docs-md/reference/cli