Home / Companies / Convex / Blog / August 2023

August 2023 Summaries

3 posts from Convex

Filter
Month: Year:
Post Summaries Back to Blog
In a Software Engineering Daily Podcast episode, James Cowling discusses various aspects of software engineering, including patterns, psychology, abstractions, and managing complexity. The conversation highlights Convex, a backend platform designed to facilitate the development of full-stack AI projects by offering an integrated suite of tools such as cloud functions, a database, file storage, scheduling, workflow management, vector search, and real-time updates. Convex aims to enable rapid project initiation and scalable solutions, providing everything necessary for building comprehensive cloud backends.
Aug 29, 2023 71 words in the original blog post.
AI Town is an open-source application that simulates a virtual world populated by AI-powered characters with distinct personalities, memories, and goals. Built with Convex, OpenAI, and Pinecone, this multiplayer conversational simulation allows users to create and customize a town where autonomous agents interact and form relationships through lifelike conversations. Key components include the agents, an engine that manages their interactions, and a journal that logs their paths and conversations. The application leverages large language models from OpenAI to generate realistic dialogues based on the agents' predefined identities and memories stored in a vector database, which can be customized by users to alter characters' behaviors and interactions. The platform is designed to be easily extendable, allowing users without extensive programming knowledge to modify and create new character dynamics, offering endless possibilities for exploration and experimentation within the virtual environment.
Aug 24, 2023 4,264 words in the original blog post.
Implementing user authentication, which involves handling sensitive data like secrets and credentials, is a challenging task. While outsourcing authentication to third-party providers such as Clerk, Auth0, or OAuth services like Google and GitHub can simplify this process, it also introduces issues like syncing user data, configuration challenges, and potential costs. An alternative approach is to implement authentication in-house using tools like the Lucia authentication library, which manages user logic, sessions, and credentials. This text describes creating an authentication flow using Lucia and Convex, detailing steps such as specifying a database schema, configuring Lucia for server interactions, and developing functions for user sign-up and sign-in. It also covers the implementation of a front-end with React for session management and a login form, while offering insights into potential enhancements like email verification, password recovery, and integrating OAuth methods. The process emphasizes building a direct connection with the Convex database, avoiding third-party service configurations, and leveraging Convex's features for full-stack development.
Aug 09, 2023 3,880 words in the original blog post.