quickstart changedmanaged-agents/quickstart
Nearest release: v2.1.312, published under 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+15added
Lines−15removed
From line
45
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits42to this page, all time
## What’s happening ## What's happening
The whole hunk
from line 45, old and new numbered
/
from line 45
4545 For Linux environments, download the release binary directly.
4646
4747 ```bash
48 VERSION=2.3.0
48 VERSION=2.4.0
4949 OS=$(uname -s | tr '[:upper:]' '[:lower:]')
5050 case $(uname -m) in
5151 x86_64) ARCH=amd64 ;;
from line 65
6565 go install github.com/anthropics/anthropic-cli/v2/cmd/ant@latest
6666 ```
6767
68 The binary is placed in `$(go env GOPATH)/bin`. Add it to your `PATH` if it isn't already:
68 The binary is placed in `$(go env GOPATH)/bin`. Add it to your `PATH` if it isn’t already:
6969
7070 ```bash
7171 export PATH="$PATH:$(go env GOPATH)/bin"
from line 155
155155 }'
156156 ```
157157
158 Save the returned `agent.id`. You'll reference it in every session you create.
158 Save the returned `agent.id`. You’ll reference it in every session you create.
159159 </CodeGroupItem>
160160
161161 <CodeGroupItem>
from line 176
176176 ```
177177 </File>
178178
179 [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply) prints the agent's ID and records it in `claude-lock.json`. You'll reference it in every session you create.
179 [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply) prints the agent’s ID and records it in `claude-lock.json`. You’ll reference it in every session you create.
180180 </CodeGroupItem>
181181
182182 <CodeGroupItem>
from line 197
197197 print(f"Agent ID: {agent.id}, version: {agent.version}")
198198 ```
199199
200 Save the returned `agent.id`. You'll reference it in every session you create.
200 Save the returned `agent.id`. You’ll reference it in every session you create.
201201 </CodeGroupItem>
202202
203203 <CodeGroupItem>
from line 216
216216 console.log(`Agent ID: ${agent.id}, version: ${agent.version}`);
217217 ```
218218
219 Save the returned `agent.id`. You'll reference it in every session you create.
219 Save the returned `agent.id`. You’ll reference it in every session you create.
220220 </CodeGroupItem>
221221
222222 <CodeGroupItem>
from line 240
240240 Console.WriteLine($"Agent ID: {agent.ID}, version: {agent.Version}");
241241 ```
242242
243 Save the returned `agent.id`. You'll reference it in every session you create.
243 Save the returned `agent.id`. You’ll reference it in every session you create.
244244 </CodeGroupItem>
245245
246246 <CodeGroupItem>
from line 275
275275 fmt.Printf("Agent ID: %s, version: %d\n", agent.ID, agent.Version)
276276 ```
277277
278 Save the returned `agent.id`. You'll reference it in every session you create.
278 Save the returned `agent.id`. You’ll reference it in every session you create.
279279 </CodeGroupItem>
280280
281281 <CodeGroupItem>
from line 305
305305 IO.println("Agent ID: " + agent.id() + ", version: " + agent.version());
306306 ```
307307
308 Save the returned `agent.id`. You'll reference it in every session you create.
308 Save the returned `agent.id`. You’ll reference it in every session you create.
309309 </CodeGroupItem>
310310
311311 <CodeGroupItem>
from line 327
327327 echo "Agent ID: {$agent->id}, version: {$agent->version}\n";
328328 ```
329329
330 Save the returned `agent.id`. You'll reference it in every session you create.
330 Save the returned `agent.id`. You’ll reference it in every session you create.
331331 </CodeGroupItem>
332332
333333 <CodeGroupItem>
from line 346
346346 puts "Agent ID: #{agent.id}, version: #{agent.version}"
347347 ```
348348
349 Save the returned `agent.id`. You'll reference it in every session you create.
349 Save the returned `agent.id`. You’ll reference it in every session you create.
350350 </CodeGroupItem>
351351 </CodeGroup>
352352
from line 393
393393 ```
394394 </File>
395395
396 [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply) records the environment's ID in `claude-lock.json` too. To create the agent and the environment with one command, pass both files: `ant apply coding-assistant.md environment.yaml`.
396 [`ant apply`](https://platform.claude.com/docs/en/cli-sdks-libraries/cli/apply) records the environment’s ID in `claude-lock.json` too. To create the agent and the environment with one command, pass both files: `ant apply coding-assistant.md environment.yaml`.
397397 </CodeGroupItem>
398398
399399 <CodeGroupItem>
from line 900
900900 </Step>
901901</Steps>
902902
903## What's happening
903## What’s happening
904904
905905When you send a user event, Claude Managed Agents:
906906
9071. **Provisions a sandbox:** Your environment configuration determines how it's built.
9071. **Provisions a sandbox:** Your environment configuration determines how it’s built.
9089082. **Runs the agent loop:** Claude determines which tools to use based on your message.
9099093. **Runs tools:** File writes, bash commands, and other tool calls run inside the sandbox.
9109104. **Streams events:** You receive real-time updates as the agent works.
from line 916
916916
917917<CardGroup cols={3}>
918918 <Card title="Chat SDK" icon="github-logo" href="https://github.com/anthropics/claude-quickstarts/tree/main/managed-agents/chat-sdk">
919 A research analyst in a browser chat built with Vercel's Chat SDK. Each conversation is one persistent session that streams its reply while a live feed shows the tool calls. Swapping the Chat SDK adapter moves the same handler to Slack, Teams, Discord, or WhatsApp.
919 A research analyst in a browser chat built with Vercel’s Chat SDK. Each conversation is one persistent session that streams its reply while a live feed shows the tool calls. Swapping the Chat SDK adapter moves the same handler to Slack, Teams, Discord, or WhatsApp.
920920 </Card>
921921
922922 <Card title="assistant-ui" icon="github-logo" href="https://github.com/anthropics/claude-quickstarts/tree/main/managed-agents/assistant-ui">
No line in this hunk matches that.