Inspiration

In Pakistan, finding reliable and organized information about election candidates can be difficult. Information is scattered across news websites, official records, and other online sources. Voters and citizens often have to search through multiple websites to understand a candidate's background.

We wanted to make this research process easier by building a platform that brings relevant information together and connects claims to their sources.

What it does

VoteLens AI is an AI-powered civic research platform that helps users explore publicly available information about Pakistani political candidates.

Users can enter a candidate's name and optionally select a province. The platform researches online sources and organizes the findings into eight categories:

  • Identity
  • Education
  • Political History
  • Achievements
  • Legal History
  • Assets
  • Promises
  • Issue Focus

Each extracted claim can be traced back to its associated source, allowing users to explore the evidence themselves.

VoteLens AI is designed to support informed research, not to rank candidates or tell people whom to vote for.

How we built it

We built VoteLens AI as a full-stack web application using a React and Vite frontend with a Node.js and Express backend.

Our research pipeline combines:

  • Tavily API: Searches the web and retrieves relevant information about candidates.
  • Google Gemini API: Processes retrieved information and extracts structured data into predefined categories.
  • Express.js: Handles API requests and coordinates the research workflow.
  • React: Provides the user interface for searching candidates and exploring research reports.

The backend connects search results with extracted claims using source references, helping users navigate from a claim to its supporting source.

Challenges we ran into

One of our biggest challenges was handling information from different sources that may be incomplete, outdated, or inconsistent.

We also faced challenges in:

  • Extracting structured information from unstructured web content.
  • Organizing research into consistent categories.
  • Handling sensitive legal information without confusing allegations, investigations, and convictions.
  • Connecting extracted claims with their original sources.
  • Building a reliable research workflow across multiple external APIs.

We focused on making the research process transparent and ensuring that users can inspect the original sources instead of blindly trusting AI-generated summaries.

Accomplishments that we're proud of

We successfully built a working end-to-end research platform that combines web search, AI-powered information extraction, and structured candidate reports.

We are particularly proud of:

  • Organizing candidate research into eight meaningful categories.
  • Connecting extracted claims to their retrieved sources.
  • Building a complete frontend and backend in one application.
  • Adding legal-status distinctions and warnings for potentially outdated information.
  • Creating a neutral platform that encourages users to examine evidence independently.

What we learned

Throughout this project, we learned how to integrate external APIs into a complete application and build an AI-powered research pipeline.

We also learned that using AI to summarize information is not enough. Source quality, traceability, context, and transparency are equally important, especially when dealing with political and legal information.

Most importantly, we learned to treat AI-generated information as research assistance rather than automatically verified truth.

What's next for VoteLens AI

We want to make VoteLens AI more reliable, accessible, and useful by working on:

  • Stronger claim-to-source verification.
  • Better detection of outdated and conflicting information.
  • Urdu-language research reports.
  • More comprehensive coverage of Pakistani political candidates.
  • Persistent report storage and improved research history.
  • Further deployment and scalability improvements.

Our long-term goal is to make political research more accessible and help citizens make better-informed decisions through transparent, source-linked information.

Built With

Share this project:

Updates

Submission history