For Codex CLI users

Use Codex CLI to ship the app, not just write it.

Codex can generate the code. Semesh gives it a production path: deploy the project, attach login and a database, and use server-enabled usage billing without custom billing glue. Current server/preflight availability remains authoritative.

Deploy

Preflight before source upload

Codex CLI first runs semesh deploy preflight. When admitted, the canonical CLI source path can deploy and return observed status and a serving URL; when unavailable, it stops before upload, build, payment, or publication.

Production

Login, database, and usage billing together

Semesh turns a Codex-built app into a full-stack product with optional account login, a project database, app APIs, and usage metering. End-user payments are available only when enabled by the live server.

Agent-native

Search, inspect, quote, then call

Codex can read agent.md, search the service catalog, inspect typed contracts, quote a paid call, and execute through one key and one CLI.

Codex CLI deployment path
npm i -g semesh
semesh login

# from the Codex-built app directory
semesh deploy . --full-stack --wait

# Codex should read this before using the platform:
curl -s https://semesh.io/agent.md

FAQ

Can Codex CLI deploy an app to production?

Codex CLI can read Semesh's agent.md guide and run deployment preflight from the project directory. It may deploy only when admission says can_start_now; otherwise it must surface the returned code, reason, and repair command without uploading source.

FAQ

What does Semesh add after Codex writes the code?

Semesh adds a production path: app hosting, account login, a managed database, usage-based billing, and a searchable service catalog. Payment flows appear only when enabled by the live server.

FAQ

Can Codex CLI add payments without writing billing code?

When the live server enables delegated billing, a deployed app can quote and charge signed-in users through their Aev balances. Otherwise the payment path remains unavailable rather than implied by this guide.