The reactive backend platform that keeps up with you and your agents
source availableFSL-1.1-ALv2self-hostablefreeMCP
Convex is a backend platform built around its own reactive document database: you write queries, mutations and actions as TypeScript functions, and clients subscribed to a query get the new result automatically whenever the data changes. It includes ACID transactions, end-to-end types, scheduled functions and cron jobs, file storage, full-text and vector search, auth, and installable components. The backend (Rust and TypeScript) is source-available under FSL-1.1 with an Apache-2.0 future licence and can be self-hosted with Docker on SQLite, Postgres or MySQL.
Problems it solves
- a backend where the frontend updates automatically when data changes
- I'm tired of writing websocket code to keep every client in sync
- write my backend in TypeScript with types shared end to end with React
- a database plus server functions plus cron jobs without running servers
- build a realtime collaborative app or chat without managing infrastructure
- cache invalidation keeps showing users stale data
- run a function later or on a schedule from my backend without a job queue
- store files and search documents and embeddings from the same backend
- an AI coding agent keeps breaking my backend; I want a typed backend that's easy for agents to change
- Firebase-style realtime backend but with transactions and real code
- self-host my backend later if the hosted service stops making sense
Features
- reactive queries
- ACID transactions
- TypeScript queries, mutations and actions
- scheduled functions and cron jobs
- file storage
- full-text search
- vector search
- Convex Auth and third-party auth
- components
- dashboard
View 1 more
- self-hosting with Docker
Ways to run it
Convex Cloud
Free & Starter: $0/month, then pay as you go (1M function calls, 0.5 GB database storage, 1 GB file storage included); Professional: $25 per developer/month; Business & Enterprise: $2,500 monthly minimum
Only in this edition
- infrastructure tuned for scale, with larger and dedicated deployments on Business
- log streaming, exception reporting, daily backups, custom domains, an audit log and email support on Professional
- SOC 2 and HIPAA reports and a BAA on Professional
- SAML SSO, custom roles, a SIEM-integrated audit log, SLAs and enterprise support on Business & Enterprise
Self-hosted Convex
free
Only in this edition
- the same backend code the cloud service runs
- the Convex dashboard, run as its own service
Not included
- the paid plans' features: Convex says self-hosting supports the cloud free tier's features
- support, SSO, compliance reports and a BAA (help is in the #self-hosted Discord channel)
- Convex Auth setup through the CLI (manual setup only)
- the right to offer it as a product competing with Convex Cloud, under FSL (each version becomes Apache-2.0 two years after release)
You arrange
- a server or container host with persistent storage
- a production database: Postgres (tested on 17) or MySQL (tested on 8) in the same region; SQLite is the default
- optionally S3 storage for files, exports, snapshots and search indexes
- routing and TLS for three URLs: the API, HTTP actions and the dashboard
- generating and keeping the admin key
- backups with npx convex export
- upgrades, with migrations or an export and import
- hosting your frontend separately
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Convex does.
- Appwrite The open-source cloud for agents & devs
- InstantDB An open-source realtime backend with relational queries, auth, permissions, storage and presence
- PocketBase Open Source backend in 1 file
- Supabase The Postgres development platform
- Firebase Google's app development platform: database, auth, hosting, functions and more
- Neon Serverless Postgres with branching, autoscaling and scale to zero