Inspiration
The inspiration for Cortexia stemmed from observing the growing complexity of information and the challenge of deeply engaging with new ideas in a fast-paced world. I recognized a need for an AI tool that could go beyond simple fact retrieval, evolving into a true cognitive companion. Our aim was to build a system that could facilitate critical thinking, offer diverse perspectives, and adapt to individual learning styles, ultimately empowering users to process information more effectively and foster deeper understanding. I wanted to create an AI that truly augments human intellect, rather than just automating tasks
What it does
Cortexia serves as your personal AI-powered cognitive companion, designed to enhance learning, critical thinking, and problem-solving. It provides an interactive chat interface where users can engage with AI through various specialized "cognitive modes" or "AI personas." These modes guide the conversation to facilitate different types of intellectual engagement, such as deep analysis, creative brainstorming, or Socratic inquiry, helping users to explore topics more thoroughly and gain new insights.
How we built it
My development journey for Cortexia began by establishing a robust foundation. I first set up secure user authentication and a reliable database using Supabase. With the core user system in place, I rapidly built the interactive chat interface using a React frontend, and then integrated our advanced AI functionalities through a Node.js backend. This allowed us to develop and refine Cortexia's unique cognitive modes. The entire application was deployed to Netlify via GitHub, establishing a continuous deployment pipeline. Throughout this process, from initial setup to resolving complex deployment challenges, Bolt.new served as an instrumental AI development assistant, significantly accelerating our progress and ensuring a smooth path to a fully functional application
Challenges we ran into
My project's journey from start to finish involved navigating a series of distinct challenges: -Initial Deployment Block: Right from the beginning, getting the application to even load successfully on Netlify was a major hurdle, often resulting in a blank screen. -Core Functionality & Mode Implementation: Beyond initial setup, we faced significant challenges in getting the actual AI logic and different cognitive modes working as intended. Building and refining these intricate features, and ensuring their seamless integration within the chat interface, required extensive debugging and iterative development. -Supabase Connection Issues: We then immediately faced a critical "Supabase not configured" error that completely blocked user sign-ups, which we traced to missing essential environment variables in Netlify's settings. -User Onboarding Friction: Even after resolving the Supabase connection, creating new accounts was complicated by a strict password policy enforced by the database, requiring specific character types not initially communicated. -Image Display Troubles: Finally, ensuring the footer image displayed correctly on Netlify presented its own set of problems, including file path case sensitivity issues and incorrect styling that led to it appearing cropped or not at all.
Accomplishments that we're proud of
We are particularly proud of several key accomplishments in building Cortexia: -Successful Deployment and Accessibility: We successfully navigated initial deployment hurdles to get the application fully loaded and accessible on Netlify, transforming it into a live, functional web application. -Robust User Authentication: We established a fully functional and secure user authentication system with Supabase, capable of handling new account creation and user logins, overcoming initial configuration and password policy challenges. -Functional AI Integration: We successfully integrated advanced AI models, enabling the various "cognitive modes" and providing the core interactive chat experience that defines Cortexia. -Polished User Interface: We refined the user interface to ensure clarity and usability, including resolving complex image display issues to achieve a visually polished and effective design for elements like the custom footer logo. -Streamlined Development Process: We are proud of leveraging Bolt.new as an instrumental AI development assistant, which significantly accelerated our progress and helped us quickly diagnose and resolve complex technical issues, ensuring efficient development within the hackathon timeframe.
What we learned
Through building Cortexia, we gained invaluable practical experience in full-stack web development, particularly in integrating various services and APIs. We learned the critical importance of environment variable management in deployment pipelines and how to systematically diagnose and debug complex issues across different technological layers (frontend, backend, database, deployment). We also deeply understood the nuances of image asset management in deployed environments, specifically the importance of correct file paths and case sensitivity for cross-platform compatibility. Furthermore, this project reinforced the value of agile problem-solving and iterative development, adapting quickly to challenges to meet project goals.
What's next for Cortexia
For Cortexia, the future holds exciting possibilities as we look to expand its capabilities and refine the user experience. We plan to introduce more diverse cognitive modes and AI personas, catering to an even wider range of intellectual tasks and learning styles. Further enhancements will focus on refining the user interface for greater intuitiveness and accessibility, potentially including mobile optimization. We also aim to explore advanced AI features like personalized learning paths, collaborative dialogue sessions, or integration with external knowledge bases. Implementing more robust user feedback mechanisms will be key to continuously improving the AI's responses and overall relevance, ensuring Cortexia truly evolves as a powerful cognitive companion.
Log in or sign up for Devpost to join the conversation.