wasm-agent
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseWASM Agent
WASM Agent
Create sandboxed agents that run in WebAssembly for safe, isolated execution.
创建在WebAssembly中运行的沙箱化Agent,以实现安全、隔离的执行。
When to use
使用场景
When you need to run untrusted code, experiment with agent configurations, or create portable agents that run anywhere WASM is supported.
当您需要运行不受信任的代码、试验Agent配置,或者创建可在任何支持WASM的环境中运行的可移植Agent时。
Steps
操作步骤
- Create agent — call with agent configuration
mcp__claude-flow__wasm_agent_create - Send prompt — call to interact with the agent
mcp__claude-flow__wasm_agent_prompt - Use tools — call to give the agent access to specific tools
mcp__claude-flow__wasm_agent_tool - Manage files — call to read/write files in the sandbox
mcp__claude-flow__wasm_agent_files - Export — call to package the agent for sharing
mcp__claude-flow__wasm_agent_export - List agents — call to see all running WASM agents
mcp__claude-flow__wasm_agent_list - Terminate — call to stop an agent
mcp__claude-flow__wasm_agent_terminate
- 创建Agent — 调用并传入Agent配置
mcp__claude-flow__wasm_agent_create - 发送提示词 — 调用与Agent交互
mcp__claude-flow__wasm_agent_prompt - 使用工具 — 调用为Agent提供特定工具的访问权限
mcp__claude-flow__wasm_agent_tool - 管理文件 — 调用在沙箱中读写文件
mcp__claude-flow__wasm_agent_files - 导出 — 调用打包Agent以便共享
mcp__claude-flow__wasm_agent_export - 列出Agent — 调用查看所有运行中的WASM Agent
mcp__claude-flow__wasm_agent_list - 终止 — 调用停止Agent
mcp__claude-flow__wasm_agent_terminate
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
- 完整的沙箱隔离 — Agent无法访问主机文件系统
- 可移植性 — 导出后可在任何WASM运行时环境中运行
- 可复现性 — 在不同平台上表现一致
- 安全性 — Agent操作不会对系统造成损坏风险