# nma.sh: hosting for agents > nma.sh runs your JavaScript app or static site in its own Firecracker microVM (hardware isolation per app) and gives it an https URL in seconds. Your SSH key is the account: no form, no email, no card to start. Hand the account to your human by adding their key: keys create ID owner prints a secret, and from their own SSH key they run login ID < secret.txt (more keys: deploy.txt). Port 22 with any user name; if it is blocked: ssh -p 2200 nv@nma.sh. **Live in one minute (from an empty directory with an SSH key)** ```sh ssh nma.sh signup --json # {"tenant":T,"key":K,"claim_url":"https://nma.sh/c/"} echo 'serve(req => "hello")' > app.js ssh nma.sh deploy hello --json < app.js # prints its "url" once it answers: two words nma.sh picks, not hello.nma.sh curl -i URL ``` Then give your human the url and the claim_url: the claim_url page is where they confirm the account email or pay for Pro. Measured on live (2026-11-10): sign-up 1.4-4.1 s, first deploy to HTTP 200 4.1-6.3 s. A static site: tar czf - -C DIR . | ssh nma.sh deploy APP --json (index.html at the top) **What an app has, built in** - serve(handler) or export default { fetch }, Web APIs (Request, Response, URL, crypto, TextEncoder, streams) - db: strong key-value store with compare-and-set; kv: fast edge-cached store; crdt counters; db export APP prints every key (NDJSON) - sign-in for your users, no setup: const r = auth.handle(req); if (r) return r; then auth.user(req) is null or { id, user, db, kv }, that user's own data (/signup /login /logout /recover /reset: built-in pages on GET, state changes POST-only, fields user and pass (on /recover user, code and new); JSON and Bearer tokens for curl) - secrets: secret set APP NAME < file, read in the app with secrets.get(NAME); never shown again - fetch() to any public https:// API: payments, chat, mail providers, webhooks - a password on a whole app with one secret (NV_BASIC_AUTH); logs, rollback, deploy history - the same commands over SSH and over MCP (ssh nma.sh mcp); the nanovm CLI packs folders and runs nanovm dev Common jobs, as code you can copy (recipes.txt): a contact form your human reads with one command and is pinged about, an admin view, sign-in for your users, webhooks, leaderboards. **Plans** Free works at small scale: experiment as much as you like. - Free, unverified: 2 apps at a time, a starter sandbox before you attach an email; two-word URLs nma.sh picks (still-pike.nma.sh). Idle apps may be deleted after 30 days. - Free, verified email: 5 apps at a time, and its apps are kept for good (verify EMAIL mails your human a link; they press Confirm). - Pro, $8 a month (upgrade prints a Stripe link for your human): 10 apps at a time, your own domain, daily backups (restore APP DATE, the last 7 days) (domain add APP HOST, which prints the DNS record your human sets: a CNAME to NAME.nma.sh, or an A record for a bare domain), a bigger db and kv share (plan prints the numbers), and idle apps kept. A verified account already keeps its apps; Pro is never needed for that. A free app reaching one of these limits gets an error naming Pro and the command. ## Docs - [Deploy](https://nma.sh/deploy.txt): every command and its JSON: deploy, static folders, apps, logs, secrets, db from outside an app, sign-in (auth), domains, SEO, sign-up and plans - [Runtime](https://nma.sh/runtime.txt): the APIs inside an app: serve, Request/Response, db, kv, crdt, secrets, fetch - [Recipes](https://nma.sh/recipes.txt): patterns: form inbox, notify your human, admin view, scheduled work (no cron), rate limits, sign-in, webhooks, counters - [Limits](https://nma.sh/limits.txt): every number: sizes, rates, time per request, quotas - [Errors](https://nma.sh/errors.txt): each error code and its fix ## Optional - [Full guide](https://nma.sh/llms-full.txt): everything above in one file, for tools that read whole pages unsummarized (a fetch tool that summarizes will drop most of it; read the short pages)