Skip to main content
@agentonboard/sdk/hono provides requireAgentAccount(c, options) for Hono apps on Cloudflare Workers, Bun, Deno, Node.js, and Fastly Compute without nodejs_compat flags.

Copy-paste agent prompt


1. Install the SDK


2. Guard your Hono route

src/index.ts
Use session.user directlyThe binding does not mutate Hono’s c.set() context map. Read session.user directly from the returned object so TypeScript types stay exact.

3. Test with curl

Mint a 5-minute test token using POST /api/v1/token/exchange and call your Hono service:

Testing & Production

Accounts & Agent Signup