Skip to content

// Engineering - November 11, 2026

Claude Managed Agents: what it is, and a board for its work.

Claude Managed Agents is Anthropic's hosted agent harness, in public beta since April 8, 2026. You define an agent once (model, system prompt, tools, MCP servers). Anthropic then runs the agent loop for each task in a session with its own sandbox, billed at token rates plus $0.08 per running session-hour. A task board connects as a remote MCP server.

What is Claude Managed Agents?

Claude Managed Agents is "a suite of composable APIs for building and deploying cloud-hosted agents at scale", in Anthropic's words. Anthropic launched it in public beta on April 8, 2026. The overview docs call it a "pre-built, configurable agent harness that runs in managed infrastructure", best for long-running tasks and asynchronous work. You don't write your own agent loop or sandbox. You configure an agent, and Anthropic runs it. (Our guide to agent harnesses explains the term.)

It is built on four concepts:

Concept What it holds
AgentThe model, system prompt, tools, MCP servers and skills. Created once, versioned, and reused across sessions.
EnvironmentWhere sessions run: an Anthropic-managed cloud sandbox or a self-hosted sandbox, with its packages and network rules.
SessionOne running agent instance doing one task, with its own sandbox and conversation history.
EventsThe messages between your app and the agent: user turns, tool calls, tool results, status changes.

Built-in tools cover bash, file read, write and edit, glob, grep, web search and web fetch, plus any MCP servers you connect. As of November 2026 the whole product is in beta: every request needs the managed-agents-2026-04-01 beta header (the SDKs set it for you), and the docs say access is enabled by default for all API accounts.

How is it different from the Agent SDK and the Messages API?

The difference is who runs the loop. The Agent SDK overview and the Managed Agents overview compare Anthropic's options, and the table below condenses them:

Option Who runs the agent loop Good fit
Messages API (client SDK)Your code: you call the model, run each tool and send the results backCustom loops and fine-grained control
Claude Agent SDKA library that runs Claude Code's loop and tools in a process you operateEmbedding Claude Code's agent in your own app
Claude Managed AgentsAnthropic, in a session sandbox (cloud or self-hosted), reached over the Claude APILong-running, asynchronous work without running infrastructure

Anthropic's migration guide maps the Agent SDK onto Managed Agents. Three changes matter for board work. Claude Code's CLAUDE.md files become "a single system string on the Agent", so your board rules go in the system prompt. MCP servers are declared on the agent but authenticated through a vault on each session. And the SDK's permission modes become a per-tool permission policy. To run the loop yourself instead, our Claude Agent SDK guide builds the same board worker as a script.

What does Claude Managed Agents cost?

Tokens at the model's normal rates, plus $0.08 per session-hour while the session is running. Anthropic's pricing page (as of November 2026) says runtime is measured to the millisecond and only in the running status. Time spent idle, "waiting for your next message or a tool confirmation", is not billed. Web searches inside a session cost the standard $10 per 1,000, and the Batch API discount does not apply.

The page's worked example is a one-hour coding session on Claude Opus 5.5 with 50,000 input and 15,000 output tokens: $0.20 + $0.30 in tokens and $0.08 runtime, $0.58 in total. To cap a run, pass a session budget in US cents ("125" is $1.25). The session pauses with budget_reached when it hits the cap.

Why does a hosted agent still need a task board?

Because the session holds the agent's work, not the team's. The memory docs say it plainly: "Each Managed Agents session starts with a fresh context by default. When a session ends, any state the agent built up is gone." Memory stores carry notes between sessions, but they are files for the agent to read. And the Console's session viewer, where you can see every tool call, "is only accessible to Developers and Admins", according to the observability docs.

A team needs more than a transcript. It needs to see what is queued, which agent has which task, what the brief said, and what is waiting for review. Anthropic's launch post describes the same pattern from the other side: "productivity agents that join a project, pick up tasks, and deliver work alongside the rest of the team", and it names Asana and Atlassian among the companies building on Managed Agents. A board that every agent and person shares gives you that record, whether the work came from a Managed Agents session, Copilot's cloud agent or someone's local Claude Code.

How do you connect Claude Managed Agents to a Flux board?

Store a Flux API key in a vault, declare the Flux MCP server on the agent, and start a session that names the card. The Flux MCP server is a remote server that speaks streamable HTTP and reads a Bearer flux_... key, which is the case Anthropic's vault docs describe for a static_bearer credential: "when the MCP server accepts a fixed bearer token (API key, personal access token, or similar)". The examples below use the Python SDK and follow Anthropic's docs. We checked them against those docs and Flux's MCP code, not in a live session.

1. Make a Flux API key. In Flux, open Settings, then the API Keys tab, and click Create key. Read is always on. Turn on Write so the agent can comment on and move cards.

2. Put the key in a vault. The credential's mcp_server_url must match the server URL on the agent. Anthropic treats the token as write-only and never returns it in API responses.

import os
import anthropic

client = anthropic.Anthropic()  # reads ANTHROPIC_API_KEY

vault = client.beta.vaults.create(display_name="Flux board agent")
client.beta.vaults.credentials.create(
    vault_id=vault.id,
    display_name="Flux API key",
    auth={
        "type": "static_bearer",
        "mcp_server_url": "https://flux.umin.ai/api/mcp",
        "token": os.environ["FLUX_API_KEY"],  # flux_...
    },
)

3. Create the agent. Each MCP server needs a matching mcp_toolset entry, and tool names in configs are the bare names the server reports. Starting from "enabled": False turns on only the four tools listed. The board rules live in system:

BOARD_RULES = """You work cards on a Flux board through the flux MCP tools.
- Each task names a board ID and a card humanId such as PROJ-42. Call
  get_board with the board ID, find the card by its humanId, then call
  get_card with the card's id (a UUID). The description is your brief.
- Start every comment with [managed-agent].
- When you start, add_comment: "[managed-agent] Started."
- When you finish, add_comment with what you changed and how you
  checked it, then move_card to the Needs review column. get_board
  lists the column IDs.
- If the brief is unclear, add_comment with your question and stop.
- Never move a card to Done. A person does that after review."""

def flux_tool(name, policy):
    return {"name": name, "enabled": True,
            "permission_policy": {"type": policy}}

agent = client.beta.agents.create(
    name="Flux card worker",
    model="claude-opus-5-5",
    system=BOARD_RULES,
    mcp_servers=[
        {"type": "url", "name": "flux", "url": "https://flux.umin.ai/api/mcp"},
    ],
    tools=[
        {"type": "agent_toolset_20260401"},
        {
            "type": "mcp_toolset",
            "mcp_server_name": "flux",
            "default_config": {"enabled": False},
            "configs": [
                flux_tool("get_board", "always_allow"),
                flux_tool("get_card", "always_allow"),
                flux_tool("add_comment", "always_allow"),
                flux_tool("move_card", "always_ask"),
            ],
        },
    ],
)

4. Create an environment and start a session. With limited networking, session creation fails with a 400 unless the MCP host is allowed, so set allow_mcp_servers or add flux.umin.ai to allowed_hosts. A request that omits networking gets unrestricted. The board ID is the short ID in the board's URL:

environment = client.beta.environments.create(
    name="flux-worker",
    config={
        "type": "cloud",
        "networking": {"type": "limited", "allow_mcp_servers": True},
    },
)

session = client.beta.sessions.create(
    agent=agent.id,
    environment_id=environment.id,
    vault_ids=[vault.id],
    initial_events=[
        {
            "type": "user.message",
            "content": [{"type": "text",
                         "text": "Work card PROJ-42 on board k3J9xQ2a."}],
        },
    ],
)

Session creation does not test the MCP connection. If the key is wrong, the session still starts and emits a session.error event of type mcp_authentication_failed_error, so watch the event stream on your first run.

Which Flux tools should run freely, and which should ask first?

Let it read and comment freely, and decide on purpose about moves. MCP toolsets default to always_ask, so without any config every Flux call would pause for approval. The permission policy docs list three options: always_allow, always_ask and auto, where Anthropic's server judges each call.

Flux tool What it does Suggested policy
get_board, get_cardRead columns and card IDs (get_board), the brief and comments (get_card)always_allow
add_commentPost a progress or hand-off note (Write)always_allow
move_cardMove a card to any column on its board (Write)always_ask when someone is watching, always_allow plus the prompt rule for unattended runs (anyone who can comment on the card can ask the agent to move it, so prefer always_ask if Done matters)
update_card, create_card, create_column, reorder_cardsRewrite the brief or change the board (Write)Leave disabled unless the agent plans work

Flux does not enforce column order: move_card checks the key's Write scope and the key owner's member role, and accepts any column on the same board. So in Flux, "never move to Done" is a rule the agent follows, not a lock. Managed Agents adds a real gate on its side. With always_ask on move_card, the session goes idle with requires_action and waits until you answer. You see the target column ID in the call and can deny a move to Done:

# The session went idle with stop_reason "requires_action".
# tool_event is the agent.mcp_tool_use event for move_card.
client.beta.sessions.events.send(
    session.id,
    events=[{"type": "user.tool_confirmation",
             "tool_use_id": tool_event.id,
             "result": "allow"}],
)

Waiting costs no runtime. You can subscribe to the session.status_idled webhook instead of polling. Anthropic's docs warn that "auto is not a human checkpoint", so don't use it where a person must approve. The tool config and the key are separate limits. A key without Write makes every Flux write tool answer "Error: write scope required", whatever the agent's config says.

Can it work the board on a schedule?

Yes, with a scheduled deployment, added in public beta on June 9, 2026. The deployment docs describe a cron expression plus an IANA timezone, and each run starts a new session from the same agent, environment and optional vaults, with a first user.message such as "Take the top card in the Ready column." Three details from the docs matter here:

  • Runs start with jitter of up to 15 percent of the interval between runs, capped at 9 minutes.
  • A deployment budget caps every run separately, not all runs together.
  • A run that waits on always_ask sits idle until someone answers, so either watch the webhook or use always_allow on move_card with the prompt rule.

get_board returns each column's cards in board order, so "the top card in Ready" is well defined. Flux has no claim lock, though, so don't let two runs pick from the same column at the same time. Give each deployment its own column or lane. Our kanban board for AI agents guide shows the four-column layout: Backlog, In Progress, Needs review and Done.

What should you know before you rely on it?

Five points, as of November 2026:

  • It is a beta. Anthropic says behavior "may be refined between releases". Managed Agents is also not eligible for Zero Data Retention, because sessions store transcripts until you delete them.
  • Sign the comments. Comments made with a Flux key show under the name of the account that made the key. The [managed-agent] prefix tells people which agent wrote what. For a separate name, make the key from a separate account with the member role; paid plans bill each member.
  • MCP changes skip the Flux activity log. Comments and moves made over MCP are not written to the activity log and can't be undone there. The signed comments and the session's event history are the record.
  • Card text is part of the prompt. get_card returns the description and every comment, so anyone who can edit or comment on the card can steer the agent. Keep its tools and key narrow, and turn off web_fetch and web_search in the agent toolset if the task doesn't need them.
  • Vaults are shared inside your Claude Console workspace. Anthropic's docs warn that any Claude API key with access to that workspace can reference the vault in a session. Revoke the Flux key in Flux Settings if it leaks.

When a card lands in Needs review, a person checks the work and moves it to Done. Our code review checklist for AI agent work lists what to check first.

// FAQ
06 questions
01

What is Claude Managed Agents?

+

Claude Managed Agents is a set of Claude API endpoints, in public beta since April 8, 2026, that run Claude as an autonomous agent on Anthropic's infrastructure. You create an agent (model, system prompt, tools, MCP servers, skills) and an environment, then start sessions. Anthropic runs the agent loop, the sandbox and the tool calls, and keeps each session's event history on its servers.

02

Is Claude Managed Agents the same as the Claude Agent SDK?

+

No. The Agent SDK is a library that runs Claude Code's agent loop in a process you operate. Managed Agents is a hosted harness: the loop and the sandbox run on Anthropic's infrastructure, or in a self-hosted sandbox, and you reach it through the Claude API, the ant CLI or a client SDK. Anthropic publishes a migration guide from the SDK to Managed Agents.

03

How much does Claude Managed Agents cost?

+

As of November 2026, you pay the normal token rates for the model plus $0.08 per session-hour, measured only while a session is running. Idle time, such as waiting for your approval, is not billed. Web searches cost $10 per 1,000. Anthropic's pricing page works through a one-hour Opus 5.5 session at $0.58. You can cap any session with a budget.

04

Can Claude Managed Agents use MCP servers?

+

Yes, remote MCP servers over streamable HTTP, up to 20 per agent. You declare each server on the agent by name and URL, and supply the credentials at session creation through a vault. A vault credential is either an OAuth token (mcp_oauth) or a fixed bearer token such as an API key (static_bearer).

05

Does Claude Managed Agents ask before it calls an MCP tool?

+

By default, yes. MCP toolsets default to the always_ask policy, so the session pauses until you send an allow or deny for each call. You can set always_allow or auto for the whole server or for single tools. Anthropic's docs warn that auto is not a human checkpoint, so keep always_ask on any tool a person must approve.

06

Does Flux run Claude Managed Agents for me?

+

No. Flux is the task board, not the agent host. The agent runs on Anthropic's side and reaches your Flux board through the Flux MCP server with a Flux API key. MCP works on every Flux plan, including Free, and agents that connect with a key never take a paid seat.

// One board, every agent

Anthropic runs the agent. Your board keeps the work.

Connect Claude Managed Agents, Claude Code, Copilot and Cursor to one Flux board over MCP. Each agent works from a card and stops at Needs review. Free to start, and agents that connect with an API key never take a seat.