{
  "@context": "https://schema.org",
  "@type": "TechArticle",
  "name": "Agent access codes | Edge Agent tooling Docs",
  "headline": "Agent access codes | Edge Agent tooling Docs",
  "description": "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.",
  "url": "https://edge.network/docs/agent/access-codes",
  "image": "https://edge.network/og/docs__agent__access-codes.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"
      },
      {
        "@type": "ListItem",
        "position": 4,
        "name": "Access codes",
        "item": "https://edge.network/docs/agent/access-codes"
      }
    ]
  },
  "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 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 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 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 Account\n\n Account & support Overview Copy Anchor Link \n\n Agent access codes are separate from API keys. They&#x27;re designed specifically for AI agents, with built-in scoping for products, permissions and budgets.\n\n Output Copy Text Format: ea_live_{random_64_hex} \n Example: ea_live_7f3a9b2c4d5e6f1a8b9c0d1e2f3a4b5c... Warning\n\n Agent codes are shown once at creation. Store them securely. If lost, revoke the old code and create a new one.\n\n Creating an access code Copy Anchor Link \n\n Open Account → Agent Access from the user menu.\n Click Create Agent Code .\n Enter a descriptive name (e.g. \"Cursor Agent\", \"CI/CD Deploy\").\n Select which products the agent can access.\n Choose permissions (Deploy, Manage, Delete).\n Optionally set a budget cap with soft or hard enforcement.\n Copy the generated code immediately.\n Scoping Copy Anchor Link \n\n Products Copy Anchor Link \n\n Control which Edge products the agent can access:\n\n Compute: VMs, scaling\n CDN: Deployments, domains\n Storage: Buckets, uploads\n DNS: Zones, records\n Shield: bot protection\n Assist: AI answers\n Permissions Copy Anchor Link \n\n Permission Allows Deploy Create resources, upload files, deploy applications Manage View, update and manage existing resources, check health Delete Delete resources and tear down projects Budget caps Copy Anchor Link \n\n Set a monthly spending limit for the agent:\n\n Soft cap: The agent receives a warning when approaching the limit but can continue operating. Useful for flexibility with awareness.\n Hard cap: The agent is blocked from creating new resources once the limit is reached. Useful for strict cost control.\n Authentication Copy Anchor Link \n\n Pass the agent access code as a Bearer token:\n\n HTTP Copy Text GET https://edge.network/agent \n Authorization: Bearer ea_live_7f3a9b2c4d5e6f1a... Managing codes Copy Anchor Link \n\n Edit: update the name, products, permissions and budget cap at any time.\n Revoke: immediately invalidate a code. Agents using it lose access instantly.\n Last used: see when each code was last used to identify inactive codes.\n Multiple codes: create separate codes for different agents or environments.\n Best practices Copy Anchor Link \n\n One code per agent: use separate codes for each AI tool (Cursor, CI/CD, etc.) for clear audit trails.\n Least privilege: only enable the products and permissions the agent actually needs.\n Set a budget cap: even a generous soft cap gives you visibility into agent spending.\n Something unclear or out of date? Tell us , or read this page as Markdown .\n\n Self-signup\n\n Previous\n\n Discovery endpoint\n\n Next",
  "headings": [
    {
      "level": 1,
      "text": "Agent access codes"
    }
  ],
  "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": "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"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/docs/api/dns"
    },
    {
      "@type": "WebPage",
      "name": "Installation",
      "url": "https://edge.network/docs/cli/installation"
    },
    {
      "@type": "WebPage",
      "name": "Authentication",
      "url": "https://edge.network/docs/cli/authentication"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/docs/agent/access-codes",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-23T08:56:45.425Z"
}