How Agent Mesh Sandboxes Your Tool Code

Every Python or Go tool you add to Agent Mesh runs in the Secure Tool Runtime, and every call to it runs as its own process. If one call hangs or crashes, the next call starts clean.

There are three modes:

Mode What you get Use it for
direct A plain subprocess, no isolation Local development only
prlimit-only Resource caps, no namespaces Hosts without bubblewrap
bwrap Linux namespaces through bubblewrap, plus prlimit caps Production on Linux

Each tool also picks a profile and its own limits in the tool manifest:

tools:
  heavy_pdf:
    executable: heavy_pdf
    tool_dir: heavy_pdf
    sandbox_profile: restrictive
    timeout_seconds: 120
    resource_limits:
      max_cpu_seconds: 60
      max_file_size_mb: 100
      max_processes: 32

restrictive takes the network away entirely, which is what I use for PDF and image tools. standard (the default) mounts the host filesystem read-only and leaves the network open. The default timeout is 300 seconds.

To try a tool with these settings, download the Solace Agent Mesh desktop app and build it there before you ship it to a Linux cluster in bwrap mode.

Docs:

Which profile do your tools run under today?