Inspiration
We recognized a stark disparity: large corporations can invest millions in technology and specialized teams, while small and medium business owners face steep technological barriers. This gap limits their growth and competitiveness. QuetzAI was born to democratize AI—empowering entrepreneurs to easily create and train their own AI agents to automate repetitive tasks so they can focus on high-value activities without being tied to 24/7 operations.
What it does
QuetzAI is a master agent that uses voice interactions to guide users in creating a personalized AI agent. By asking dynamic, targeted questions, it gathers essential business information to generate a custom prompt for the agent. Every chat interaction is analyzed to provide actionable feedback, continually refining the agent’s performance and enhancing conversion rates by pinpointing areas for improvement.
How we built it
Tech Stack:
- Frontend:
- Framework: Next.js/React
- Deployment: Vercel
- Framework: Next.js/React
- Backend:
- Technology: Next.js with TypeScript
- Deployment: Vercel
- Technology: Next.js with TypeScript
- Audio Agent:
- Integration: ElevenLabs for processing voice interactions and extracting user requests
- Chat Agent:
- Engine: Mistral, which processes message histories and generates dynamic responses based on a personalized prompt
- Database:
- System: MongoDB
- Usage: Stores user records—including Clerk IDs, personalized agent prompts, training progress, and chat messages
- System: MongoDB
- Authentication:
- Service: Clerk for user login and registration management Application Flow:
- Login/Registration:
Users access the site on Vercel and sign in or register via Clerk. An API call then creates a MongoDB record containing their unique Clerk ID, an initial empty prompt, training progress, and a welcome message. - Voice Interaction:
On the training page (/quetzai), users start a voice session by clicking "Talk to Me."
- The call is initiated using a signed URL from ElevenLabs.
- After the session, the conversation is captured via the ElevenLabs library.
- Mistral processes the captured data to generate a new personalized prompt and an updated initial message for QuetzAI.
- These updates are stored in MongoDB. If previous conversations exist, dynamic variables (including prior feedback) are used to fine-tune the prompt.
- The call is initiated using a signed URL from ElevenLabs.
- Chat Interaction:
Every message exchanged between the user and the agent is saved in MongoDB. When the user clicks the "Train" button, the system retrieves the complete conversation history and uses Mistral to generate insights and a detailed summary. This feedback refines the agent prompt and produces a new initial message that guides the user in addressing weak areas. The summary and improvement points are stored for use in the next voice session. - Results Section:
A dedicated results area aggregates conversation summaries, insights, and performance statistics. This section is dynamically personalized by Mistral to meet various business objectives—whether scheduling appointments, resolving support tickets, processing orders, or handling general inquiries.
Challenges we ran into
- Time Management:
Our team only works weekends, limiting us to 4-5 hours per day. This forced us to break our work into 2-hour blocks with frequent checkpoints to ensure we stayed on track. - Scope Definition:
With an ambitious project, it was essential to pinpoint high-impact features that could be developed quickly to maximize our limited time. - Rapid Adaptation:
The tight schedule required us to quickly learn new tools and optimize our workflow, ensuring we delivered a functional product within the constraints.
Accomplishments that we're proud of
We are proud of delivering a fully functional MVP under severe time constraints. Despite limited hours, we seamlessly integrated voice interactions, chat functionalities, and real-time feedback—demonstrating that effective synchronization is possible even with strict deadlines.
What we learned
- New Tools:
We quickly mastered Mistral and Clerk, discovering that these tools are not only powerful but also user-friendly. - Focus and Efficiency:
A clear objective and disciplined time management can yield significant progress in a very short period. - Future Considerations:
We identified the need to develop offline capabilities to support areas with limited internet access—a critical step for broader adoption in Latin America.
What's next for QuetzAI
- Additional Integrations:
Connect QuetzAI with calendar systems, payment gateways like Stripe, and tech providers such as Meta to enhance functionality. - Offline Functionality:
Develop mechanisms for local data storage and synchronization, ensuring continuous operation even in low-connectivity regions. - Enhanced Personalization:
Fine-tune our models to better understand regional dialects and create specialized agent variants, further optimizing prompt generation and interaction for various business needs.
Built With
- clerk
- elevenlabs
- mistral
- mongodb
- nextjs
- react
- typescript
- vercel
Log in or sign up for Devpost to join the conversation.