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

permission-policies changedmanaged-agents/permission-policies

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+42added
Lines−30removed
From line 50 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits20to this page, all time

The whole hunk

from line 50, old and new numbered
/
lines
from line 50
5050 }')
5151 ```
5252 
53 ```bash CLI
54 ant beta:agents create <<'YAML'
55 name: Coding Assistant
56 model: claude-opus-5
57 tools:
58 - type: agent_toolset_20260401
59 default_config:
60 permission_policy:
61 type: always_ask
62 YAML
63 ```
53 <MultiFileExample language="cli" label="CLI">
54 ```bash CLI
55 ant beta:agents create < agent.yaml
56 ```
6457 
58 <File filename="agent.yaml">
59 ```yaml
60 name: Coding Assistant
61 model: claude-opus-5
62 tools:
63 - type: agent_toolset_20260401
64 default_config:
65 permission_policy:
66 type: always_ask
67 ```
68 </File>
69 </MultiFileExample>
70 
6571 ```python Python
6672 agent = client.beta.agents.create(
6773 name="Coding Assistant",
from line 240
234240 }')
235241 ```
236242 
237 ```bash CLI
238 ant beta:agents create <<'YAML'
239 name: Dev Assistant
240 model: claude-opus-5
241 mcp_servers:
242 - type: url
243 name: github
244 url: https://mcp.example.com/github
245 tools:
246 - type: agent_toolset_20260401
247 - type: mcp_toolset
248 mcp_server_name: github
249 default_config:
250 permission_policy:
251 type: always_allow
252 YAML
253 ```
243 <MultiFileExample language="cli" label="CLI">
244 ```bash CLI
245 ant beta:agents create < agent.yaml
246 ```
254247 
248 <File filename="agent.yaml">
249 ```yaml
250 name: Dev Assistant
251 model: claude-opus-5
252 mcp_servers:
253 - type: url
254 name: github
255 url: https://mcp.example.com/github
256 tools:
257 - type: agent_toolset_20260401
258 - type: mcp_toolset
259 mcp_server_name: github
260 default_config:
261 permission_policy:
262 type: always_allow
263 ```
264 </File>
265 </MultiFileExample>
266 
255267 ```python Python
256268 agent = client.beta.agents.create(
257269 name="Dev Assistant",
from line 573
561573 },
562574 },
563575 },
564 Configs: []anthropic.BetaManagedAgentsAgentToolConfigUnionParamsUnion{{
565 OfBetaManagedAgentsBashToolConfigs: &anthropic.BetaManagedAgentsBashToolConfigParams{
576 Configs: []anthropic.BetaManagedAgentsAgentToolConfigParamsUnion{{
577 OfBash: &anthropic.BetaManagedAgentsBashToolConfigParams{
566578 PermissionPolicy: anthropic.BetaManagedAgentsBashToolConfigParamsPermissionPolicyUnion{
567579 OfAlwaysAsk: &anthropic.BetaManagedAgentsAlwaysAskPolicyParam{
568580 Type: anthropic.BetaManagedAgentsAlwaysAskPolicyTypeAlwaysAsk,
Feedback