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

quickstart changedmanaged-agents/quickstart

Nearest release: v2.1.307, published 4 hours 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+3added
Lines−14removed
From line 100 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits35to this page, all time

The whole hunk

from line 100, old and new numbered
/
lines
from line 100
100100 
101101 <Tab title="Java">
102102 ```groovy Gradle
103 implementation("com.anthropic:anthropic-java:2.75.0")
103 implementation("com.anthropic:anthropic-java:3.0.0")
104104 ```
105105 </Tab>
106106 
from line 238
238238 Name = "Coding Assistant",
239239 Model = BetaManagedAgentsModel.ClaudeOpus5_5,
240240 System = "You are a helpful coding assistant. Write clean, well-documented code.",
241 Tools =
242 [
243 new BetaManagedAgentsAgentToolset20260401Params
244 {
245 Type = "agent_toolset_20260401",
246 },
247 ],
241 Tools = [new BetaManagedAgentsAgentToolset20260401Params()],
248242 });
249243 
250244 Console.WriteLine($"Agent ID: {agent.ID}, version: {agent.Version}");
from line 305
311305 .name("Coding Assistant")
312306 .model(BetaManagedAgentsModel.CLAUDE_OPUS_5_5)
313307 .system("You are a helpful coding assistant. Write clean, well-documented code.")
314 .addTool(BetaManagedAgentsAgentToolset20260401Params.builder()
315 .type(BetaManagedAgentsAgentToolset20260401Params.Type.AGENT_TOOLSET_20260401)
316 .build())
308 .addTool(BetaManagedAgentsAgentToolset20260401Params.builder().build())
317309 .build());
318310 
319311 IO.println("Agent ID: " + agent.id() + ", version: " + agent.version());
from line 726
734726 [
735727 new BetaManagedAgentsUserMessageEventParams
736728 {
737 Type = "user.message",
738729 Content =
739730 [
740731 new BetaManagedAgentsTextBlock
741732 {
742 Type = "text",
743733 Text = "Create a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt",
744734 },
745735 ],
from line 811
821811 // Send the user message after the stream opens
822812 client.beta().sessions().events().send(session.id(), EventSendParams.builder()
823813 .addEvent(BetaManagedAgentsUserMessageEventParams.builder()
824 .type(BetaManagedAgentsUserMessageEventParams.Type.USER_MESSAGE)
825814 .addTextContent("Create a Python script that generates the first 20 Fibonacci numbers and saves them to fibonacci.txt")
826815 .build())
827816 .build());
Feedback