Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

agent-setup changedmanaged-agents/agent-setup

Nearest release: v2.1.238, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+51added
Lines−26removed
From line 52 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits25to this page, all time

The whole hunk

from line 52, old and new numbered
/
lines
from line 52
5252 AGENT_VERSION=$(jq -r '.version' <<< "$agent")
5353 ```
5454 
55 ```bash CLI
56 agent=$(ant beta:agents create \
57 --name "Coding Assistant" \
58 --model '{id: claude-opus-5}' \
59 --system "You are a helpful coding agent." \
60 --tool '{type: agent_toolset_20260401}' \
61 --format json)
55 <MultiFileExample language="cli" label="CLI">
56 ```bash CLI
57 agent=$(ant beta:agents create --format json < coding-assistant.agent.yaml)
6258 
63 AGENT_ID=$(jq -r '.id' <<< "$agent")
64 AGENT_VERSION=$(jq -r '.version' <<< "$agent")
65 ```
59 AGENT_ID=$(jq -r '.id' <<< "$agent")
60 ```
6661 
62 <File filename="coding-assistant.agent.yaml">
63 ```yaml
64 name: Coding Assistant
65 model:
66 id: claude-opus-5
67 system: You are a helpful coding agent.
68 tools:
69 - type: agent_toolset_20260401
70 ```
71 </File>
72 </MultiFileExample>
73 
6774 ```python Python
6875 agent = client.beta.agents.create(
6976 name="Coding Assistant",
from line 228
221228 echo "Inference geo: $(jq -r '.model.inference_geo' <<< "$agent")"
222229 ```
223230 
224 ```bash CLI
225 agent=$(ant beta:agents create \
226 --name "Geo-pinned assistant" \
227 --model '{id: claude-opus-5, inference_geo: us}' \
228 --system "You are a helpful assistant." \
229 --format json)
231 <MultiFileExample language="cli" label="CLI">
232 ```bash CLI
233 agent=$(ant beta:agents create --format json < geo-pinned.agent.yaml)
230234 
231 echo "Inference geo: $(jq -r '.model.inference_geo' <<< "$agent")"
232 ```
235 echo "Inference geo: $(jq -r '.model.inference_geo' <<< "$agent")"
236 ```
233237 
238 <File filename="geo-pinned.agent.yaml">
239 ```yaml
240 name: Geo-pinned assistant
241 model:
242 id: claude-opus-5
243 inference_geo: us
244 system: You are a helpful assistant.
245 ```
246 </File>
247 </MultiFileExample>
248 
234249 ```python Python
235250 agent = client.beta.agents.create(
236251 name="Geo-pinned assistant",
from line 367
352367 echo "New version: $(jq -r '.version' <<< "$updated_agent")"
353368 ```
354369 
355 ```bash CLI
356 ant beta:agents update \
357 --agent-id "$AGENT_ID" \
358 --version "$AGENT_VERSION" \
359 --system "You are a helpful coding agent. Always write tests."
360 ```
370 <MultiFileExample language="cli" label="CLI">
371 ```bash CLI
372 ant beta:agents update --agent-id "$AGENT_ID" < coding-assistant.agent.yaml
373 ```
374 
375 <File filename="coding-assistant.agent.yaml">
376 ```yaml
377 name: Coding Assistant
378 model:
379 id: claude-opus-5
380 system: You are a helpful coding agent. Always write tests.
381 tools:
382 - type: agent_toolset_20260401
383 ```
384 </File>
385 </MultiFileExample>
361386 
362387 ```python Python
363388 updated_agent = client.beta.agents.update(
Feedback