Inspiration
Every day, millions of us waste hours stuck in traffic burning fuel, losing time, and stressing out. What if our cities could actually flow with us instead of against us?
That’s why we built FlexAI. Inspired by solarpunk futures, it’s an AI system that helps cities move smarter reducing congestion, lowering pollution, and giving people back their time.
What it does
FlexAI is an AI-powered traffic coordination system that:
Predicts congestion before it builds up.
Suggests alternate routes, staggered timings, and carpooling options.
Uses multi-agent AI (CrewAI + LangChain) to coordinate commuters dynamically.
Provides a smart dashboard for individuals, companies, and city authorities to visualize flows.
How we built it
LangChain + CrewAI :-Multi-agent reasoning system where specialized agents handle traffic prediction, route optimization, and commuter recommendations.
Open-source traffic APIs & mock IoT feeds :-Real-time congestion and travel time inputs for realistic routing.
Python + FastAPI : Backend orchestration and API layer connecting data, agents, and frontend.
React + Tailwind (Civic UX Track) : User-friendly commuter dashboard with interactive maps, flexible route suggestions, and eco-impact insights.
FAISS / Vector DB : Embedding storage for historical commute patterns, enabling personalized recommendations.
Gemini API (via LangChain) : Core LLM for reasoning, planning, and generating adaptive multi-agent traffic strategies.
Challenges we ran into
Coordinating real-time traffic data with AI predictions.
Ensuring fairness not always rerouting the same set of people.
Building a scalable system in under 10 days.
Designing a UX that’s simple enough for commuters but powerful for city admins.
Accomplishments that we're proud of
Designed a multi-agent CrewAI system where one agent predicts traffic, another optimizes, and a third communicates to users.
Created a human-friendly dashboard that visualizes route flexing in real-time.
What we learned
How agent orchestration (CrewAI + LangChain) can be applied to real-world civic challenges.
The importance of human-AI collaboration , tech suggestions must be practical and fair.
How urban mobility ties into sustainability and city planning.
What's next for FlexAI
Integration with real-time city IoT sensors (smart signals, GPS from public buses).
Corporate partnerships → help companies optimize employee commutes.
Scaling into a digital twin of the whole city for urban planning.
Built With
- crewai
- faiss
- fastapi
- langchain
- streamlit
Log in or sign up for Devpost to join the conversation.