Eco Mentor Inspiration

Eco Mentor is our existing edtech product, For the hackathon, we built a secure Auth0 Token Vault demo workflow for scheduling a child’s water-saving challenge in Google Calendar, in fact the inspiration for Eco Mentor arose from a simple yet profound observation: while many parents are eager to teach their children about sustainability, translating abstract concepts like "water conservation" into consistent, engaging habits remains a significant challenge. We envisioned an AI-driven companion that transcends mere conversation, actively assisting families in taking tangible steps toward a greener lifestyle. By merging educational storytelling with practical scheduling and task management, Eco Mentor transforms environmental education into a collaborative and rewarding family adventure.

Eco Mentor is a specialized AI assistant meticulously designed to guide parents in cultivating eco-friendly habits within their households. The project primarily focuses on water-saving education and sustainability challenges, creating fun and educational experiences for children. Beyond providing information, the assistant is "Authorized to Act," meaning it can securely perform real-world tasks such as scheduling sustainability challenges in a user's Google Calendar or facilitating the purchase of eco-friendly products.

The core functionality is built upon a foundation of secure, asynchronous authorization. When a user expresses interest in a water-saving challenge, Eco Mentor doesn't just suggest it; it proactively requests the necessary permissions to manage the user's calendar. This ensures that every action taken by the AI is explicitly authorized, maintaining a high standard of security and user trust throughout the interaction.

How We Built It

The technical architecture of Eco Mentor leverages a modern and secure AI stack to deliver a seamless user experience. We utilized Next.js and Tailwind CSS for the frontend to ensure a responsive and family-friendly interface. The AI orchestration is powered by the Vercel AI SDK in conjunction with OpenAI, providing the intelligent and conversational guidance that defines the Eco Mentor persona.This demo shows the authorized user flow and challenge scheduling experience built around Auth0 Token Vault and Google Calendar authorization

Central to our implementation is the integration of Auth0 for AI Agents. This allowed us to handle complex identity requirements, specifically the asynchronous authorization flows needed for the agent to interact with external services. By utilizing the Auth0 Token Vault, we were able to securely manage access tokens for the Google Calendar API and our custom e-commerce tools, ensuring that the agent only acts when it has the "keys" provided by the user.

Challenges and Learning

One of the most significant challenges we faced was managing the transition between a standard chat interaction and a secure authorization flow. Implementing the Authorized to Act paradigm required a deep understanding of how AI agents can gracefully request and receive permissions without disrupting the conversational experience. We learned how to structure AI prompts to be "authorization-aware" and how to effectively use the Auth0 AI SDK to bridge the gap between talking AI and acting AI.

Furthermore, we gained valuable insights into the potential of Agentic AI when supported by a robust identity layer. This project demonstrated that with the right security framework, AI agents can become powerful tools for personal and environmental management, moving beyond simple information retrieval to become active participants in achieving user goals.

Future Directions

Looking ahead, we plan to expand the capabilities of Eco Mentor by integrating with smart sites APIs to provide real-time tracking of water and energy usage wherever at home or at school. We also aim to introduce a gamified reward system where children can earn "Eco-gems" for successfully completing challenges. _ Ultimately, we see Eco Mentor as part of a broader ecosystem of specialized agents, collaborating to help families lead more sustainable and organized lives _

This submission demonstrates how Eco Mentor can move beyond passive learning and become a trusted system for activating sustainable behavior through secure AI-driven automation.

Built With

  • asynchronous-authorization-|-|-**ai-frameworks**-|-vercel-ai-sdk
  • custom
  • lucide-react
  • openai-gpt-4o-mini-|-|-**web-development**-|-next.js
  • shop
  • tailwind-css-|-|-**apis-&-tools**-|-google-calendar-api
  • token-vault
  • tool
  • typescript
  • |-category-|-technologies-used-|-|-|-|-|-**identity-&-security**-|-auth0-for-ai-agents
Share this project:

Updates