Venolio

Add-ons: limits

For developers

Every run of an entry point is bounded. venolio-addon test and venolio-addon run apply the same limits with the same interpreter, so you meet a limit on your machine before Venolio enforces it. The values are also constants in venolio_addon::limits.

Per run

Limit Value When exceeded
Processor 100 million units of fuel, about one per WebAssembly instruction fuel_exhausted
Memory 16 MiB of linear memory; one memory, at most 4 tables of 10,000 elements memory_exceeded
Call stack The interpreter’s bounded stack (deep recursion traps) failed
Wall clock 10 seconds, checked on every host call and applied to each host request timed_out
Host calls 64 per run call_limit_exceeded
HTTP requests 8 per run (they count as host calls too) call_limit_exceeded
Input, output, each host request 256 KiB Larger input is refused; larger output fails the run; a larger request returns an error
Logs 50 lines of at most 1000 characters; control characters other than tab are removed Further lines are dropped

venolio-addon test prints the fuel each case used. A typical Rust entry point that decodes its input, makes a few host calls and encodes its output uses about 0.5–2 million units. Parsing and writing JSON is the main cost of larger runs: decoding about 60 KB of API answers and rendering a block uses around 20 million. Cryptography is expensive in the interpreter: one RSA-2048 signature computed inside the sandbox does not finish within the budget, which is why crypto.sign_rs256 exists (see Host API).

Per package and add-on

Limit Value
Module 4 MiB (the release profile venolio-addon new writes makes about 120 KiB for the starting project)
Manifest 64 KiB
Entry points 32
Network hosts 20
Storage 1000 keys of 1–200 characters, 64 KiB per value, 1 MiB in total
Page text 65,536 characters per pages.get (truncated: true beyond)
Run history Venolio keeps the latest 200 runs per add-on

On a server, at most 2 add-on runs execute at a time. A run waits up to 5 seconds for a slot and is then refused with 503. Local runs have no queue.

Extension points

Limit Value
Trigger fires 4 per run (the fifth stops it with call_limit_exceeded); payloads up to 16 KiB; at most 20 automations start per fire
Action input The step’s configured input up to 16 KiB; output kept with the job when up to 16 KiB
Webhook requests Bodies up to 64 KiB of UTF-8, at most 30 headers of up to 1 KiB passed on, 60 requests a minute per address
Panels and blocks Settings (config) up to 4 KiB, message values up to 64 KiB, 120 calls a minute per person
Signatures Keys up to 4 KiB of PEM (RSA 2048–4096 bits), signed text up to 64 KiB; each counts as a host call
venolio.openUrl https: only, up to 2048 characters, right after a click or key press

venolio-addon test and run apply the trigger, webhook and block size limits; the per-minute rates exist only on a server.

Run statuses

Status Meaning
succeeded The entry point returned, and its output (if any) was valid JSON.
failed It trapped: an error or panic in your code (the SDK logs the reason first), invalid output JSON, an out-of-bounds host call, or deep recursion.
fuel_exhausted It used its whole processor budget.
memory_exceeded It tried to grow memory beyond 16 MiB.
timed_out It ran longer than 10 seconds.
call_limit_exceeded It made more than 64 host calls or more than 8 HTTP requests, or fired more than 4 triggers.

Keep modules small and fast

  • Use the release profile venolio-addon new writes (opt-level = "s", LTO, one codegen unit, strip, panic = "abort").
  • Avoid large dependencies. Anything that needs threads, files, clocks or randomness does not work in the sandbox anyway.
  • Batch work: one pages.list instead of many pages.get where the list has what you need.

About this part of Venolio: Let Claude, ChatGPT and Codex work in your workspace

Checked against the app on . The same help is built into the Venolio apps and works offline. Something wrong or missing? Tell us.