Skip to main content
Last updated on

Code examples

Start with the complete quickstart for your framework:

FrameworkQuickstart
Next.js App RouterOpen
Next.js Pages RouterOpen
ExpressOpen
FastAPIOpen

For browser-only examples, compare useMythos, initMythos, and the script build. The recipes cover standalone mode, LLM chat, fixed-price billing, and session expiry.