This example demonstrates how to use AutoGen's AgentChat in Coagent.
References:
-
Install
coagent
(see Installation). -
Start a NATS server (see Distributed).
-
Install
autogen-agentchat
andautogen-ext
:pip install 'autogen-agentchat==0.4.0.dev6' pip install 'autogen-ext[openai,azure]==0.4.0.dev6'
First, start a server in one terminal:
export AZURE_MODEL="your-model-name"
export AZURE_API_BASE="your-api-base"
export AZURE_API_VERSION="your-api-version"
export AZURE_API_KEY="your-api-key"
python examples/using-autogen/autogen.py
Then start a client in another terminal.
python examples/rich_client.py autogen