Installation#

You can find all versions and supported platforms of PyAgentSpec in the Package Index .

For example, if you want to install pyagentspec 26.1.2:

pip install "pyagentspec==26.1.2"

Installing with pip pulls prebuilt binary wheels on supported platforms.

The list below shows the package versions used in the CI environment, with Business Approval requests filed for each as part of the release process. constraints.txt

If you want to install PyAgentSpec with exactly these package versions, download the file and run:

pip install "pyagentspec==26.1.2"  -c constraints.txt

Extra dependencies#

PyAgentSpec offers optional extra dependencies that can be installed to enable additional features.

  • The autogen extra dependency gives access to the AutoGen runtime adapter.

  • The langgraph, langgraph-full extra dependencies give access to the LangGraph runtime adapter.

  • The wayflow, wayflow_oci, wayflow_a2a, wayflow_datastore extra dependency gives access to the WayFlow runtime adapter.

  • The agent-framework extra dependency gives access to the Microsoft Agent Framework runtime adapter.

  • The crewai extra dependency gives access to the CrewAI runtime adapter. Note that this adapter might be incompatible with other adapters if installed in the same virtual environment due to conflicting dependencies.

  • The evaluation extra dependency gives access to the Agent Spec Eval functionalities.

To install extra dependencies, run the following command specifying the list of dependencies you want to install:

pip install "pyagentspec[extra-dep-1,extra-dep-2]==26.1.2"

Supported platforms#

PyAgentSpec strives for compatibility with major platforms and environments wherever possible.

Operating systems and CPU architectures#

OS / CPU Architecture Support State

x86-64

ARM64

Linux

Supported

Untested

macOS

Supported

Supported

Python version#

How to read the table:

  • Unsupported: the package or one of its dependencies is not compatible with the Python version;

  • Untested: the package and its dependencies are compatible with the Python version, but they are not tested;

  • Supported: the package and its dependencies are compatible with the Python version, and the package is tested on that version.

Python version

Support State

Python 3.8

Unsupported

Python 3.9

Unsupported

Python 3.10

Supported

Python 3.11

Supported

Python 3.12

Supported

Python 3.13

Supported

Python 3.14

Supported

Package manager#

Package Manager

Support State

pip

Supported

conda

Untested

Python implementation#

Implementation

Support

CPython

Supported

PyPy

Untested

What do Supported, Untested and Unsupported mean?

  • Unsupported: The package or one of its dependencies is not compatible with the Python version.

  • Untested: The package and its dependencies are compatible with the Python version, but they are not tested.

  • Supported: The package and its dependencies are compatible with the Python version, and the package is tested on that version.