Managed Agents add an auto permission policy and terminal session attach
Managed Agents permission policies accept a third type, auto: the server evaluates each agent or MCP tool call and runs, denies, or pauses it, reporting the outcome in an evaluation field on tool-use events. The ant CLI adds ant beta:sessions connect to follow a session live and answer approvals.
What does this mean for me?
Engineering leadership
Cost, risk, timeline, team impact Worth knowingManaged Agents can now let the server approve or deny tool calls on its own instead of pausing for a human, which cuts operator time on unattended agents. It is not a human checkpoint: keep tools that end users must not run unreviewed on always_ask.
Engineer
What to change, what breaks, what to test Worth knowingSet permission_policy to {"type": "auto"} on a toolset or config entry to have the server run, deny, or pause each call; read evaluated_permission and evaluation.reason_code on agent.tool_use events, and only send user.tool_confirmation when evaluated_permission is ask or you get a 400. Use ant beta:sessions connect (or --web) to follow a session live and answer approvals.
General consumer
Using the Claude apps, not the API No impactNothing to do. This is a Managed Agents API feature and does not affect the Claude apps.
auto permission policy. Alongside always_allow and always_ask, a toolset’s default_config.permission_policy or an individual configs entry can now be {"type": "auto"}. The server evaluates each call using the tool, its input, and the session so far, so two calls to the same tool can be treated differently. A call judged safe runs as under always_allow; a call judged high-risk is denied with an error tool result (Permission to use {tool_name} has been denied., is_error: true) that the client cannot override, and the session keeps running; when the server reaches no determination the session pauses for approval as under always_ask. No toolset uses auto by default; the agent toolset still defaults to always_allow and MCP toolsets to always_ask.
Every agent.tool_use and agent.mcp_tool_use event now carries evaluated_permission (allow, ask, or deny) and, in most cases, an evaluation object whose type names the policy that produced it; under auto it also carries a reason_code such as indeterminate or high_risk. Events recorded before the field existed omit it. Sending a user.tool_confirmation for an event whose evaluated_permission is not ask, including a server denial under auto, returns a 400. Anthropic warns that auto is not a human checkpoint, and that text posted in user.message events counts as the operator’s intent and can get a call allowed, so tools an end user should not run unreviewed belong on always_ask.
ant beta:sessions connect. The ant CLI can attach an interactive terminal to an existing Managed Agents session: it loads the transcript, follows it live, and lets you send user.message events, interrupt with Esc, and allow or deny a waiting tool call, which it sends as a user.tool_confirmation. With --web it serves the Claude Console’s session viewer from a local server on 127.0.0.1 and opens it in the browser; the page talks only to the local ant process, which holds the credentials. In scripts, use ant beta:sessions:events stream and send instead.
API surface
| Parameter | Change | Breaking | Models |
|---|---|---|---|
permission_policy.type: auto | added | no | |
agent.tool_use.evaluation | added | no | |
agent.mcp_tool_use.evaluation | added | no | |
ant beta:sessions connect | added | no |
Topics: Agents and tool use
Terms on this page: High-risk AI system