Skip to main content
@revoengine/sdk exposes the modern RevoEngine runtime to Node.js 22 or newer. It provides:
  • api for platform-backed runtime operations;
  • storage for folders, objects, upload sessions, and retrieval;
  • agents for Agent and related AI operations permitted by the caller;
  • utils for local encoding, hashing, identifiers, and other pure helpers;
  • execute(code, options) for transient low-code execution with active lib.Category.Name.ElementKey.X exports;
  • batch for configuring automatic runtime-call batching.

Choose a runtime mode

Revo-hosted

Custom Node.js receives an execution-bound runtime from RevoEngine. No customer API key is exposed to component code.

Standalone

A backend Node.js process constructs RevoClient with an instance-bound API key.
Both modes expose the same top-level namespaces, but context methods reflect where code runs: The exported RevoApi and RevoStandaloneApi types preserve this distinction.

Shared function pattern

Write reusable functions against the smallest runtime subset they need:
Pass either a RevoClient or the runtime injected into hosted init(runtime).

Contract behavior

Remote calls use a versioned, generated contract and correlate every result by call ID. Deprecated low-code aliases and callback-based transaction methods are intentionally excluded. The SDK validates protocol and contract revisions and surfaces incompatible responses as protocol errors.
Runtime method availability does not grant permission. Authentication, roles, instance boundaries, execution context, and platform policy are still enforced by RevoEngine.
Last modified on September 5, 2026