One unified interface for AI agents, with a virtual filesystem and swappable runtimes across machines, services, and clouds. Scale your agents with fewer tokens and less infrastructure.
26runtimes:?The engines a line can run on. Both python engines are registered — monty and pyodide — and this entry says which one python and python3 bind to; quickjs takes node and js. All are sandboxed, so their file I/O only reaches the mounts above. The builtin command engine is always present, so it is not listed.
27# Choose your own runtime for python, node, and anything else you run.
30# Route to e2b sandbox if python script has NumPy, see route.py
31 - name: Linuxe2b?Runs python that needs more than a browser has. Connect a store and a key, then put the script and its data where both sides can reach them:$ cp /repo/stats.py /repo/prices.csv /redis/$ python3 /redis/stats.py
32captures:[python,python3]
33config: { apiKey: }
34
35# Who takes the line, asked once before anything runs. It sits above the
36# bindings and below an explicit runtime argument.
37route_policy:?A different door: asked once per line, before anything runs, and answering who runs it rather than whether it may. A runtime name places the line, a deny refuses it. It outranks the runtimes above and yields to a runtime named on the call.
38
39# simple.js registers the CLI running in quickjs runtime.
40# On user alone: a cli is per workspace, and each profile has one.
41clis:
42simple:
43script:?The program, run on the engine named beside it.
44runtime: JavaScriptquickjs
45
46profiles:
47admin:
48commands:
49allow: [,,,,,,,,,,,,,, ]
50policy:?A program the gate runs before every command this profile runs. It sees the command's context and reads the filesystem, and answers allow, ask or deny.
51script:?The program, run on the engine named beside it.
52runtime: Pydanticmonty
53
54user:
55commands:
56allow: [,,,,,,,,,, ]
57policy:?A program the gate runs before every command this profile runs. It sees the command's context and reads the filesystem, and answers allow, ask or deny.
58script:?The program, run on the engine named beside it.