Claude Managed Agents

Claude

Claude Managed Agents are agents you build and host on the Claude Platform. Anthropic runs the agent loop, and the Claude Managed Agents block calls one from a Sim workflow.

With Claude Managed Agents, you can:

  • Run a hosted agent: Send a message to an agent in your Claude workspace and get its final response back
  • Pick the environment: Choose the agent and the environment it runs in, so the same workflow can target development or production
  • Attach credential vaults: Give the agent scoped access to the credentials it needs for the run
  • Use a memory store: Connect a memory store with read or write access and pass instructions for how the agent should use it
  • Send files: Attach files to the run for the agent to work with
  • Tag runs with metadata: Add key-value tags so runs can be traced and grouped later

In Sim, the Claude Managed Agents block lets a workflow hand work to an agent that lives on the Claude Platform instead of assembling the prompt, tools, and loop yourself. The block returns the agent's final text alongside its session ID and token counts, so you can chain the response into later blocks and track cost per run.

Usage Instructions

Invoke a Claude Platform Managed Agent from a workflow. Select a Claude Platform account, pick an agent and environment from that workspace, optionally attach vaults, a memory store, and files, and add metadata tags. Returns the assistant's final text.

Actions

managed_agent_run_session

Open a Claude Platform Managed Agent session and return the assistant response as text.

Input

ParameterTypeRequiredDescription
credentialstringYesClaude Platform credential (Anthropic workspace API key) to run the agent with.
agentstringYesManaged-agent id inside the linked Claude workspace.
environmentstringYesEnvironment id inside the linked Claude workspace.
environmentTypestringNoEnvironment execution model hint ('cloud' | 'self_hosted'); the actual type is re-resolved server-side for routing.
userMessagestringYesThe user message to send to the Managed Agent.
vaultsarrayNoZero or more vault ids for MCP tool auth.
vaultsAckbooleanNoAcknowledgement that the author may use the attached vaults.
memoryStoreIdstringNoOptional Agent Memory Store id.
memoryAccessstringNoMemory store access mode: 'read_write' (default) or 'read_only'.
memoryInstructionsstringNoPer-attachment guidance for how the agent should use the memory store.
filesarrayNoFile attachments (cloud envs only), as [{fileId, mountPath?}].
sessionParametersobjectNoKey/value session metadata forwarded to the session.

Output

ParameterTypeDescription
contentstringFinal assistant text from the Managed Agent session.
sessionIdstringAnthropic session id (for logs / linking).
inputTokensnumberCumulative input tokens for the session.
outputTokensnumberCumulative output tokens for the session.

On this page