omg Docs

The agent-native framework

A full production backend for every prototype. Database, sign-in, live updates, schedules, durable workflows, email and AI ship with one omg deploy, for web apps, games and native apps your coding agent builds.

import { cron, workflow, email, db } from "@omg-dev/server"

// Every morning at 09:00 UTC
export const digest = cron("0 9 * * *", async () => {
  const tasks = await db.getAll("tasks")
  await db.insert("digests", { count: tasks.length })
})

// Durable: survives restarts and sleep, resumes at the last step
export const onboarding = workflow("onboarding", async (step, user) => {
  await step.run("welcome", () =>
    email.send({ to: user.email, subject: "Welcome", text: "Hi!" }))
  await step.sleep("one-day", 24 * 60 * 60 * 1000)
  await step.run("tips", () =>
    email.send({ to: user.email, subject: "Tips", text: "…" }))
})
$ omg deploy→ https://my-app.omgs.app

Get started

Paste the prompt into your coding agent, or run the CLI yourself.

Set me up with omg.dev. Fetch https://docs.omg.dev/llms.txt and follow it to build my app and deploy it with omg deploy.

Start building

Every omg.dev app can use these. Each one is a few lines in a Vite or Expo project.

Build with

omg.dev builds and hosts Vite web apps and Expo native apps.

Coding agents

Agents can run omg deploy, or connect to omg.dev over MCP.

Point your agent at /llms.txt to find any page.

Go deeper

How the platform runs your app.