Ory logo

Cloudflare Workers Deploy Agents Integration

Cloudflare Workers is a serverless platform for running code on Cloudflare's global edge network, close to users and without managing infrastructure.

Cloudflare logo

Cloudflare Workers Deploy Agents

Benefits with Ory + Cloudflare Workers Deploy Agents Integration

Ory integrates with Cloudflare Workers to give teams a verified protection boundary for AI agents in production. Teams deploy a customer-owned Worker with Agent Security checks wrapped around its complete tool map, so no tool is left ungated. Every gated tool call is checked against fine-grained authorization to permit or deny the action, and all activity is logged for a complete audit trail. Teams can start in Observe mode to see how agents use their tools, then switch to Enforce mode so agents act only within their authorized permissions.

The fastest way to get started with Ory Agent Security is to sign up for the Ory Network. Install the ory-agent CLI, then create an Agent Security deployment for Cloudflare Workers from the Ory Console or with the CLI from your agent's project directory.

brew install ory/tap/ory-agent
View Cloudflare Workers docs (opens in a new tab)

Use Cases

Agent IAM

Secures agents running on Cloudflare Workers with a runtime identity, fine-grained authorization on every gated tool call, and complete audit logging.

Explore Agent IAM

CIAM

Lets teams ship customer-facing agents on Cloudflare Workers that act on behalf of end users with Ory-managed authentication and consent, following Ory best practices.

Explore CIAM

B2B IAM

Applies fine-grained authorization to every action agents take for business customers on Cloudflare Workers, at the edge, close to customers, and scales with business growth.

Explore B2B IAM

Core Functionality

  1. Identity

    Verifies the Worker-hosted agent with an Agent Security runtime identity before it acts.

  2. Authorization

    Enforces fine-grained, policy-based access control for every gated tool call an agent makes on Cloudflare Workers.

  3. Secrets

    Keeps Agent Security runtime values out of Worker source code and supplies them at deploy time.

  4. Isolation

    Wraps Agent Security checks around the Worker's complete tool map at the edge.

  5. Audit

    Logs complete audit trails for agent sessions, tool invocations, and authorization decisions.

  6. Rollout

    Creates the deployment with Ory Deploy or the ory-agent CLI, ships the runtime package, and verifies the protection boundary, with Observe mode for monitoring and Enforce mode for strict permission enforcement.