Inspiration

Making important decisions can be overwhelming. We often get stuck between different possibilities, overthink outcomes, or focus only on the side that supports what we already want to do. We wanted to explore whether AI could make decision-making more thoughtful by presenting different perspectives instead of simply giving a yes-or-no answer.

That idea inspired Verdict: a virtual courtroom where every decision gets examined before a verdict is reached.

What it does

Verdict is an AI-powered decision-making platform that allows users to enter a difficult decision and watch four AI personas examine it from different perspectives.

  • Optimist: Presents the strongest arguments in favour of the decision.
  • Skeptic: Challenges assumptions and highlights potential risks.
  • Realist: Examines practical consequences and limitations.
  • Judge: Evaluates all perspectives and delivers a balanced verdict.

The Judge also provides reasoning, a confidence score, and an overlooked question to help users think more deeply. With the Challenge the Verdict feature, users can appeal the initial outcome and explore their decision further.

How we built it

We built Verdict from scratch using HTML, CSS, and JavaScript for the frontend and Python with Flask for the backend. We integrated Google's Gemini API to generate responses for the four AI personas and power the decision-making process.

We used Git and GitHub for version control and collaboration. We hosted the frontend on GitHub Pages and deployed the Flask backend separately on PythonAnywhere, connecting both parts to create a working web application.

Challenges we ran into

One of our biggest challenges was connecting the frontend with the Flask backend and ensuring that requests and responses were handled correctly. Integrating the Gemini API and managing API credentials securely also required careful configuration.

Deploying the frontend and backend separately brought additional challenges, including debugging connection issues and making sure the live application worked as expected. Since we were learning while building, we had to experiment, troubleshoot, research solutions, and solve problems step by step.

Accomplishments that we're proud of

We're proud that we turned an idea into a working AI-powered application. Instead of creating another chatbot that gives a single response, we designed a courtroom-style experience where different AI perspectives examine the same decision.

We're especially proud of implementing four distinct AI personas, the Judge's final evaluation, and the appeal feature. We also successfully deployed the application so people can try it through a live link.

What we learned

Throughout this project, we gained practical experience with frontend and backend development, API integration, Python Flask, GitHub collaboration, debugging, and deployment.

We also learned how to work with environment variables to keep API credentials out of public source code. Most importantly, we learned how to approach unfamiliar technical problems, research solutions, and keep improving through trial and error.

What's next for Verdict

We want to make Verdict more useful, personalized, and reliable. Some improvements we would like to explore include:

  • Allowing users to compare multiple decisions side by side.
  • Adding conversation history so users can revisit previous verdicts.
  • Making AI arguments more detailed and context-aware.
  • Introducing additional expert personas for areas such as career, education, and personal growth.
  • Improving the appeal process so users can provide new information and receive a more informed evaluation.

Our long-term vision is to make Verdict a place where people can examine their choices from multiple angles before making decisions that matter.

Share this project:

Updates

Submission history