Jairo Gudino
Initial commit
610ce07
---
title: LLM-Agents Generated Consensus Statements
emoji: 🏛️
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: "5.27.0"
app_file: app.py
pinned: false
license: mit
---
# 🏛️ Democratic Consensus System
A sophisticated multi-agent system that analyzes opinions from different political parties and language groups to generate democratic consensus statements.
## Features
- **Multi-language Analysis**: Processes opinions in German, French, and Italian
- **Political Orientation Mapping**: Categorizes parties into LEFT, CENTER, and RIGHT orientations
- **Hierarchical Consensus Building**: Uses a three-tier system with base agents, supervisors, and a final director
- **Majority Decision Respect**: Ensures final consensus aligns with majority decisions while acknowledging minority views
- **Interactive Web Interface**: Clean, intuitive Gradio interface with visual styling
## Usage
1. Upload your Excel file with the required format
2. Click "Generate Consensus"
3. View the results organized by language groups and political orientations
## Technical Details
- Built with CrewAI for multi-agent orchestration
- Uses OpenAI GPT models for natural language processing
- Gradio interface for user interaction
## Configuration
This app requires an OpenAI API key to function. Set it as an environment variable in your HuggingFace Space settings.