0

Chess Game Example

An example with two chess player agents that executes its own tools to demonstrate tool use and reflection on tool use.

Example · مثالpython

Content

Chess Game Example

An example with two chess player agents that executes its own tools to demonstrate tool use and reflection on tool use.

Prerequisites

First, you need a shell with AutoGen core and required dependencies installed.

pip install "autogen-ext[openai,azure]" "chess" "pyyaml"

Model Configuration

The model configuration should defined in a model_config.yml file. Use model_config_template.yml as a template.

Running the example

python main.py

Source and license

Source
Microsoft AutoGen
Original
microsoft/autogen/python/samples/core_chess_game
License
CC-BY-4.0