Frameworks
Any runtime (Fetch)
Cloudflare Workers, Hono, Bun, Deno — anything that speaks the Fetch API Request/Response.
Any runtime (Fetch)
createAgentAuthHandler() takes a standard Request and returns who sent it, so it runs
anywhere the Fetch API does: Cloudflare Workers, Hono, Bun, Deno, Remix, SvelteKit, Astro.
out contains:
| Field | |
|---|---|
result | verified / unverified / none — see How it works |
headers | request headers to forward, with x-agentronics-* set and forged ones removed |
There's no "blocked" outcome — every request is forwarded. Agentronics authenticates; it never turns traffic away.
Hono
Just the result
To authenticate without the handler wrapper — say, inside an existing request pipeline:
Runtime notes
- Cloudflare Workers / edge: Web Bot Auth, API keys and OAuth2 work fully. Crawler reverse
DNS needs Node, so crawlers stay unverified there — use Web Bot Auth for signed crawlers.
On Cloudflare, the client IP comes from
cf-connecting-ipautomatically. - Node ≥ 20 and Bun: everything works, including crawler reverse DNS.
- Deno: everything except crawler reverse DNS (crawlers stay unverified).