This guide will walk you through the process of installing EvoAgentX on your system, setting up the required dependencies, and configuring the framework for your projects.
Before installing EvoAgentX, make sure you have the following prerequisites:
- Python 3.11 or higher
- pip (Python package installer)
- Git (for cloning the repository)
- Conda (recommended for environment management, but optional)
There are several ways to install EvoAgentX. Choose the method that best suits your needs.
The simplest way to install EvoAgentX is using pip:
pip install git+https://github.com/EvoAgentX/EvoAgentX.gitOptional feature sets:
pip install "evoagentx[rag]"
pip install "evoagentx[tools]"
pip install "evoagentx[multimodal]"
pip install "evoagentx[optimizers]"
pip install "evoagentx[benchmarks]"
pip install "evoagentx[viz]"
pip install "evoagentx[all]"If you want to contribute to EvoAgentX or need the latest development version, you can install it directly from the source:
# Clone the repository
git clone https://github.com/EvoAgentX/EvoAgentX.git
# Navigate to the project directory
cd EvoAgentX
# Install the package in development mode
pip install -e .If you prefer to use Conda for managing your Python environments, follow these steps:
# Create a new conda environment
conda create -n evoagentx python=3.11
# Activate the environment
conda activate evoagentx
# Install the package dependencies
pip install -e ".[dev]"
# Or install with optional features
pip install -e ".[dev,rag,tools]"
# OR install in development mode
pip install -e .To verify that EvoAgentX has been installed correctly, run the following Python code:
import evoagentx
# Print the version
print(evoagentx.__version__)You should see the current version of EvoAgentX printed to the console.