Skip to main content
The add_workflow_history_to_steps flag gives every step access to the workflow’s conversation history. Each workflow here chains three agents, so later agents can reference what earlier ones learned. The script includes three interactive demos of continuous execution:
  • Customer Support
  • Medical Consultation
  • Tutoring
05_multi_purpose_cli.py

Usage

1

Create a Python file

Create 05_multi_purpose_cli.py with the code above.
2

Set up your virtual environment

3

Install dependencies

4

Export your OpenAI API key

5

Run Workflow