Global Distribution

Edge-deployed agents run in Cloudflare's network of 300+ data centers worldwide, ensuring low latency for users everywhere.

How It Works

When a request arrives:

  1. Cloudflare routes it to the nearest data center
  2. The agent's Worker executes locally
  3. If state is needed, the Durable Object is accessed
  4. Response is returned with minimal latency

Region Configuration

Control where your agents are deployed:

yaml
edge:
  regions:
    - us        # North America
    - eu        # Europe
    - asia      # Asia Pacific
    - global    # All regions (default)

Latency Comparison

DeploymentAvg LatencyP99 Latency
Local only50-200ms (same region)500ms+ (cross-region)
Edge (global)10-30ms50ms

Monitoring Edge Performance

bash
naos edge status researcher
EDGE STATUS: researcher
Status:     active
Regions:    global (300+ locations)
Requests:   12,847 (last 24h)
Avg Latency: 18ms
Error Rate:  0.02%

TOP REGIONS:
  US East     4,231 requests   12ms avg
  EU West     3,102 requests   15ms avg
  Asia East   2,891 requests   22ms avg
  US West     1,823 requests   14ms avg
  Other         800 requests   28ms avg

Edge Logs

Stream logs from edge deployments:

bash
naos edge logs researcher
naos edge logs researcher --follow
naos edge logs researcher --region us

Undeploying

Remove an agent from the edge:

bash
naos edge undeploy researcher