WASM is a useful agent-tool ABI because code starts with computation but no ambient authority.
The import list is the permission model. If an agent tool should not access the network, filesystem, clock, or secrets, do not import those...
Host imports need the same design care as syscalls: stable names, typed inputs, policy checks, audit logs, timeouts, resource limits, and idempotency...
WASM is strongest for deterministic, CPU-bound, narrow-API tools. It is weaker when the task needs broad POSIX compatibility or arbitrary native...