Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

agent-setup changedmanaged-agents/agent-setup

Nearest release: v2.1.336, 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+37added
Lines−0removed
From line 177 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits44to this page, all time

The whole hunk

from line 177, old and new numbered
/
lines
from line 177
177177 tools: [{type: "agent_toolset_20260401"}]
178178 )
179179 ```
180 
181 ```hcl Terraform
182 resource "anthropic_beta_agent" "coding_assistant" {
183 name = "Coding Assistant"
184 model = { id = "claude-opus-5-5" }
185 system = "You are a helpful coding agent."
186 tools = [
187 { agent_toolset_20260401 = {} },
188 ]
189 }
190 ```
180191</CodeGroup>
181192 
182193The response echoes your configuration and adds `id`, `type`, `version`, `created_at`, `updated_at`, and `archived_at` fields, and fills in `model` fields you omit, such as `effort`, with their defaults. The `version` starts at 1 and increments each time an update changes the agent.
from line 365
354365 
355366 puts "Inference geo: #{agent.model.inference_geo}"
356367 ```
368 
369 ```hcl Terraform
370 resource "anthropic_beta_agent" "geo_pinned_assistant" {
371 name = "Geo-pinned assistant"
372 model = {
373 id = "claude-opus-5-5"
374 inference_geo = "us"
375 }
376 system = "You are a helpful assistant."
377 }
378 
379 output "inference_geo" {
380 value = anthropic_beta_agent.geo_pinned_assistant.model.inference_geo
381 }
382 ```
357383</CodeGroup>
358384 
359385To change or clear the pin later, update the agent’s `model` (csharp, go: `Model`) object. Supplying `model` (csharp, go: `Model`) without `inference_geo` (java, php: `inferenceGeo`; csharp, go: `InferenceGeo`) clears the pin, as described under [Update semantics](https://platform.claude.com/docs/en/managed-agents/agent-setup#update-semantics).
from line 501
475501 )
476502 
477503 puts "New version: #{updated_agent.version}"
504 ```
505 
506 ```hcl Terraform
507 resource "anthropic_beta_agent" "coding_assistant" {
508 name = "Coding Assistant"
509 model = { id = "claude-opus-5-5" }
510 system = "You are a helpful coding agent. Always write tests."
511 tools = [
512 { agent_toolset_20260401 = {} },
513 ]
514 }
478515 ```
479516</CodeGroup>
480517 
Feedback