Code Node (& Function Node)
The Code Node runs synchronous JavaScript in a secure code sandbox. No async, no network, no modules.
Written By Philippe
Last updated About 6 hours ago
Code Node (& Function Node)
β οΈ Limitations β Works with known restrictions, see details below
Compatibility
On indie.money, the Code node runs in a secure code sandbox instead of Node.js:
Limits:
- 5-second secure code sandbox CPU limit β Code and Function node JavaScript must finish CPU-bound work within 5 seconds. Network waits in HTTP Request, LLM, and database nodes use the agent execution limits below instead.
- 5-minute wall-clock timeout β total elapsed time including I/O wait. An agent can spend up to 5 minutes total, but synchronous JavaScript inside the secure code sandbox is capped at 5 seconds of CPU.
Status
This integration works on indie.money with known limitations. See the details above for specifics.