moor: hosting where the agent is the customer. Agent-first PaaS on Firecracker microVMs.
  • TypeScript 83%
  • HTML 12.6%
  • CSS 2.4%
  • JavaScript 1.1%
  • Python 0.5%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-09 02:24:44 +00:00
.forgejo/workflows Hosting: Dockerfile, Forgejo CI, k8s manifests, operations runbook 2026-10-07 22:02:56 -04:00
cli Durable execution: schedules, events, deliveries and runs 2026-10-08 04:45:29 -04:00
docs Reword the money posture and the site footer 2026-10-08 06:07:38 -04:00
drizzle Durable execution: schedules, events, deliveries and runs 2026-10-08 04:45:29 -04:00
examples App holds, MOOR_APP_URL, and a HUD box example 2026-10-08 05:43:13 -04:00
k8s deploy: pin image sha-e49bed7 2026-10-09 02:24:44 +00:00
scripts Exec machines: runtime docker, 4xlarge/8xlarge, moor-tpl-docker (milestone 5) 2026-10-08 00:39:06 -04:00
sdk Durable execution: schedules, events, deliveries and runs 2026-10-08 04:45:29 -04:00
site Console: navbar, sidebar, page headers, tabs and sections 2026-10-08 22:22:27 -04:00
src Console: navbar, sidebar, page headers, tabs and sections 2026-10-08 22:22:27 -04:00
test Console: navbar, sidebar, page headers, tabs and sections 2026-10-08 22:22:27 -04:00
.dockerignore Hosting: Dockerfile, Forgejo CI, k8s manifests, operations runbook 2026-10-07 22:02:56 -04:00
.env.example TRUSTED_GITHUB_LOGINS: pre-arranged customers start on the trusted tier 2026-10-07 22:57:37 -04:00
.gitignore Ignore .claude worktrees 2026-10-07 22:02:25 -04:00
.mise.toml Scaffold: spec, schema, contracts, provider interface, Hono skeleton 2026-10-07 21:47:15 -04:00
bun.lock Scaffold: spec, schema, contracts, provider interface, Hono skeleton 2026-10-07 21:47:15 -04:00
Dockerfile Hosting: Dockerfile, Forgejo CI, k8s manifests, operations runbook 2026-10-07 22:02:56 -04:00
drizzle.config.ts Scaffold: spec, schema, contracts, provider interface, Hono skeleton 2026-10-07 21:47:15 -04:00
mise.toml Scaffold: spec, schema, contracts, provider interface, Hono skeleton 2026-10-07 21:47:15 -04:00
package.json moor CLI (cli/moor.ts), binary build script, /dl route, CLI + wiring tests 2026-10-07 22:01:56 -04:00
README.md Docs alignment: make every agent/human surface match the real API 2026-10-07 22:33:00 -04:00
tsconfig.json Scaffold: spec, schema, contracts, provider interface, Hono skeleton 2026-10-07 21:47:15 -04:00

moor

Hosting where the agent is the customer. An agent-first PaaS: Firecracker microVMs on Jake's sandpit host, a REST API + MCP server designed to be read cold by an agent, simulated prepaid wallets, hard budgets per credential, dry runs, and a human console for oversight.

Develop

mise install            # bun 1.4.2
bun install
cp .env.example .env    # defaults: PGlite in-memory + FakeProvider, no network needed
bun run dev             # http://localhost:3000
bun test
bun run typecheck

Set SANDPIT_API_KEY to drive the real fireball host; set DATABASE_URL for Postgres.

Try the API locally (no network needed):

curl -s -X POST localhost:3000/v1/register | tee /tmp/reg.json   # 201; data.token, data.key.id, data.claim_url
export MOOR_TOKEN=$(jq -r .data.token /tmp/reg.json)
bun cli/moor.ts --api-url http://localhost:3000 deploy ./some-dir --slug try-it-1   # create + upload + wait

Where things live: the console is at /console (claim links at /claim/<code>), the agent docs at /llms.txt, /auth.md, /agents.md and /skills/*/SKILL.md (sources in src/discovery/content/), OpenAPI at /openapi.json, MCP at /mcp. The docs describe the response shapes the code actually returns; test/docs-consistency.test.ts fails if a /v1 path mentioned in the agent docs is not in /openapi.json.

Layout

src/app.ts          Hono assembly (mount points per workstream)
src/db/             drizzle schema + client + migrations
src/lib/            errors, response envelope, rate card
src/middleware/     context types; auth/idempotency/budget middleware (A)
src/providers/      Provider interface; sandpit + fake implementations (B)
src/services/       domain services (A: accounts/keys/wallet/approvals/metering; B: deploy/apps/sandboxes)
src/routes/         /v1 routers
src/mcp/            MCP server (C)
src/discovery/      llms.txt, auth.md, agents.md, skills, well-known (C)
src/console/        human console, GitHub OAuth (D)
site/               marketing site + docs (D)
cli/                moor CLI (C)
k8s/                home-cloud manifests (E)
scripts/            migrate, build-templates
test/               bun tests

This repo lives on Forgejo (git.inevitable.fyi/jhgaylor/moor). Push there; PRs via tea.