Skip to main content
This example demonstrates how to use reference dependencies by defining them in the team constructor and referencing them directly in team instructions. This approach allows dependencies to be automatically injected into the team’s context and referenced using template variables in instructions.

Code

cookbook/examples/teams/dependencies/reference_dependencies.py

Usage

1

Create a virtual environment

Open the Terminal and create a python virtual environment.
2

Install required libraries

3

Set environment variables

4

Run the agent