SDK

Examples

Real, runnable files on GitHub. Copy one, set MARITIME_API_KEY, and run. Every example is verified to compile against the published packages.

TypeScript

Python

The same three lines in either language: provision, then chat.
Provision on signup
One agent per customer, idempotent
Express / FastAPI chat API
An endpoint that provisions + chats
Next.js route handler
Drop-in app/api/assistant/route.ts
Webhook receiver
Verify the HMAC signature, handle events
Scoped worker key
Mint a deploy-only key for a subsystem
Per-customer secrets
Set + hot-reload encrypted env vars

The whole set lives in github.com/maritime-sh/maritime-sdk/examples.

A note on billing

Agents you provision run on your Maritime wallet: one shared balance, metered per agent. Fund it from the billing page. Idle agents auto-sleep and cost ~nothing, and they auto-sleep at $0 rather than surprising you with an overage.