support_team.py
OPENAI_API_KEY before running the team:
session_id for later messages on the same ticket and the user_id for the same customer. Add confirmation-required tools before permitting account changes or refunds.
Build the resolution path
Choose the execution model
Teams let the model choose the relevant specialist. Workflows encode branches and required steps in code. A support system can use a workflow for intake and escalation, with a team inside a step for specialist investigation.