Call the Limetry SDK remotely from remote runtimes
Use RemotePolicyEngine anywhere HTTPS works: local Node, server function, edge runtimes, or edge Workers. No native binary required.
Configure HTTP evaluate
Point baseUrl at your self-run Limetry server:
import { RemotePolicyEngine, createSlimActionPolicy } from "@limetry/sdk"
const engine = new RemotePolicyEngine({
apiKey: process.env.LIMETRY_API_KEY,
baseUrl: "https://api.limetry.org",
})
const decision = await engine.evaluateAction(intent, policy)
Runtime options
- Local: Run evaluate against
http://localhost:3810during development. - self-run: Deploy the evaluation server; you own retention, keys, and uptime. See [self-run setup](/docs/server/self-run setup).
