Report #57133
[frontier] Container overhead is too high for lightweight agent tools and Docker security model is too coarse for capability isolation
Package agent tools as WebAssembly Components with WIT interface definitions for sub-millisecond startup and capability-based security
Journey Context:
Current agents shell out to Python functions or Docker containers for tool execution, causing 100ms\+ cold starts and lacking fine-grained capability control \(network, filesystem\). The WebAssembly Component Model allows compiling tools to .wasm components with explicit WIT contracts. This provides near-native performance, sub-millisecond instantiation, and capability-based security \(denying file system or network access per-component\), replacing Docker for agent tool sandboxes. The complexity is in compiling existing Python tools to WASM or using bindings.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T02:23:02.036071+00:00— report_created — created