{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "Agent API for AI agents | Edge Docs",
  "headline": "Agent API for AI agents | Edge Docs",
  "description": "The Edge Agent API lets AI agents deploy, manage and monitor compute, CDN, DNS and storage with discovery-first design, budget caps, dry runs and idempotent calls.",
  "url": "https://edge.network/docs/agent",
  "image": "https://edge.network/og/docs__agent.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Docs",
        "item": "https://edge.network/docs"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Agent",
        "item": "https://edge.network/docs/agent"
      }
    ]
  },
  "section": "documentation/agent",
  "articleBody": "Docs CDN Deployments, domains, caching, purging and on-the-fly image optimisation. Getting started \n Deployments \n Domains & SSL \n Compute Virtual machines in seconds: networking, firewalls, backups and SSH keys. Getting started \n Creating VMs \n Managing VMs \n DNS Zones, records, geo-routing, backups and development domains. Getting started \n Zone management \n DNS records \n Storage S3-compatible buckets, access keys, presigned URLs and multipart uploads. Getting started \n Buckets \n Access keys \n Shield Privacy-first bot protection: widget modes, siteverify and verified agents. Getting started \n Widget modes \n JavaScript API \n Assist AI answers from your own content: widget, ingestion and the API. Getting started \n Widget & embedding \n Content ingestion \n Pulse Uptime monitoring from several locations: checks, incidents, alerts and status pages. Getting started \n Check types \n Locations & intervals \n REST API Manage every Edge resource over HTTPS with API keys. Authentication \n Errors \n Versioning \n Compute \n CDN \n DNS \n CLI One binary for macOS, Linux and Windows to script every product. Installation \n Authentication \n Compute commands \n CDN commands \n DNS commands \n Storage commands \n Dev tooling Command palette and keyboard shortcuts across the console. Command palette \n Agent tooling Let AI agents deploy and manage infrastructure: discovery, MCP and access codes. Start with the overview MCP server \n MCP tool reference \n Connect your tool \n Framework wrappers \n Self-signup \n Access codes \n Discovery endpoint \n Deploy a static site \n Deploy an app \n Projects \n Bot protection \n AI answers \n Uptime monitoring \n Account & support Teams, security, audit logs, alerts, billing tools and support. Start with the overview Teams \n Referral programme \n Cost Advisor \n Security \n Two-factor auth \n Audit log \n Alerts \n Support tickets \n Search the docs ⌘K Console Products\n\n CDN Compute DNS Storage Shield Assist Pulse Developer tools\n\n REST API CLI Dev tooling Agents\n\n Agent tooling Overview MCP server MCP tool reference Connect your tool Framework wrappers Self-signup Access codes Discovery endpoint Deploy a static site Deploy an app Projects Bot protection AI answers Uptime monitoring Account\n\n Account & support How it works Copy Anchor Link \n\n You give your agent an access code and the URL, and it takes it from there:\n\n You → \"Here&#x27;s my Edge agent code, deploy this app.\"\n Agent → Discovers capabilities, deploys, reports back.\n You → \"How&#x27;s it doing?\"\n Agent → Checks metrics, reports status, suggests optimisations.\n Three principles make this work:\n\n Discovery-first: The agent learns what it can do, what limits exist and what&#x27;s already deployed before taking any action.\n Budget-aware: every response includes cost context. Set soft or hard budget caps so the agent operates within your limits.\n tell_user field : Every response includes a human-readable summary the agent can relay directly to you. No interpretation needed.\n Quick start Copy Anchor Link \n\n Go to Account → Agent Access and create an agent access code.\n Give your AI agent the code and the URL: https://edge.network/agent .\n The agent calls the discovery endpoint to learn what it can do.\n The agent deploys, manages and monitors your infrastructure.\n Designed for agents Copy Anchor Link \n\n Unlike standard cloud APIs designed for humans or scripts, the Edge Agent API is built from the ground up for how LLMs work:\n\n Dry run everything: preview any action before committing with the X-Dry-Run: true header.\n Project-based: group resources by purpose (VM + CDN + DNS = one project). Health-check, scale or tear down everything at once.\n Errors as guidance: error responses include actionable suggestions and a tell_user field explaining what the user should do.\n Idempotent: all mutating endpoints support idempotency keys for safe retries.\n Available products Copy Anchor Link \n\n Product What agents can manage Compute VMs, scaling, metrics CDN Deployments, domains, cache Storage Buckets, uploads, objects DNS Zones, records, propagation Shield Bot protection (free) Assist AI answers, grounded Pulse Uptime checks, alerts, status pages OpenAPI specification Copy Anchor Link \n\n The full Agent API surface is published as OpenAPI 3.0 , with typed schemas ready for function calling.\n\n In this section\n\n MCP server\n\n The official Edge Network MCP server, local via npx or hosted at edge.network/mcp: 46 tools for deploying, managing and monitoring infrastructure from any MCP client.\n\n MCP tool reference\n\n Every tool exposed by the Edge MCP server: all 46 tools with their parameters, types and descriptions, generated from the definitions the live endpoint serves.\n\n Connect your tool\n\n Ready-to-paste Edge configs for Cursor, Windsurf, Claude Desktop, Grok Bot, Continue, Aider, LangChain, LlamaIndex, CrewAI and the Vercel AI SDK.\n\n Framework wrappers\n\n Official Edge tool packages for LangChain, LlamaIndex, CrewAI and the Vercel AI SDK. Tool definitions are fetched from the MCP endpoint at runtime.\n\n Agent self-signup\n\n AI agents can create their own Edge account autonomously, anchored to an Ed25519 keypair, then deploy free-tier resources until a human claims the account.\n\n Agent access codes\n\n How agent access codes work: create scoped credentials for AI agents with product access, deploy or delete permissions, and soft or hard monthly budget caps.\n\n Discovery endpoint\n\n The agent&#x27;s entry point to Edge Network: one call returns capabilities, limits, existing resources and a self-describing schema of every Agent API endpoint.\n\n Deploy a static site\n\n Deploy a static website with one Agent API call: storage, uploads, CDN, domain, SSL and DNS. Upload files directly or deploy from a GitHub or GitLab repo.\n\n Deploy an application\n\n Deploy a VM-based application with one Agent API call: provision compute, run a setup script, open firewall ports, attach SSH keys and add CDN and DNS.\n\n Projects\n\n Group related resources into projects for unified management through the Agent API: one-call health checks, scaling, cost tracking and clean teardown.\n\n Bot protection\n\n Let your AI agent add free Edge Shield bot protection to the forms and pages it deploys: create a widget, inject the embed and wire up server-side verification.\n\n AI answers\n\n Let your AI agent add Edge Assist to the sites it deploys: grounded AI answers for visitors, created, indexed and embedded in two Agent API calls.\n\n Uptime monitoring\n\n Let your AI agent watch what it deploys with Edge Pulse: create uptime checks, alert channels and status pages through the Agent API, with the runs and cost known before anything is created.\n\n Something unclear or out of date? Tell us , or read this page as Markdown .\n\n Command palette\n\n Previous\n\n MCP server\n\n Next",
  "headings": [
    {
      "level": 1,
      "text": "Edge Agent API"
    },
    {
      "level": 2,
      "text": "In this section"
    },
    {
      "level": 3,
      "text": "MCP server"
    },
    {
      "level": 3,
      "text": "MCP tool reference"
    },
    {
      "level": 3,
      "text": "Connect your tool"
    },
    {
      "level": 3,
      "text": "Framework wrappers"
    },
    {
      "level": 3,
      "text": "Agent self-signup"
    },
    {
      "level": 3,
      "text": "Agent access codes"
    },
    {
      "level": 3,
      "text": "Discovery endpoint"
    },
    {
      "level": 3,
      "text": "Deploy a static site"
    },
    {
      "level": 3,
      "text": "Deploy an application"
    },
    {
      "level": 3,
      "text": "Projects"
    },
    {
      "level": 3,
      "text": "Bot protection"
    },
    {
      "level": 3,
      "text": "AI answers"
    },
    {
      "level": 3,
      "text": "Uptime monitoring"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/cdn/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Deployments",
      "url": "https://edge.network/docs/cdn/deployments"
    },
    {
      "@type": "WebPage",
      "name": "Domains &amp; SSL",
      "url": "https://edge.network/docs/cdn/domains"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/compute/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Creating VMs",
      "url": "https://edge.network/docs/compute/creating-vms"
    },
    {
      "@type": "WebPage",
      "name": "Managing VMs",
      "url": "https://edge.network/docs/compute/managing-vms"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/dns/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Zone management",
      "url": "https://edge.network/docs/dns/zones"
    },
    {
      "@type": "WebPage",
      "name": "DNS records",
      "url": "https://edge.network/docs/dns/records"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/storage/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Buckets",
      "url": "https://edge.network/docs/storage/buckets"
    },
    {
      "@type": "WebPage",
      "name": "Access keys",
      "url": "https://edge.network/docs/storage/access-keys"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/shield/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget modes",
      "url": "https://edge.network/docs/shield/widget-modes"
    },
    {
      "@type": "WebPage",
      "name": "JavaScript API",
      "url": "https://edge.network/docs/shield/js-api"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/assist/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Widget &amp; embedding",
      "url": "https://edge.network/docs/assist/widget"
    },
    {
      "@type": "WebPage",
      "name": "Content ingestion",
      "url": "https://edge.network/docs/assist/ingestion"
    },
    {
      "@type": "WebPage",
      "name": "Getting started",
      "url": "https://edge.network/docs/pulse/getting-started"
    },
    {
      "@type": "WebPage",
      "name": "Check types",
      "url": "https://edge.network/docs/pulse/check-types"
    },
    {
      "@type": "WebPage",
      "name": "Locations &amp; intervals",
      "url": "https://edge.network/docs/pulse/locations"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/api/authentication"
    },
    {
      "@type": "WebPage",
      "name": "Errors",
      "url": "https://edge.network/docs/api/errors"
    },
    {
      "@type": "WebPage",
      "name": "Versioning",
      "url": "https://edge.network/docs/api/versioning"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/docs/api/compute"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/docs/api/cdn"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/docs/agent",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-28T22:16:38.725Z"
}