---
name: managed-agent
description: Anthropic Claude Managed Agents (cloud runtime) — list cloud sessions, check status, fetch a transcript, clean up
---

Manage Claude Managed Agent sessions (the cloud agent runtime; the local WASM runtime is the `/wasm` command).

1. Call `mcp__claude-flow__managed_agent_list` to show every Managed Agent session on this org (id, status, title) — note which are still `running` (i.e. still billing).
2. For a specific session: `mcp__claude-flow__managed_agent_status` `{ sessionId }` (idle/running/error) and `mcp__claude-flow__managed_agent_events` `{ sessionId }` (full transcript + a summary: assistantText, toolUses).
3. To run new work: `mcp__claude-flow__managed_agent_create` then `mcp__claude-flow__managed_agent_prompt` (see the `managed-agent` skill for the full flow + the cost/cleanup notes).
4. Clean up stale sessions: `mcp__claude-flow__managed_agent_terminate` `{ sessionId, environmentId? }` — a cloud session bills until deleted.

If `managed_agent_*` returns "needs ANTHROPIC_API_KEY" → no key/beta access; use the local `/wasm` runtime instead.
