Zum Inhalt springen
Skillpedia
Agenten81k · #1556

managed-agent

Was er macht

Dieser Skill führt einen Agenten dazu, einen verwalteten Claude-Agenten in der Cloud zu erstellen und laufen zu lassen. Dieser behält seine eigene Umgebung und seine Dateien über mehrere Runden hinweg. Er ist für langlaufende oder Hintergrundaufgaben gedacht, die nicht auf deinem eigenen Computer laufen sollen.

Wann du ihn nutzt

  • ✓Wenn eine Aufgabe Minuten oder Stunden dauert und in der Cloud laufen soll.
  • ✓Wenn du einen Agenten mit vorinstallierten Paketen und eigenem Dateisystem willst.
  • ✓Wenn du eine Sitzung brauchst, deren Verlauf zwischen den Runden erhalten bleibt.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-agent/skills/managed-agent/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Starte einen Cloud-Agenten, der diese fünf Unternehmen recherchiert und einen Bericht in seinen Dateien speichert.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent erstellt einen Agenten und eine Umgebung, startet eine Sitzung, sendet Nachrichten und liest die Ereignisse und Dateien zurück, die die Sitzung erzeugt.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen

Was brauche ich vorher?

Du brauchst einen Anthropic-API-Schlüssel mit Zugang zur Beta von Claude Managed Agents.

Was ist, wenn ich keinen Zugang habe?

Die Werkzeuge geben einen Fehler zurück, und der Skill schlägt vor, stattdessen den lokalen WASM-Agenten zu nutzen.

Ist es dasselbe wie der lokale WASM-Agent?

Nein. Der verwaltete Agent läuft in der Cloud von Anthropic, der WASM-Agent dagegen lokal in einer Sandbox.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
81k
Platz im Ranking
#1556
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills