by swarmzero
SwarmZero's SDK for building AI agents, swarms of agents and much more.
# Add to your Claude Code skills
git clone https://github.com/swarmzero/swarmzeroYou can either directly install with pip:
pip install swarmzero
Or can either directly install with poetry:
poetry add swarmzero
Or add it to your requirements.txt file:
...
swarmzero==x.y.z
...
You need to specify an OPENAI_API_KEY in a .env file in this directory.
Make a copy of the .env.example file and rename it to .env.
To use a configuration file with your Agent, follow these steps:
Create a Configuration File:
swarmzero_config.toml or swarmzero_config.yaml) in your project directory. (See swarmzero_config_example.toml or swarmzero_config_example.yaml).Create an SDK Context:
from swarmzero.sdk_context import SDKContext
sdk_context = SDKContext(config_path="./swarmzero_config.toml")
# or use a YAML file
# sdk_context = SDKContext(con...