Learn how to use dependencies in your agents.
dependencies
is a dictionary that contains a set of functions (or static variables) that are resolved before the agent runs.
add_dependencies_to_context=True
to add the entire list of dependencies to the user message. This way you don’t have to manually add the dependencies to the instructions.