Public SDK runtimes
| SDK | Runtime support |
|---|---|
| TypeScript | Node 20+, Bun, Deno, browsers, Cloudflare Workers |
| Rust | Rust 1.78+, Tokio services, Axum/Tower integrations |
Deployment examples in the SDK repo
| Adapter | Use case |
|---|---|
| Docker | Self-hosted Node or Bun service with OpenAgent middleware |
| Cloudflare Worker | Edge auth and credential proxy calls near users |
| AWS Lambda | Serverless handlers that authenticate agent requests |
| Vercel Edge | Next.js middleware and route protection |
Framework shape
All adapters do the same thing:- run
OpenAgent.authenticate(request), - attach the verified context to request state,
- short-circuit failures with stable OpenAgent error codes,
- let handlers enforce route-specific scopes,
- call Arsenal for brokered credentials only when needed.