WardrikLua (wardrik_lua v0.1.0-rc.1)
Copy MarkdownLua 5.3 for agents.
Gives agents the run_lua tool, which runs code in a sealed sandbox and returns the value. Use it
when agents need exact answers they'd otherwise work out in their heads: arithmetic, reshaping a
result, a loop, or the current time with os.time and os.date.
WardrikCore.start_agent(
agent_id: "acme/triage",
model: "anthropic:claude-haiku-4-5",
capabilities: [WardrikLua]
)The VM can't reach files, the network, the environment, or anything else the agent has. See
WardrikLua.Sandbox.
Options
:limits- bounds for each run. SeeWardrikLua.Sandbox.Limits.{WardrikLua, limits: [timeout_ms: :timer.seconds(5)]}