Local LLM API Endpoint with AgentDomains
Point an A record at your Ollama or vLLM box behind Caddy. Call your private API over HTTPS.
Raw GPU IPs break TLS checks in Python and TypeScript SDKs. An A record plus Caddy turns any GPU box into an HTTPS endpoint.
1. 3-Stage Sequence Diagram
3-stage sequence: AI agent claims gpu-llm.agentdomains.co, maps it to 203.0.113.50, 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": "gpu-llm",
"domain": "agentdomains.co"
}
}
// Response:
{
"fqdn": "gpu-llm.agentdomains.co",
"available": true,
"reason": "available"
}
{
"tool": "claim_domain",
"arguments": {
"label": "gpu-llm",
"domain": "agentdomains.co",
"email": "ops@example.com"
}
}
// Response:
{
"fqdn": "gpu-llm.agentdomains.co",
"status": "claimed",
"confirm_within_days": 30
}
{
"tool": "add_dns_record",
"arguments": {
"label": "gpu-llm",
"domain": "agentdomains.co",
"type": "A",
"content": "203.0.113.50"
}
}
// Response:
{
"ok": true,
"id": "rec_01j8x",
"fqdn": "gpu-llm.agentdomains.co",
"type": "A",
"content": "203.0.113.50"
}
curl -fsSI https://gpu-llm.agentdomains.co
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000
3. Clean Teardown (GitHub Action & CLI)
Delete the A record or entire subdomain when shutting down rented spot GPU instances. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.
name: Teardown gpu-llm
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/gpu-llm?domain=agentdomains.co"
# Or with the Go CLI:
# agentdomains delete gpu-llm --domain agentdomains.co
More Workflow Blueprints
ACME DNS-01 & Private TLS Certs
Publish _acme-challenge TXT records via MCP or CLI. Get Let’s Encrypt certs behind NAT or closed port 80.
Agency Client Staging Links
Give clients clean clientname-stage.makes.fyi preview links. Run up to 100 projects on one $10/yr Pro plan.
Scheduled Cron & Job Endpoints
Expose clean HTTPS webhook triggers for GitHub Actions, Upstash QStash, or Cloud Scheduler without hardcoding opaque serverless URLs.
Chat BotsDiscord Interaction Endpoints
Give Discord HTTP Interactions (Ed25519-verified slash commands) a fast, trusted HTTPS endpoint with zero manual certificate renewal.
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.