A lightweight multi-agent orchestration framework that is based on the OpenAI Swarm project and adds support for multiple LLM vendors. Currently only supports OpenAI and ZhipuAI(智谱).
git clone https://github.com/sunmh207/swarm-x
cd swarm-x
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install "python-dotenv[cli]"
cp .env.dist .env
Set variables in .env
, such as LLM provider, keys, etc.
dotenv -f .env run python -m examples.basic.agent_handoff
dotenv -f .env run python -m examples.basic.function_calling
dotenv -f .env run python -m examples.airline.main
Create a new Python class to implement the BaseClient.