Installation

AgentScope requires Python 3.10 or higher. You can install from source or pypi.

From PyPI

  1. pip install agentscope

From Source

To install AgentScope from source, you need to clone the repository from GitHub and install by the following commands

  1. git clone -b main https://github.com/agentscope-ai/agentscope
  2. cd agentscope
  3. pip install -e .

To ensure AgentScope is installed successfully, check via executing the following code:

  1. import agentscope
  2. print(agentscope.__version__)
  1. 1.0.2

Extra Dependencies

To satisfy the requirements of different functionalities, AgentScope provides extra dependencies that can be installed based on your needs.

  • full: Including extra dependencies for model APIs and tool functions

  • dev: Development dependencies, including testing and documentation tools

For example, when installing the full dependencies, the installation command varies depending on your operating system.

For Windows users:

  1. pip install agentscope[full]

For Mac and Linux users:

  1. pip install agentscope\[full\]

Total running time of the script: (0 minutes 1.167 seconds)

Download Jupyter notebook: quickstart_installation.ipynb

Download Python source code: quickstart_installation.py

Download zipped: quickstart_installation.zip

Gallery generated by Sphinx-Gallery