Skip to content
Docs

Agent tooling documentation

Edge Agent API

Let AI agents deploy, manage, and monitor your infrastructure. Built for how LLMs think.

How it works

You give your agent an access code and the URL, and it takes it from there:

  1. You → "Here's my Edge agent code, deploy this app."
  2. Agent → Discovers capabilities, deploys, reports back.
  3. You → "How's it doing?"
  4. Agent → Checks metrics, reports status, suggests optimisations.

Three principles make this work:

  • Discovery-first: The agent learns what it can do, what limits exist and what's already deployed before taking any action.
  • Budget-aware: every response includes cost context. Set soft or hard budget caps so the agent operates within your limits.
  • tell_user field: Every response includes a human-readable summary the agent can relay directly to you. No interpretation needed.

Quick start

  1. Go to Account → Agent Access and create an agent access code.
  2. Give your AI agent the code and the URL: https://edge.network/agent.
  3. The agent calls the discovery endpoint to learn what it can do.
  4. The agent deploys, manages and monitors your infrastructure.

Designed for agents

Unlike standard cloud APIs designed for humans or scripts, the Edge Agent API is built from the ground up for how LLMs work:

  • Dry run everything: preview any action before committing with the X-Dry-Run: true header.
  • Project-based: group resources by purpose (VM + CDN + DNS = one project). Health-check, scale or tear down everything at once.
  • Errors as guidance: error responses include actionable suggestions and a tell_user field explaining what the user should do.
  • Idempotent: all mutating endpoints support idempotency keys for safe retries.

Available products

ProductWhat agents can manage
ComputeVMs, scaling, metrics
CDNDeployments, domains, cache
StorageBuckets, uploads, objects
DNSZones, records, propagation
ShieldBot protection (free)
AssistAI answers, grounded
PulseUptime checks, alerts, status pages

OpenAPI specification

The full Agent API surface is published as OpenAPI 3.0, with typed schemas ready for function calling.

In this section

MCP server

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.

MCP tool reference

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.

Connect your tool

Ready-to-paste Edge configs for Cursor, Windsurf, Claude Desktop, Grok Bot, Continue, Aider, LangChain, LlamaIndex, CrewAI and the Vercel AI SDK.

Framework wrappers

Official Edge tool packages for LangChain, LlamaIndex, CrewAI and the Vercel AI SDK. Tool definitions are fetched from the MCP endpoint at runtime.

Agent self-signup

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.

Agent access codes

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.

Discovery endpoint

The agent's entry point to Edge Network: one call returns capabilities, limits, existing resources and a self-describing schema of every Agent API endpoint.

Deploy a static site

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.

Deploy an application

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.

Projects

Group related resources into projects for unified management through the Agent API: one-call health checks, scaling, cost tracking and clean teardown.

Bot protection

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.

AI answers

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.

Uptime monitoring

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.

Something unclear or out of date? Tell us, or read this page as Markdown.