mcpField
W
wasm-agent

wasm-agent

github.com/ruvnetAgent workflows80.0k739 installsUpdated today
Repository

About wasm-agent

wasm-agent is a skill for creating and operating agents in WebAssembly sandboxes. It is intended for untrusted code, configuration experiments, and portable execution, with controls for tools, files, export, and termination.

Key features

  1. 01Create sandboxed WASM agents
  2. 02Prompt agents
  3. 03Grant access to specific tools
  4. 04Read and write sandbox files
  5. 05Export agents for sharing
  6. 06List or terminate agents

Use cases

  1. 01Run untrusted code in isolation
  2. 02Experiment with agent configurations
  3. 03Package agents for supported WASM runtimes

MCP support

Uses Ruflo MCP tools to create, prompt, manage files for, export, list, and terminate WASM agents.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ruvnet/ruflo --skill wasm-agent

After installing, type/wasm-agentin Claude Code to confirm it loaded.

Details

From the project README

WASM Agent

Create sandboxed agents that run in WebAssembly for safe, isolated execution.

When to use

When you need to run untrusted code, experiment with agent configurations, or create portable agents that run anywhere WASM is supported.

Steps

  1. Create agent — call mcp__plugin_ruflo-core_ruflo__wasm_agent_create with agent configuration
  2. Send prompt — call mcp__plugin_ruflo-core_ruflo__wasm_agent_prompt to interact with the agent
  3. Use tools — call mcp__plugin_ruflo-core_ruflo__wasm_agent_tool to give the agent access to specific tools
  4. Manage files — call mcp__plugin_ruflo-core_ruflo__wasm_agent_files to read/write files in the sandbox
  5. Export — call mcp__plugin_ruflo-core_ruflo__wasm_agent_export to package the agent for sharing
  6. List agents — call mcp__plugin_ruflo-core_ruflo__wasm_agent_list to see all running WASM agents
  7. Terminate — call mcp__plugin_ruflo-core_ruflo__wasm_agent_terminate to stop an agent

Benefits

  • Full sandbox isolation — agents cannot access the host filesystem
  • Portable — export and run on any WASM runtime
  • Reproducible — same behavior across platforms
  • Safe — no risk of system damage from agent actions

Comments

Markdown supported