April 2025 Summaries
7 posts from Convex
Filter
Month:
Year:
Post Summaries
Back to Blog
At Convex, the development of Chef, an AI app builder designed to understand and typecheck backend code, involves evaluating the performance of various language models (LLMs). The process highlighted the strengths and weaknesses of models like Anthropic's Claude 3.5 Sonnet, which excels at following instructions and coding but is costly, and OpenAI's GPT-4.1, which generates solid UIs but struggles with tool use. Gemini 2.5 Pro supports longer context windows and faster streaming, though it can be verbose. Ultimately, Convex chose Claude 3.5 Sonnet as the default model for Chef due to its superior instruction-following and coding capabilities. The company emphasizes the importance of selecting models based on specific use case needs, continually testing and updating their choices as the LLM landscape evolves. Convex's platform provides a comprehensive suite of backend services, including cloud functions, database management, and real-time updates, to support full-stack AI project development.
Apr 28, 2025
402 words in the original blog post.
Bluefox, integrated with Amazon SES, offers a streamlined email API for developers and SaaS teams, simplifying the process of sending transactional emails and integrating real-time webhooks in serverless Convex backends. By providing a usage-based API, Bluefox ensures excellent deliverability and scalability without the direct complexity of managing SES. The guide details the setup of Bluefox with Convex, including creating a Bluefox account, configuring environments, and running Convex locally. It emphasizes integrating Bluefox with Convex actions for sending transactional and triggered emails, handling webhooks, and ensuring error handling best practices. The text also stresses the importance of production deployment best practices, such as configuring environment variables for different deployment stages, leveraging Bluefox's multi-environment support, ensuring AWS SES production access, and implementing mechanisms for bounce and complaint handling. Furthermore, the guide underscores the necessity of domain authentication using SPF, DKIM, and DMARC for email security and deliverability, alongside providing users with unsubscribe and preference management options. Monitoring and optimizing email metrics are recommended to ensure effective email campaign performance, while Bluefox's integration with Convex promises a comprehensive and scalable solution for email management.
Apr 23, 2025
2,392 words in the original blog post.
Convex offers developers an efficient way to explore and modify applications by using the platform with just a single command, eliminating the need for a Convex account or extensive setup processes. This open-source backend and dashboard facilitate local development, ensuring lower latency and faster push times by allowing everything to run on a developer's machine. By employing the npx convex dev command, users can swiftly download and run the necessary components, such as the backend and dashboard, locally, enabling seamless app development without cloud dependency. While this local setup is ideal for quick development and testing, transitioning to production requires either using the Convex cloud product or self-hosting the backend, with easy project transfer facilitated through a Convex account. Convex positions itself as a comprehensive backend platform for full-stack AI projects, integrating cloud functions, databases, file storage, scheduling, workflow, vector search, and real-time updates to support scalable application development.
Apr 09, 2025
416 words in the original blog post.
Ian Macartney's text discusses the challenges and solutions involved in building AI agents with built-in memory, focusing on the new Agent component which facilitates creating and managing complex agentic workflows. These workflows involve asynchronous, long-lived operations that utilize agents as conceptual units of responsibility, often calling on large language models (LLMs) for specific tasks. The Agent component allows for storing and retrieving message histories, incorporating tools for real-time queries, and running workflows durably to ensure reliability even in case of server crashes. It supports hybrid text and vector searches to provide context, and offers customizable features for integrating with existing systems. The text emphasizes the balance between leveraging pre-built components and allowing for custom control, advocating for composability and clarity in designing AI workflows. Additionally, the text highlights the flexibility of using agents in different environments and the potential to customize or override default settings to suit specific use cases.
Apr 08, 2025
2,622 words in the original blog post.
The text explores the importance of implementing durable workflows and strong guarantees in applications that rely on long-lived processes and unreliable third-party APIs. It highlights common challenges such as inconsistent data states, client disconnects, and server restarts, which can leave workflows in limbo and affect user experience. To address these issues, the text suggests using state machines, transactions, idempotency, retries, and durable functions to ensure correctness and reliability. It emphasizes the significance of having systems that can recover from transient failures, maintain data consistency, and proceed without user intervention, thus reducing the complexity of managing multi-step operations. The text also introduces concepts like journaling and state machines as tools to build systems with predictable behavior and provides an example of a customer service workflow to illustrate the practical application of these concepts. It concludes by discussing the benefits of using powerful abstractions with strong guarantees to build robust and reliable applications.
Apr 08, 2025
4,367 words in the original blog post.
Convex MCP (Model Context Protocol) has recently been introduced as a tool that enables AI agents to integrate effectively with various services and data, highlighting its application with the Convex backend. The Convex MCP server offers tools like tables, data pagination, function specification, and query execution, allowing LLM-powered agents to perform complex tasks. Two scenarios illustrate its capabilities: the first involves automating database migrations using Cursor’s agent mode to add new fields with minimal downtime, while the second scenario showcases AI's ability to evaluate an AI-driven classification system for categorizing contacts in a management app. These examples demonstrate the potential of MCP in enhancing AI functionalities in Convex projects, encouraging users to set up an MCP server and explore further possibilities, while leveraging Convex's comprehensive full-stack AI development platform.
Apr 07, 2025
1,000 words in the original blog post.
Convex is a backend platform that offers a comprehensive solution for developing full-stack applications, as illustrated by its implementation in ClarityText, a business group chat platform. Unlike traditional databases that require extensive configuration and management, Convex provides deterministic state management, type safety, and system design solutions, eliminating the need for additional frameworks or vendors. It supports real-time updates, automatic query optimization, and a seamless developer experience with features like the ConvexProvider component for React, which simplifies state synchronization between the frontend and backend. Furthermore, Convex handles common application needs such as rate limiting and materialized counting while offering an intuitive development environment that integrates with popular services like Vercel and GitHub for continuous integration and deployment. This comprehensive approach allows developers to focus on building scalable applications without the overhead of managing separate database and system design components.
Apr 03, 2025
1,796 words in the original blog post.