Just tell your agent:
The best backend for Claude Code, Codex, or any agent you’d like.
Get the best results from AI by adding Convex rules to your agent. We have first-class guides for Claude Code, Codex, Cursor, Conductor, and GitHub Copilot.
Download RulesConvex is the best way for AI to generate the database and backend for your AI coding platform. Entirely in code.
Learn moreConvex Components make it easy to build intelligent, real-time features.
Convex AI rules are thoroughly evaluated using convex-evals. You can see the results of the evaluation in the LLM Leaderboard. We've also created full-stack benchmarks for AI coding to see that Convex outperforms other platforms.
Your database queries are pure TypeScript functions with end-to-end type safety and IDE support. This means AI can generate database code using the large training set of TypeScript code without switching to SQL.
The reactive system automatically tracks data dependencies and updates your UI. AI doesn't need to manually manage subscriptions, WebSocket connections, or complex state synchronization—Convex handles all of this automatically.
All functions that call the database are run in transactions. This makes it impossible for AI to write code that could corrupt your data or leave your app in an inconsistent state.