Agent-native application cloud

Your agent builds.
OpenCloud runs.

Give Codex, Claude Code, or another coding agent a production platform it can understand: database, auth, files, realtime, functions, scheduled jobs, observability, HTTPS, and safe rollbacks—through connected OpenCloud tools or a verified CLI fallback.

View CLI quickstart

MCP or verified CLIPrivate by defaultBrowser-approved login

A complete runtime your agent can inspect, deploy, verify, and operate.
01Postgres
02Auth
03Storage
04Realtime
05Functions
06Telemetry

From idea to HTTPS

A handoff both humans and agents can trust.

You stay in control of the product and identity. Your agent gets a narrow platform contract and enough access to build, deploy, verify, and iterate.

01

Copy the prompt

Paste one focused instruction into Codex, Claude Code, or another coding agent with OpenCloud tools or a terminal.

02

Shape the product

The agent asks what to build, who it serves, and what the first useful workflow should be.

03

Connect safely

The agent uses connected OpenCloud tools when present, or verifies the pinned CLI fallback and connects only the selected app.

04

Deploy, then review

The agent verifies in isolated dev, deploys the exact passing revision, checks production, and then gives you the private app.

One integrated platform

The full stack, without the glue work.

OpenCloud gives generated applications durable primitives and a deterministic release model instead of a pile of disconnected services.

DBpostgres + rest

Data with real boundaries

PostgreSQL schemas, append-only migrations, REST APIs, and row-level security give every app durable data that remains understandable after the first prompt.

IDcentral auth

One identity, app-scoped access

One-time email access, central sessions, private app admission, and owner-aware policies keep identity tokens outside generated frontend code.

FSobjects

Files

App buckets and owner prefixes for uploads, evidence, and media.

RTwebsocket

Realtime

Private channels for presence, updates, and collaborative workflows.

FNedge

Functions

Server-side code with authenticated invocation and secret delivery.

OPoperate

Observe

Logs, metrics, backups, cron history, health checks, and rollbacks.

Start in your agent

One agent prompt. A complete build loop.

The copied prompt tells your coding agent to prefer connected OpenCloud tools, fall back to the verified CLI when needed, resolve the right private app, build in isolated dev, and deploy before asking you to review.

Designed for MCP-capable agents and for Codex, Claude Code, or other terminal agents with Node.js 22 or newer, npm, and outbound HTTPS. Read the quickstart.

Starts by asking what you want to build Uses connected OpenCloud tools before fallbacks Installs and verifies the pinned public CLI only when needed Uses explicit browser approval without copied secrets Deploys and verifies before asking you to review
opencloud-build-prompt.txt
You are helping me build and ship a private application on OpenCloud from an agent-capable workspace.

When I describe what to build, infer the audience, primary workflow, sensible product defaults, and the smallest useful first release from my request. Start building immediately whenever reasonable defaults are possible. Do not ask discovery, naming, styling, or feature-priority questions that you can resolve yourself. Ask at most one concise question only when missing information truly prevents a working release, then continue automatically after the answer. Own the build through a verified production deployment; do not stop at a plan or ask me to review a development preview.

Treat this first message as operating instructions, not as the build request. Do not run commands, inspect the workspace, or create or change files until I send the request in my next message. Reply with exactly this brief response and then wait for my build request:

What would you like an app to help with—for example, family planning, household chores, or client work? I'll build, test, and launch it for you as a private OpenCloud app.

Choose one OpenCloud control surface before acting:

1. If an OpenCloud MCP server or OpenCloud tools are already connected, use those tools exclusively. Do not install or invoke the CLI, use shell or web fallbacks, or create local app files. On my build-request turn, begin with `get_opencloud_session`, onboard or connect as directed by that result, resolve the assigned app, and call `get_app_starter` before authoring. Treat the MCP initialization instructions, tool schemas, structured results, and returned starter as the authoritative interface for this release. Draft files live on OpenCloud: create a draft, make the first checkpoint contain `opencloud.yaml` and a non-empty configured frontend, validate meaningful revisions, use isolated development, explicitly invoke every declared Function, verify the exact revision, promote its receipt, follow durable operations to completion, verify production, and stop development only after production passes. Never conclude that MCP is unavailable merely because a documentation URL or terminal command cannot be used; check the connected tools first.

2. Only when no OpenCloud MCP tools are available, use the terminal and the checksum-verified public OpenCloud CLI for the entire workflow. Read the OpenCloud build skill completely once and use it as the authoritative initial reference:
- OpenCloud build skill: https://sdk-agent-interfaces.ocd.dev/SKILL.md

Use these supplemental references only when an exact command or interface detail blocks the current step; do not repeatedly fetch them or conduct broad documentation research before starting:
- CLI quickstart: https://docs.opencloud.ai/getting-started/
- CLI reference: https://docs.opencloud.ai/reference/cli

For the CLI path, install the exact release pinned by the skill with the published checksum-verifying installer, verify its version, then run `opencloud auth status` and the redacted doctor command. After verification, treat the installed CLI and its dependency tree as immutable: never edit, patch, replace, or instrument them to change behavior or reveal additional diagnostics. Use documented commands and redacted output. Reuse a healthy per-user OpenCloud account login and an existing workspace connection when present.

Treat the build skill as authoritative for its pinned CLI release and current platform capability boundaries when supplemental public documentation describes an older release. Keep the process proportional to the requested product: for a small first release, implement directly rather than spawning subagents or creating elaborate task bookkeeping unless complexity truly requires it.

If there is no healthy account login but status or doctor reports a usable workspace credential or ready legacy app session for the requested app, continue with that app-scoped connection. Otherwise run `opencloud login`. It prints and opens a short-lived OpenCloud approval URL. Give me that URL if the browser did not open, then let me sign in with a one-time email link or my configured password and explicitly approve the CLI in the browser. The command waits for approval without a localhost callback or pasted code. Never ask me to provide my email, password, browser cookie, confirmation link, credential, token, database key, or secret value in chat.

With a healthy account login, run `opencloud app list` and reuse the app that matches my request when one exists; do not create a duplicate. Otherwise create one private app using the agreed product title, let OpenCloud assign its address, and follow its provisioning operation. From the app source directory, run `opencloud app connect "$APP_ID"` before building unless status or doctor already reports that same app connected. A ready legacy session is an app-scoped compatibility path for its assigned app only; use account login to select another app.

Treat `.opencloud/app.json` as a non-secret workspace binding. Never inspect the OS keyring, protected credential fallback, or a legacy `.opencloud/session.json`. The account login is only for listing, reading, creating, and connecting apps; all build, deploy, secret, and operation commands must use the app-scoped workspace credential managed by the CLI.

Build and test with isolated development data, explicitly exercise the primary workflow and every declared Function, and verify the exact revision. Treat app-specific verification failures as product bugs and fix them. If verification then fails repeatedly only with a transient preview transport diagnostic such as net::ERR_ABORTED, retry once, then perform at most one clean app dev stop/start cycle and verify the exact restarted revision. Never bypass, weaken, or falsify a verification gate. If the clean restart still fails, report the redacted error and remain blocked instead of modifying the CLI or claiming success.

Then promote that verified revision automatically. This prompt authorizes its production promotion without another confirmation. Keep the app private, follow the durable deployment and production verification to completion, and do not claim success until the canonical HTTPS app is active and verified.

When I explicitly request an app-level operational test—such as a reversible fault injection, a temporary degraded release, a rollback, or a destructive test—treat the exact request as authorization to carry it through on this assigned private app, including verified promotion when requested. Do not silently downgrade the requested test to a development preview or stop before its requested end state. Keep that authorization scoped to the named app, data, and operation; do not extend it to other apps, users, or shared infrastructure.

Only after production passes, ask me to review the live private app. Finish with the canonical HTTPS URL and a concise summary of what was built and verified.

Safe by construction

Fast agents. Narrow authority. Reversible releases.

The platform separates human identity, agent credentials, application data, and deployment artifacts so iteration does not mean giving up control.

Your browser session stays with OpenCloud.

Use a one-time email link or a password for browser access. The CLI keeps account and app credentials in the OS keyring, with a protected per-user file fallback for headless hosts.

accountrotating · 30 days
workspaceapp-scoped · 24 hours
storagekeyring · protected fallback
forbiddenpasswords + copied secrets

Every change is a release you can inspect.

Artifacts are immutable, SDKs are pinned per deployment, migrations are append-only, and an explicit rollback restores the complete prior release.

2026.07.29-3active · sdk 0.2.1
2026.07.29-2superseded
2026.07.29-1available to restore

Your next app

Describe it. Deploy it. Review it.

Start with the prompt now. Your agent can use connected OpenCloud tools or the verified CLI fallback, select or create the right private app, build in isolated dev, and promote the exact passing revision before handing you the live app.

View CLI quickstart
✓ Prompt copied. Paste it into Codex, Claude Code, or another coding agent.

Sign out of OpenCloud?

You can return with an email link or your password.