Are there significant differences re: sandboxing between Lua and monty? Just curious if there are any holes that a Lua sandbox has that monty might account for
Even Luau (which was made for sandboxing user code) don't really have this property.
11–15 of 15 posts
Are there significant differences re: sandboxing between Lua and monty? Just curious if there are any holes that a Lua sandbox has that monty might account for
Even Luau (which was made for sandboxing user code) don't really have this property.
If you're going to run Python code inside a WebAssembly container anyway why go with the Monty subset when you could use full CPython (or MicroPython) compiled to WASM instead?
1. Control and guardrails. I want agent-authored code to be able to express itself in code but I want to own the external tools that are available to the agent. 2. Suspension and resumption. Monty's VM state is fully serializable so I can run the VM until it gets to a tool call and persist the VM state. I could resume it days later with the results of the tool call with no issues. Doing that guaranteed with CPython i…
Your point 2 is very convincing: I hadn't realized Monty had serializable state as a core feature, that's a very compelling attribute for an agent runtime! I have my own projects that could benefit from that.
Earlier quoted context omitted.
1. Control and guardrails. I want agent-authored code to be able to express itself in code but I want to own the external tools that are available to the agent. 2. Suspension and resumption. Monty's VM state is fully serializable so I can run the VM until it gets to a tool call and persist the VM state. I could resume it days later with the results of the tool call with no issues. Doing that guaranteed with CPython i…
I'm pretty sure that first one can be achieved using MicroPython or CPython. Your point 2 is very convincing: I hadn't realized Monty had serializable state as a core feature, that's a very compelling attribute for an agent runtime! I have my own projects that could benefit from that.
Serializable state is the most cool property though. It's really undersold in the explanations but makes running durable agent workflows authored in code possible!
Earlier quoted context omitted.
I'm pretty sure that first one can be achieved using MicroPython or CPython. Your point 2 is very convincing: I hadn't realized Monty had serializable state as a core feature, that's a very compelling attribute for an agent runtime! I have my own projects that could benefit from that.
Absolutely the first one could be achieved using one of those tools. But Monty makes it feel so native, it even packages a type checker so you can provide stubs for the external functions (so you provide feedback to the agent on the type of those things). Serializable state is the most cool property though. It's really undersold in the explanations but makes running durable agent workflows authored in code possible!
If you're going to run Python code inside a WebAssembly container anyway why go with the Monty subset when you could use full CPython (or MicroPython) compiled to WASM instead?
1. Control and guardrails. I want agent-authored code to be able to express itself in code but I want to own the external tools that are available to the agent. 2. Suspension and resumption. Monty's VM state is fully serializable so I can run the VM until it gets to a tool call and persist the VM state. I could resume it days later with the results of the tool call with no issues. Doing that guaranteed with CPython i…