Introducing Trusted Remote Execution: Policy-Enforced Scripts for AI Agents and Humans

Trusted Remote Execution, or Rex, is an open source scripting runtime that authorizes every system operation against policy. Scripts are written in Rhai, which has no built-in system access; host operations are available only through explicitly provided functions checked against Cedar policies. The design aims to limit what scripts can do at runtime, including scripts generated by AI agents, by separating service-owner authorization rules from the code being executed.

AI-written summary, checked against the cited sources. How summaries work

Image: AWS Open Source Blog

Read at AWS Open Source Blog