Skip to main content

Realtime, all the time

A realtime database paired with queries and mutations keep every part of your app always up to date.

Ubiquitous reactivity should be the default

Ubiquitous reactivity means no more cache management, no more query retries, and immediately iterative development cycles. When everything is reactive by default, it changes the way you think about application architectures. Whole classes of state management problems go away.

Always up to date queries

Convex’s realtime database tracks all dependencies for every query function. Whenever any dependency changes, including any database rows, Convex reruns the query function and triggers an update to any active subscription. Convex automatically updates the query cache so that the next time you try the same query it’ll return instantly.

Designed for Reactive UIs

Convex was designed to be used by modern reactive UI frameworks like React. Every time a query result changes your UI updates automatically. No refreshing or polling, just use the provided easy-to-use framework specific library to get up and running fast.

No UI? No Problem

Convex is equally at home on the frontend or backend. Store and query data directly from scripts or backend systems. Leverage subscriptions to trigger business processes when state changes. Convex has native subscription support for Python and Rust.

Build a production app this afternoon

Scale it for decades.

Set up Convex with your agent

Works great with any model, any agent, any editor

Set up Convex with your agent:

# Convex setup

Set up Convex in the current folder. Run the commands yourself, without asking the user.

- Empty folder: `npm create convex@latest . -- -t bare`
- Convex project (`convex` in `package.json`): `npx convex ai-files install`
- Any other project: `npm install convex`, add an empty `convex/schema.ts` and a `convex dev` script, then `npx convex ai-files install`. Never `npm create convex` here, it replaces the folder.

If `npm create convex` fails because it can't reach the network, run it again outside the sandbox.

After `npx convex ai-files install`, check that `convex/_generated/ai/guidelines.md` and `.agents/skills` exist. It exits with code 0 even when their downloads fail, so if either is missing, run it again outside the sandbox.

Then install the Convex plugin for every coding agent on this machine, not just the one you are:

- Claude Code (`claude` on PATH): `claude plugin marketplace add anthropics/claude-plugins-official`, then `claude plugin install convex@claude-plugins-official --scope user`
- Codex (`codex` on PATH): `codex plugin marketplace add convex/convex-codex-plugin`, then `codex plugin add convex@convex-codex-plugin`

Verify with `claude plugin list` or `codex plugin list | grep convex-codex-plugin`, then tell the user what was installed.

Works great with any model, any agent, any editor

Start a new Convex project

Build anything with Convex
Build a multiplayer YouTube app

Start a new Convex project: npm create convex@latest