Skip to content

A lightweight multi-agent orchestration framework that forks the code of the swarm project and adds support for multiple LLM vendors.

Notifications You must be signed in to change notification settings

sunmh207/swarm-x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README.md

Swarm-X

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(智谱).

1. Install & Configure environment

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]"

2. Configure variables

cp .env.dist .env

Set variables in .env, such as LLM provider, keys, etc.

3. Run examples

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

4. How to add support for new LLM providers?

Create a new Python class to implement the BaseClient.

About

A lightweight multi-agent orchestration framework that forks the code of the swarm project and adds support for multiple LLM vendors.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages