Skip to content

Installation Guide for EvoAgentX

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.

Prerequisites

Before installing EvoAgentX, make sure you have the following prerequisites:

  • Python 3.10 or higher
  • pip (Python package installer)
  • Git (for cloning the repository)
  • Conda (recommended for environment management, but optional)

Installation Methods

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.git

Method 2: From Source (For Development)

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/

# 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.10

# Activate the environment
conda activate evoagentx

# Install the package
pip install -r requirements.txt
# OR install in development mode
pip install -e .

Verifying Installation

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.