examples/basic/README.md
This folder contains basic examples demonstrating core Swarm capabilities. These examples show the simplest implementations of Swarm, with one input message, and a corresponding output. The simple_loop_no_helpers has a while loop to demonstrate how to create an interactive Swarm session.
agent_handoff.py
bare_minimum.py
context_variables.py
function_calling.py
simple_loop_no_helpers.py
To run any of the examples, use the following command:
python3 <example_name>.py