This tool provides two main functionalities:
- Search: Extract AI use cases from websites using Claude's web search capabilities
- Classify: Classify AI use cases from a CSV file using multiple AI models
Extract AI use cases from websites listed in a CSV file and output structured use cases:
python main.py search --input-file startups.csv --output-file use_cases.csvOptions:
--input-file, -i: Input CSV file with URLs column (required)--output-file, -o: Output CSV file for results (required)
Note: The search model is hardcoded to use claude-sonnet-4-20250514 for consistency.
Input CSV Format: The CSV file should have columns named "Company Name" and "URLs":
Company Name,URLs
OpenAI,https://openai.com
Anthropic,https://anthropic.com
Google AI,https://ai.google
Output CSV Format: The output file will have the following structure:
Company Name,Use Case Name,Use Case Description
OpenAI,GPT-4,GPT-4 is a large multimodal model...
OpenAI,DALL-E 3,DALL-E 3 is an image generation model...
OpenAI,ChatGPT,ChatGPT is a conversational AI assistant...
Key Features:
- Automatically separates multiple use cases found for each company
- Creates multiple rows for each company if multiple use cases are found
- Output format matches the input format expected by the
classifycommand - Extracts company name from URL if not provided in input file
Classify AI use cases from a CSV file:
python main.py classify --input-file use_cases.csv --output-file classifications.csvOptions:
--input-file, -i: Input CSV file with use cases (required)--output-file, -o: Output CSV file for results (required)--models, -m: Models to use for classification (choices: chatgpt, claude, deepseek, gemini, mistral)
Model Selection Examples:
# Use Claude Sonnet 4 (default)
python main.py classify -i use_cases.csv -o classifications.csv
# Use Model Ensembling
python main.py classify -i use_cases.csv -o classifications.csv --models chatgpt claude gemini
# Use All Available Models
python main.py classify -i use_cases.csv -o classifications.csv -m chatgpt, claude, deepseek, gemini, mistralInput CSV Format:
The CSV file should have the following columns. They are the same as created by the search command earlier.
Company Name: Name of the companyUse Case Name: Name of the AI use caseUse Case Description: Detailed description of the AI use case
Example:
Company Name,Use Case Name,Use Case Description
OpenAI,GPT-4,GPT-4 is a large multimodal model...
OpenAI,DALL-E 3,DALL-E 3 is an image generation model...
OpenAI,ChatGPT,ChatGPT is a conversational AI assistant...
Output CSV Format: The output CSV will contain:
Company Name: Original company nameUse Case Name: Original use case nameUse Case Description: Original use case descriptionRisk Classification: EU AI Act risk classificationReason: Detailed reasoning for the classificationModel Distribution: How each model votedChosen Model: Which model's reasoning was selectedToken Cost ($): API cost of the classification
The tool classifies AI systems into these categories:
Prohibited AI systemHigh-risk AI system under Annex IHigh-risk AI system under Annex IIIHigh-risk AI system with transparency obligationsSystem with transparency obligationsLow-risk AI systemUncertain
Company Name,URLs
OpenAI,https://openai.com
Anthropic,https://anthropic.com
Google AI,https://ai.google
Make sure you have the following environment variables set:
ANTHROPIC_KEY: Anthropic API keyOpenAI_KEY: OpenAI API keyDEEPSEEK_KEY: DeepSeek API keyGEMINI_KEY: Google Gemini API keyMISTRAL_KEY: Mistral API key
# Step 1: Search for AI use cases from websites
python main.py search -i startups.csv -o use_cases.csv
# Step 2: Classify the extracted use cases using the default model (Claude Sonnet 4)
python main.py classify -i use_cases.csv -o classifications.csvStreamlined Workflow:
# One-liner workflow using CSV files
python main.py search -i startups.csv -o use_cases.csv && python main.py classify -i use_cases.csv -o classifications.csvThe Bavarian AI Act Accelerator is a two-year project funded by the Bavarian State Ministry of Digital Affairs to support SMEs, start-ups, and the public sector in Bavaria in complying with the EU AI Act. Under the leadership of the appliedAI Institute for Europe and in collaboration with Ludwig Maximilian University, the Technical University of Munich, and the Technical University of Nuremberg, training, resources, and events are being offered. The project objectives include reducing compliance costs, shortening the time to compliance, and strengthening AI innovation. To achieve these objectives, the project is divided into five work packages: project management, research, education, tools and infrastructure, and community.