Guides

Framework Guides

Use experimental-agent with Next.js, Express, Hono, and other JavaScript frameworks.

The core APIs — agent(), session.send(), session.stream() — are framework-agnostic. No special framework configuration is needed for basic usage.

Next.js

No special Next.js configuration is required. Define your agent, create API routes, and start building. For durable workflows, see the Next.js guide.

Other Frameworks

Support for additional frameworks is coming soon:

  • Express
  • Hono
  • Fastify
  • Nitro / Nuxt
  • SvelteKit

The agent() and session APIs work in any environment. Framework-specific guides will cover deployment for each runtime.

On this page

GitHubEdit this page on GitHub