CI/CD Branch Preview Domains with AgentDomains
Provision deterministic per-branch URLs (feat-auth.makes.fyi) directly from GitHub Actions or GitLab CI using the AgentDomains Go CLI.
The Go CLI ships as one binary with --json output. CI jobs can create and delete DNS cleanly.
1. 3-Stage Sequence Diagram
3-stage sequence: AI agent claims feat-auth.makes.fyi, maps it to feat-auth.onrender.com, and verifies HTTPS 200 OK.
2. 4-Step MCP Tool-Call Transcript
Your agent sends these exact calls to https://mcp.agentdomains.co or local stdio.
{
"tool": "check_availability",
"arguments": {
"label": "feat-auth",
"domain": "makes.fyi"
}
}
// Response:
{
"fqdn": "feat-auth.makes.fyi",
"available": true,
"reason": "available"
}
{
"tool": "claim_domain",
"arguments": {
"label": "feat-auth",
"domain": "makes.fyi",
"email": "ops@example.com"
}
}
// Response:
{
"fqdn": "feat-auth.makes.fyi",
"status": "claimed",
"confirm_within_days": 30
}
{
"tool": "set_proxy",
"arguments": {
"label": "feat-auth",
"domain": "makes.fyi",
"origin": "feat-auth.onrender.com"
}
}
// Response:
{
"ok": true,
"fqdn": "feat-auth.makes.fyi",
"origin": "feat-auth.onrender.com",
"https": "https://feat-auth.makes.fyi"
}
curl -fsSI https://feat-auth.makes.fyi
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000
3. Clean Teardown (GitHub Action & CLI)
Run agentdomains delete in your branch-cleanup workflow to stay well under your name cap. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.
name: Teardown feat-auth
on:
workflow_dispatch:
pull_request:
types: [closed]
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Delete AgentDomains hostname before destroying compute
env:
AGENTDOMAINS_API_KEY: ${{ secrets.AGENTDOMAINS_API_KEY }}
run: |
curl -fsSL -X DELETE \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
"https://api.agentdomains.co/v1/subdomains/feat-auth"
# Or with the Go CLI:
# agentdomains delete feat-auth
More Workflow Blueprints
iOS & Android Backend Dev URLs
Pass iOS ATS and Android TLS rules with a real HTTPS API domain during mobile builds.
IoT & EdgeIoT & Hardware Device Callbacks
Give ESP32 and Raspberry Pi devices a fixed DNS name. Never reflash firmware when your server IP changes.
SaaS ArchitectureMulti-Tenant SaaS Subdomain Demos
Test tenant-per-subdomain routing (acme.tenant-demo.makes.fyi, beta.tenant-demo.makes.fyi) using AgentDomains sub-label DNS records (--host).
AI Voice Agent Webhooks
Host Vapi, Retell, ElevenLabs, or Twilio AI voice agent tool-call webhooks on a low-latency HTTPS domain.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.