Solution for the project "Special Agent Universe," which won the 2nd place globally in the AI track at the 2024 Alibaba Global Mathematics Competition.
English | 简体中文
Report Bug
·
Request Feature
- [2024.6] 🎉🎉 We have open-sourced all our code!
filetree
├── imgs/: Image resources
├── LICENSE.txt
├── README.md
├── /src/: Core code
│ ├── /action/
│ │ ├── Calculate.py
│ │ └── Programmer.py
├── main.py: Main function
├── requirements.txt: Lists the required Python libraries and their versions.
First, clone the repository:
git clone https://github.com/isaacJinyu/Math-Multi-Agent.git
Then follow these steps:
- Ensure all libraries listed in
requirements.txt
are installed.pip install -r requirements.txt
- Enter your keys and proxy address in
main.py
andaction/Programmer.py
, including keys for OpenAI and Anthropic.api_key = "Enter the respective company's key" base_url = "Enter the proxy address (if not connecting directly, do not use base_url)"
- Enter your Wolfram|Alpha API key in the wolfram_alpha action in
main.py
app_id = 'Enter Wolfram|Alpha API key'
- Enter your math question in question in
main.py
. - Run
python main.py
in the command line to start the project. - Check the
Final_answer.txt
file for the final answer. - To see the problem-solving process of each agent, find ``.txt` files named after the agent numbers in the current directory.
- Xiang Jinyu: Southwest Jiaotong University
- Wang Xunzhi: Nankai University
- Fei Qingyu: Graduate of the University of Bristol, currently a Product Manager at Tencent
- Zhang Ziqiu: City University of Macau
- Special Agent Universe
- ...