quickstart changedmanaged-agents/quickstart
Nearest release: v2.1.260, published an hour before 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+12added
Lines−14removed
From line
163
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits53to this page, all time
The whole hunk
from line 163, old and new numbered
/
from line 163
163163
164164 <MultiFileExample language="cli" label="CLI">
165165 ```bash CLI
166 AGENT_ID=$(ant beta:agents create --transform id --raw-output < coding-assistant.agent.yaml)
167
168 echo "Agent ID: $AGENT_ID"
166 ant apply coding-assistant.md
169167 ```
170168
171 <File filename="coding-assistant.agent.yaml">
172 ```yaml
169 <File filename="coding-assistant.md">
170 ```markdown
171 ---
173172 name: Coding Assistant
174 model:
175 id: claude-opus-5
176 system: You are a helpful coding assistant. Write clean, well-documented code.
173 model: claude-opus-5
177174 tools:
178175 - type: agent_toolset_20260401
176 ---
177
178 You are a helpful coding assistant. Write clean, well-documented code.
179179 ```
180180 </File>
181181 </MultiFileExample>
from line 336
336336
337337 The `agent_toolset_20260401` tool type enables the full set of pre-built agent tools (bash, file operations, web search, and more). See [Tools](https://platform.claude.com/docs/en/managed-agents/tools) for the complete list and per-tool configuration options.
338338
339 Save the returned `agent.id`. You'll reference it in every session you create.
339 Save the returned `agent.id` (the CLI's [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/scripting#version-controlling-api-resources) prints it and records it in `claude-lock.json`). You'll reference it in every session you create.
340340 </Step>
341341
342342 <Step title="Create an environment">
from line 368
368368
369369 <MultiFileExample language="cli" label="CLI">
370370 ```bash CLI
371 ENVIRONMENT_ID=$(ant beta:environments create --transform id --raw-output < quickstart.environment.yaml)
372
373 echo "Environment ID: $ENVIRONMENT_ID"
371 ant apply environment.yaml
374372 ```
375373
376 <File filename="quickstart.environment.yaml">
374 <File filename="environment.yaml">
377375 ```yaml
378376 name: quickstart-env
379377 config:
from line 464
466464 ```
467465 </CodeGroup>
468466
469 Save the returned `environment.id`. You'll reference it in every session you create.
467 Save the returned `environment.id` (also in `claude-lock.json` if you used `ant apply`). You'll reference it in every session you create.
470468
471469 <Tip>
472470 To run the sandbox on your own infrastructure instead of a cloud sandbox, see
No line in this hunk matches that.