Skip to main content

Open Source

Develop with confidence knowing that the Convex backend will be around forever.

Self Hosting

We open sourced the convex-backend to give back to the community and to make sure that developers adopt our project without the fear of lock-in. We also understand that compliance may require some companies to exclusively self-host their infrastructure, so allowing developers to access those use cases is important to us.

Local-first

There’s been a lot of buzz about enabling developers to do everything out of their personal computers. We’re all for enabling those workflows and want to give customers the opportunity to test and develop locally just as efficiently as they would with our cloud product. In many cases, local development with Convex provides the fastest development cycles by avoiding network latency and flakiness.

Transparency

A lot of backend tools are opaque, design-wise, and this doesn’t exclude us. We’ve done a lot to open up and show off the inner workings, and displaying the code is a natural extension of that. If you’re interested in why Convex was architected the way it was, check out our blog post on how it all works.

Getting Started

To try your hand at self-hosting Convex, head over to the new self-hosting guide on our GitHub repo here.

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