Code examples
Start with the complete quickstart for your framework:
| Framework | Quickstart |
|---|---|
| Next.js App Router | Open |
| Next.js Pages Router | Open |
| Express | Open |
| FastAPI | Open |
For browser-only examples, compare useMythos, initMythos, and the script build. The recipes cover standalone mode, LLM chat, fixed-price billing, and session expiry.