Skip to main content
Use WorkflowAgent to create a conversational workflow. The agent decides whether to run the workflow steps or answer directly from previous run history, so a follow-up like “What was Rocky’s personality?” gets answered without triggering a fresh run. Install dependencies:

Set OpenAI Key

Set your OPENAI_API_KEY as an environment variable. You can get one from OpenAI.
basic_conversational_workflow.py

Run