Featured articles
All articles
Agents love text and people find walls of text hard work, so I'm trying something in between. Convex Explained is a new home for interactive explainers, starting with Build Your Own Convex.Read full article →
The Convex Explained homepage
We got rid of most of our marketing and are just focusing on the thing that actually works.
ClawHub scaled from 0 to 1M visitors a week in just over a month. Here's how to the vibe-code went from "good enough for PMF" to "viral scale" by using good engineering practices.
We're changing our guidance for LLMs on Returns Validators.
Marketing Monday
We still (for now) get to decide what's worth making, whether it's software or ourselves. Which is a nice idea, until you're planning a conference with no idea how to plan a conference.
Featured videos
All videos
Cover image for the video
12:30
A while back I made a video about faking really high frequency updates on Convex. I've finally turned it into a generic component called Batched Replay, so here's what you can build with it, what it costs and whether I'd use it in production.
Mike Cann's avatar
Mike Cann
12 minutes ago
Cover image for the video
37:50
Date.now() in a Convex mutation isn't actually now, and _creationTime doesn't follow the order things were committed in. Ian sat me down at a whiteboard to explain the three times in a database, how you can miss rows, and how commit timestamps fix it.
Mike Cann's avatar
Mike Cann
7 days ago
Cover image for the video
06:12
These days my agent writes most of my code, but how do I actually know it's writing good, proper Convex code? One really good way is the Convex ESLint plugin, so here are the rules your agent is going to run into, plus the one I'd really recommend turning on.
Mike Cann's avatar
Mike Cann
a month ago
Convex can now declare and validate environment variables in code, giving backend functions a typed env object and catching missing or invalid deployment variables before runtime.
Mike Cann's avatar
Mike Cann
5 months ago
ClawHub scaled from 0 to 1M visitors a week in just over a month. Here's how to the vibe-code went from "good enough for PMF" to "viral scale" by using good engineering practices.
Seth Raphael's avatar
Seth Raphael
7 months ago
How to think about and implement authorization in your app. Think through each layers: clients, middleware, RBAC, RLS, and more. All with the power of code and abstractions.
Ian Macartney's avatar
Ian Macartney
a year ago
A few more advanced techniques & helpers to further reduce duplication and accelerate your Convex workflow.
Anjana Vakil's avatar
Anjana Vakil
a year ago
With this new backend component, augment Agents to automatically save and search message history per-thread, providing realtime results across multiple tabs and users. Use it with the Workflow component to run reliably with retries and durability across server restarts.
Ian Macartney's avatar
Ian Macartney
2 years ago
New convex-helpers are available now for fetching streams of documents, merging them together, filtering them them out, and paginating the results. With these helpers, you can replicate patterns you may know from SQL: UNION ALL, JOIN, DISTINCT, GROUP BY, and WHERE clauses where index fields are skipped.
Lee Danilek's avatar
Lee Danilek
2 years ago
Or how I learned to love BlockNote, Tiptap and ProseMirror OT sync.
Sync collaborative documents with Convex
Learn about Automerge CRDTs for collaborative editing, syncing changes using Convex.
Building a collaborative task list using Automerge CRDTs and Convex sync
Object sync engines manage a rich object graph across multiple clients and a centralized server and are a great fit for building local-first apps.
An Object Sync Engine
I built a 40-inch infrared touchscreen as a family home hub, then used Codex and Convex to turn it into a whiteboard, calendar, chores tracker and smart-home dashboard.
Mike Cann's avatar
Mike Cann
2 months ago
Cover image for the video
27:42
When you react to app state the Convex way, multi-tab sync comes free. Here's how one developer built a Windows XP desktop in the browser, complete with an AI agent, using just four database tables.
Mike Cann's avatar
Mike Cann
5 months ago
Cover image for the video
1:19:02
SEV levels, triage, and stopping the bleeding before you debug. A practical guide to incident response from engineers who've led SEV 0s at Dropbox and Convex.
Jamie Turner's avatar
Jamie Turner
5 months ago
Cover image for the video
09:40
Learn how to give AI agents a stateful bash terminal and virtual file system using Convex, without requiring containers or VMs.
Mike Cann's avatar
Mike Cann
6 months ago
Cover image for the video
31:30
A Convex infrastructure engineer walks through the full push pipeline, from type-checking in V8 to atomic schema cutover, and traces a request through FunRun, the committer, and optimistic concurrency control.
Convex's avatar
Convex
8 months ago
How to connect Convex to RunPod for serverless GPU workloads
Every GPU task I've run from a backend has the same problem: you fire off the job, then poll for results or wire up webhooks to know when it's done. This walkthrough shows a different approach. Convex triggers a GPU job on RunPod, and the RunPod worker calls mutations directly on Convex using the Python client. The frontend stays in sync through live queries. No polling, no webhook infrastructure. I'll walk through the full implementation using video background removal as the example, but the pattern works for any GPU workload — compression, transcription, object detection, whatever you need.
Building a 70-Module Convex Backend: Web, Mobile & API in One Deployment
Hamza, shares a year-long build from 10 tables to 70+ Convex modules serving web, mobile, and REST APIs through a single deployment with one backend handling everything.
Hamza Saleem's avatar
Hamza Saleem
10 months ago
How to Build Streaming Chat Apps with Convex's Plug-and-Play Components
Learn how Convex Components simplify building ChatGPT-style streaming chat by eliminating WebSocket complexity through plug-and-play, reusable backend modules and React hooks.
Hyo Jang's avatar
Hyo Jang
a year ago
Agents love text and people find walls of text hard work, so I'm trying something in between. Convex Explained is a new home for interactive explainers, starting with Build Your Own Convex.
The Convex Explained homepage
Consider this our declaration of permanent disengagement from “bar chart wars.” It’s good dev marketing, but it’s a waste of time.
On Competitive Benchmarks
Over the past few months, we have built and grown Chef into the only AI app builder that knows backend. But, this process didn’t start with Chef. It started with building the Convex, the database that Chef is built on top of.
how chef works
Cover image for the video
08:22
Convex can't run Python, the Rust compiler or even npm install, which is a bit of a problem when your agents need to run code in the cloud. The folks at Daytona built a Convex component that gives them a throwaway computer to do it in, so I had a play and ended up with three little apps.
Mike Cann's avatar
Mike Cann
a month ago
Cover image for the video
06:12
These days my agent writes most of my code, but how do I actually know it's writing good, proper Convex code? One really good way is the Convex ESLint plugin, so here are the rules your agent is going to run into, plus the one I'd really recommend turning on.
Mike Cann's avatar
Mike Cann
a month ago
Cover image for the video
05:40
You can now make LLM calls directly from Convex actions with no provider accounts or API keys to set up. Here's how Convex's new AI Gateway works, what you can do with it, and the one thing to be careful of when you set a spending limit.
Mike Cann's avatar
Mike Cann
a month ago
I built a 40-inch infrared touchscreen as a family home hub, then used Codex and Convex to turn it into a whiteboard, calendar, chores tracker and smart-home dashboard.
Mike Cann's avatar
Mike Cann
2 months ago
I spent 32 billion tokens getting agents to build Convex clients in 100 programming languages, from Fortran and COBOL to x86-64 assembly and Verilog. Here's how it went, the rules I set, the languages that didn't make it and what it all cost.
Mike Cann's avatar
Mike Cann
3 months ago
Your coding agent keeps talking about queries, mutations, actions and components, and you're wondering what on earth any of it means. Here's just enough Convex to understand what your agent is building, give it sensible instructions and notice when it's heading in the wrong direction.
Mike Cann's avatar
Mike Cann
3 months ago
A six-run benchmark of Claude Code and Codex building the same app on Convex, Supabase, and Firebase, comparing functional correctness, security, code quality, and cost.
Mike Cann's avatar
Mike Cann
4 months ago
A hands-on look at the Convex Claude Code plugin: building a real-time drawing app without mentioning Convex, migrating a Supabase app over, and what's inside the plugin's MCP server and agent.
Mike Cann's avatar
Mike Cann
5 months ago
Build and deploy real-time Convex apps directly from Codex using the official Convex plugin. Covers installation, generating a collaborative drawing app from a single prompt, and migrating an existing app to Convex.
Mike Cann's avatar
Mike Cann
5 months ago