Inspiration
What if citizens could experience the consequences of urban decisions before they were implemented in the real world?
Traditional citizen participation often relies on surveys, public consultations and lengthy administrative processes. These methods can make it difficult to engage younger generations, understand different perspectives and anticipate the impact of municipal decisions.
Inspired by The Sims and the challenges faced by La Paeria de Lleida, we created Conviu, a new way to experience democracy, civic education and urban planning through an interactive, AI-powered digital twin.
What it does
Conviu connects three major stakeholders within a shared virtual representation of Lleida:
- Citizens: Explore their city, participate in decisions, experience their consequences and develop civic awareness through an interactive game.
- Public administrations: Simulate urban policies, compare proposals and anticipate potential social, economic and environmental impacts.
- Businesses: Present projects, explore opportunities and understand how their decisions could affect the surrounding community.
Our ambition is to simulate Lleida's 150,237 inhabitants, modelling diverse socioeconomic backgrounds, preferences, needs and behaviours.
From a child learning how their city works to a municipal technician evaluating a new urban development, Conviu bridges the gap between individual experiences and collective decision-making.
How we built it
Conviu is designed around a shared urban simulation ecosystem combining:
- A native Android game built around Kotlin.
- Dedicated web interfaces for citizens, businesses and public administrations.
- AI-powered citizen agents with individual characteristics, needs and perspectives.
- Geospatial and demographic data to represent the real city.
- A hybrid simulation architecture combining deterministic models and large language models to generate contextual reasoning, reactions and conversations.
Rather than asking AI to predict everything, our approach combines real-world data, computational simulation and artificial intelligence to create meaningful and explainable scenarios.
Challenges we faced
- Designing a scalable architecture capable of representing an entire city's population.
- Making simulated citizens behave realistically rather than generating generic AI responses.
- Connecting gaming, geospatial data and multi-agent AI within a single ecosystem.
- Making complex municipal decisions accessible and engaging, even for children.
- Ensuring simulated opinions are clearly distinguished from real citizen participation.
What we learned
We learned that artificial intelligence can go beyond automation and become a powerful tool for exploring collective behaviour, teaching civic responsibility and supporting participatory urban planning.
We also learned that meaningful urban simulations require a balance between technological sophistication, reliable data, accessibility and transparency.
What's next for Conviu
Our vision is to transform Conviu into a scalable civic technology platform that any municipality can adopt, integrating real citizen participation, richer urban simulations and collaborative decision-making.
Conviu is not just a game about living in a city. It is a platform for building the city we want to live in, together.
Built With
- agent-based-modeling
- android
- auth0
- digital-twin
- elevenlabs
- game
- generative-ai
- geospatial-data
- javascript
- jetbrains-air
- kotlin
- llm
- locatan
- mastra
- mcp
- mesa
- multi-agent-systems
- next.js
- postgis
- postgresql
- python
- react
- tiger-data
- typescript
- vultr