Skip to main content
This example demonstrates how a shared team_session_state can propagate and persist across nested agents and subteams, enabling seamless state management for collaborative tasks.

Code

cookbook/teams/team_with_nested_shared_state.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