Preview documentation. Per-framework examples land in the next docs release.

Supported frameworks

  • Rust: Axum OpenAgentLayer + OpenAgentExtractor, Tower Service adapter.
  • TypeScript: createOpenAgentMiddleware() works with Express, Hono, Fastify, Next.js middleware, and any WHATWG fetch handler (Cloudflare Workers, Deno, Bun).
Every middleware exposes the same AuthenticatedContext shape to downstream handlers.