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: "…" }))
})No database to provision, no queue, no email provider, no API keys.
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.
Publish a folder to a live *.omgs.app link from your terminal or CI.
DatabaseStore dataDeclare collections in schema.ts. Each app gets its own SQLite database.
RealtimeAdd live updatesEvery open browser gets each change. For games, boards and chat.
SchedulesRun jobs on a scheduleCron jobs and events in a file in functions/. No queue or worker.
WorkflowsWrite durable workflowsSteps that survive restarts and sleep, and wait for minutes or days.
AuthAdd sign-inA login UI and per-user data, with no extra setup.
AICall AI modelsUse the AI SDK from your app with no API keys.
MediaImages and speechGenerate images, video, speech and transcripts.
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.
Go deeper
How the platform runs your app.