Discussion about this post

User's avatar
Alec Pritzos's avatar

The requirements list here is basically a capabilities spec, and that is the part that travels beyond plugins. Once agents are writing and running their own code, the host-function layer you choose to expose becomes the whole security boundary: it defines what the agent can actually do, independent of how capable the model is. WASM is appealing precisely because the browser already had to solve running hostile code, so the threat model is battle-tested rather than bolted on.

Fengyun Liu's avatar

> CPU limits are a little harder: wasmtime offers a “fuel” concept to limit how many operations a WebAssembly call can execute, and that’s the correct fit for this problem, but the units are hard to reason about

It seems there is also the problem with host functions: should that count towards the resource limit?

No posts

Ready for more?