Introduction
Mythos is a platform where users buy credits once and spend them across apps. Producers integrate the Mythos SDK to make their apps launchable and billable from the Mythos marketplace.
The SDK handles launch token exchange, secure sessions, charge confirmation, wallet charging, LLM billing, and the routes Mythos uses to verify an integration. You work with createMythos() in Node or create_mythos() in Python instead of wiring those protocols yourself.
Integrate in 3 steps
- Install the package and run the scaffold command.
- Wire the SDK's handler or router into one route.
- Confirm in the browser, then call
chargeon the server for a billable action.
Pick your quickstart
Packages
| Package | Runtime |
|---|---|
@mythos-work/sdk | Node.js 20+, Next.js, and Express |
mythos-sdk | Python 3.11+ and FastAPI |