Skip to main content

Installation

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

From PyPI

From Source

To install AgentScope from source, you need to clone the repository from GitHub and install by the following commands
To ensure AgentScope is installed successfully, check via executing the following code:

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:
  • For Mac and Linux users:

Simple Example

Here is a simple example of interacting with an agent in the terminal: