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:
- Cloudflare routes it to the nearest data center
- The agent's Worker executes locally
- If state is needed, the Durable Object is accessed
- 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
| Deployment | Avg Latency | P99 Latency |
|---|---|---|
| Local only | 50-200ms (same region) | 500ms+ (cross-region) |
| Edge (global) | 10-30ms | 50ms |
Monitoring Edge Performance
bash
naos edge status researcherEDGE 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 avgEdge Logs
Stream logs from edge deployments:
bash
naos edge logs researcher
naos edge logs researcher --follow
naos edge logs researcher --region usUndeploying
Remove an agent from the edge:
bash
naos edge undeploy researcher