본문으로 건너뛰기
Skillpedia
에이전트81k · #1556

managed-agent

하는 일

이 스킬은 자체 환경과 파일을 여러 턴에 걸쳐 유지하는 Claude 관리형 에이전트를 클라우드에서 만들고 실행하도록 안내합니다. 내 컴퓨터가 아니라 클라우드에서 돌려야 하는 장시간이나 백그라운드 작업을 위한 스킬입니다.

사용하는 경우

  • ✓작업이 몇 분에서 몇 시간 걸려서 클라우드에서 실행해야 할 때.
  • ✓미리 설치된 패키지와 자체 파일 시스템을 가진 에이전트가 필요할 때.
  • ✓턴 사이에 대화 기록이 유지되는 세션이 필요할 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agent/skills/managed-agent/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agent/skills/managed-agent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 기업 다섯 곳을 조사하고 보고서를 파일로 저장하도록 클라우드 에이전트를 시작해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 에이전트와 환경을 만들고, 세션을 시작하고, 메시지를 보내며, 세션이 만든 이벤트와 파일을 다시 읽습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Managed Agent (Anthropic cloud runtime)

ruflo-agent has two agent runtimes behind one mental model:

Runtime Tools Use it when
WASM (local, rvagent) wasm_agent_* / wasm_gallery_* fast, free, ephemeral, offline, untrusted code in a sandbox
Managed (Anthropic cloud) managed_agent_* (this skill) long-running / async work (minutes–hours), a real cloud container with pre-installed packages + network, persistent filesystem + transcript across turns

This skill drives the managed runtime — Anthropic's Claude Managed Agents (beta). The model: Agent (model + system + tools + MCP servers + skills) → Environment (container template) → Session (running instance) → Events (turns / tool-use / status, persisted server-side). See docs/adr/0001-wasm-contract.md and project ADR-115.

Prerequisites

  • ANTHROPIC_API_KEY (or CLAUDE_API_KEY) in the environment, with Claude Managed Agents beta access.
  • If absent, every managed_agent_* tool returns a structured "use wasm_agent_create for a local no-key runtime" error — fall back to the WASM skill.

Steps

  1. Create — mcp__plugin_ruflo-core_ruflo__managed_agent_create { model?, system?, name?, networking?, packages?, initScript?, mcpServers?, skills? } → { sessionId, agentId, environmentId, status }. Provisions Agent + Environment + Session. Save the three ids.

    • mcpServers: [{type:"url", url, name, authorization_token?}] — the cloud agent must be able to reach the URL. A local ruflo mcp start is not reachable from Anthropic's cloud; deploy/tunnel an HTTP ruflo MCP server first if you want the cloud agent to have ruflo's tools.
    • packages: {pip?:[], npm?:[], apt?:[], cargo?:[], gem?:[], go?:[]} — installed in the container.
  2. Prompt — mcp__plugin_ruflo-core_ruflo__managed_agent_prompt { sessionId, message, maxWaitMs? } → sends a user turn, polls the event log until the session goes idle (default 180s, capped 600s) → { finished, status, stopReason, assistantText, toolUses[], eventCount }. For very long tasks, raise maxWaitMs or follow up with managed_agent_events.

  3. Inspect — mcp__plugin_ruflo-core_ruflo__managed_agent_status { sessionId } (idle/running/error) · mcp__plugin_ruflo-core_ruflo__managed_agent_events { sessionId, raw? } (full transcript: user turns, agent thinking, tool_use, tool_result, status — the cloud counterpart of wasm_agent_files).

  4. List — mcp__plugin_ruflo-core_ruflo__managed_agent_list { limit? } — every session on the org (so you can see which are still running / billing).

  5. Terminate — mcp__plugin_ruflo-core_ruflo__managed_agent_terminate { sessionId, environmentId? } — always do this when done: running sessions consume runtime and tokens. Pass environmentId to also delete the environment ruflo created.

Cost & safety

  • Managed Agents bill per session (LM tokens + container time) and are rate-limited per org. Estimate before a long run; record completed sessions to the cost-tracking namespace.
  • Treat orphaned sessions like leaked resources — managed_agent_list then managed_agent_terminate anything stale.
  • Beta API (managed-agents-2026-04-01); dynamic workflows are opt-in beta; outcomes remain outside this adapter.

Quick example

managed_agent_create  { "model": "claude-haiku-4-5-20251001", "system": "Terse. Do exactly what is asked.", "name": "scratch" }
  → { sessionId: "sesn_…", agentId: "agent_…", environmentId: "env_…", status: "idle" }
managed_agent_prompt  { "sessionId": "sesn_…", "message": "echo hello > /tmp/x && cat /tmp/x — then stop." , "maxWaitMs": 60000 }
  → { finished: true, status: "idle", stopReason: "end_turn", assistantText: "Done.", toolUses: [{name:"bash", input:{command:"echo hello > /tmp/x && cat /tmp/x"}}] }
managed_agent_terminate { "sessionId": "sesn_…", "environmentId": "env_…" }
  → { sessionDeleted: true, environmentDeleted: true }

Dynamic workflow procedure

  1. Create with dynamicWorkflows: true, budgetCents: "2500" ($25), and exact allowedHosts. Networking is limited. Use predefinedAgents for restricted workers; otherwise inline agents inherit lead tools. Never expose recursive swarm launch or release tools to remote workers.
  2. Prompt the lead to run inventory, review, reproduction and synthesis phases. Use separate worker output path
자주 묻는 질문

사용하려면 무엇이 필요한가요?

Claude Managed Agents 베타에 접근 권한이 있는 Anthropic API 키가 필요합니다.

접근 권한이 없으면 어떻게 되나요?

도구가 오류를 반환하며, 스킬은 대신 로컬 WASM 에이전트를 쓰라고 제안합니다.

로컬 WASM 에이전트와 같은가요?

아닙니다. 관리형 에이전트는 Anthropic의 클라우드에서 실행되고, WASM 에이전트는 샌드박스 안에서 로컬로 실행됩니다.

상세 정보

작성자의 원본 설명

Run an Anthropic Claude Managed Agent — a cloud agent harness (container + filesystem + tools), the cloud counterpart of the local wasm-agent runtime

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1556
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬