Installing Legion
This guide will walk you through installing Legion and setting up your development environment.
Requirements
- Python 3.8 or higher
- pip (Python package installer)
- Virtual environment (recommended)
Installation Steps
- Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows, use: venv\Scripts\activate
- Install Legion using pip:
pip install legion-ai
You can find the package on PyPI at https://pypi.org/project/legion-ai/
- Verify the installation:
python -c "import legion; print(legion.__version__)"
Next Steps
Now that you have Legion installed, check out the Quick Start guide to create your first agent.