dependencies parameter accepts a dictionary containing functions or static variables that are automatically resolved before the team runs.
You can use dependencies to inject memories, dynamic few-shot examples, “retrieved” documents, etc.
dependencies.py
Dependencies are automatically resolved when the team is run.
Learn more
Dependencies Overview
Learn the fundamentals of dependency injection
Reference Dependencies
Reference dependencies in instructions
Access Dependencies in Tool
Use RunContext to access dependencies in tools
Team Schema
View the complete Team API reference