---
title: "Cloudflare Deploy"
description: "Deploy agents to Cloudflare's global edge network for low latency execution in 300+ locations worldwide. 1. A Cloudflare account with Workers enabled 2. Your Account ID and API Token You'll be prompted for your Cloudflar"
resource: https://www.aiagents.nexus/docs/edge/cloudflare-deploy
generated: { by: "process:nexus-agent-assets", at: 2026-09-07T09:13:03Z }
status: stable
---

# Cloudflare Edge Deployment

Deploy agents to Cloudflare's global edge network for low-latency execution in 300+ locations worldwide.

## Prerequisites

1. A Cloudflare account with Workers enabled
2. Your Account ID and API Token

## Authentication

```bash
naos edge login
```

You'll be prompted for your Cloudflare credentials:

```
Cloudflare Account ID: your-account-id
Cloudflare API Token: your-api-token
[edge] Credentials stored securely
[edge] Account verified ✓
```

Or set via environment variables:

```bash
export CF_ACCOUNT_ID="your-account-id"
export CF_API_TOKEN="your-api-token"
```

## Deploying an Agent

```bash
naos edge deploy researcher
```

Output:

```
[edge] Packaging agent: researcher
[edge] Compiling to Cloudflare Workers format
[edge] Creating Durable Object namespace
[edge] Uploading worker bundle (142KB)
[edge] Configuring routes
[edge] ✓ Deployed to Cloudflare Edge
[edge] URL: https://researcher.your-subdomain.workers.dev
[edge] Regions: 300+ locations worldwide
```

## Listing Deployments

```bash
naos edge list
```

```
EDGE DEPLOYMENTS
AGENT       STATUS    REGIONS   URL
researcher  active    global    researcher.your-subdomain.workers.dev
analyzer    active    global    analyzer.your-subdomain.workers.dev
```

## Configuration

```yaml
edge:
  provider: cloudflare
  regions:
    - us
    - eu
    - asia
  durableObjects: true
  routes:
    - pattern: "api.example.com/research/*"
      agent: researcher
```
