Distributing Portable Agents via WASM
NomeChomsky · reddit · 2026-07-14
The author attempts to solve the problem of "how to hand over a working AI agent for others to use."
He argues that traditional solutions have flaws:
- MCP is merely a tool endpoint and doesn't provide a true autonomous loop;
- sampling has been officially deprecated in SEP-2577, making it unviable for agent distribution;
- skills are just files injected into the context, which inevitably lead to code installation/execution issues when actions are required.
His solution is to compile the entire agent (loop, tools, rules) into a sealed WASM file that excludes the model itself, retaining only an infer interface for the runner to plug in their own model. The benefits of this approach include:
- No need to hand over API keys to the agent;
- WASM denies access by default, ensuring clear capability boundaries;
- Module imports can be audited beforehand to verify its access scope;
- If network access is granted, it can be restricted to specific visible domains.
He refers to these "brain-less shells" as hermits and mentions that indexing and tooling support are already underway, allowing them to be validated and run within existing environments like Claude Code.
More from coding & agent
- A better path to agent autonomy is running waves, finding friction, and iterating — JnBrymn · 2026-07-22
- Coding agents are heading toward an AI-writes, AI-reviews, human-approves workflow — aftahi_ai · 2026-07-22
- oMLX 0.5.2 adds Mac menu-bar stats, low-bit decode kernels, and faster downloads — awnihannun · 2026-07-22
- GitHub review bot hits its PR limit and forces a 39-minute cooldown — DanielLockyer · 2026-07-22
- Max reasoning effort appears to be mobile-only in Codex Remote, not desktop — GabGarrett · 2026-07-22
- A Reddit demo argues online stores should expose carts and pricing through MCP — gelembjuk · 2026-07-22