talira

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

Hosted by Convex

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

Pricing

Self-hosted Convex

You run it, FSL-1.1-ALv2 (source-available)

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

Self-hosting docs

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Has an MCP serverplan not known
Takes pluginsplan not known
Has official SDKsplan not known
Has single sign-onplan not known

Alternatives

The same job

These do what Convex does.

  1. Appwrite The open-source cloud for agents & devs
  2. InstantDB An open-source realtime backend with relational queries, auth, permissions, storage and presence
  3. PocketBase Open Source backend in 1 file
  4. Supabase The Postgres development platform
  5. Firebase Google's app development platform: database, auth, hosting, functions and more
  6. Neon Serverless Postgres with branching, autoscaling and scale to zero

Compare Convex with the top 3