AI system for solving math olympiad problems
New!
Top 71.8% on sourcepulse
This project provides a parallel AI agent system for solving International Mathematical Olympiad (IMO) problems using Google's Gemini API. It's designed for researchers and enthusiasts exploring AI's capabilities in complex problem-solving domains, offering a structured approach to tackle challenging mathematical questions.
How It Works
The system comprises individual AI agents (agent.py
) that leverage Google's Gemini 2.5 Pro model to reason through and solve IMO problems. A parallel execution manager (run_parallel.py
) orchestrates multiple agents concurrently, increasing the probability of finding a solution. Agents follow a structured reasoning process, with the system identifying successful solutions by detecting specific output phrases.
Quick Start & Requirements
pip install requests
.env
file with GOOGLE_API_KEY=your_api_key_here
or set the environment variable.python agent.py problem.txt [options]
for single agent, python run_parallel.py problem.txt [options]
for parallel execution.Highlighted Details
Maintenance & Community
The project is maintained by Lin Yang and Yichen Huang. Contributions via issues, feature requests, or pull requests are welcomed.
Licensing & Compatibility
MIT License. Free to copy, modify, and distribute with attribution. Compatible with commercial and closed-source use.
Limitations & Caveats
Success is dependent on problem difficulty and AI model capabilities; not all problems may be solvable. Users should be mindful of Google API rate limits and associated costs.
1 week ago
Inactive