- Python 3.7+
- Pip (Python Package Installer)
-
Clone the Repository
git clone <repository_url> cd AgentLegion
-
Install Dependencies
pip install -r requirements.txt
Note: If
openaiinstallation fails due to network issues, the system will automatically fall back to the built-inMockLLMprovider. -
Configuration
- No additional configuration is needed for the Mock mode.
- To use real LLM, set
OPENAI_API_KEYinconfig.pyor as an environment variable, and changeUSE_MOCK_LLM = False.
- Basic Demo:
python main.py
- Run Experiments:
python experiment.py
- Run Tests:
python -m unittest discover tests
- SSL Errors: Ensure you are using a Python version that supports modern SSL (Python 3.7+ recommended).
- Import Errors: Ensure you run commands from the project root directory.