graph TD
    A[User Request] --> B{OpenBB Installed?}
    B -- Yes --> C{OpenBB Data Available?}
    C -- Yes --> D[OpenBB Engine]
    C -- No --> E[Fallback to Demo/Synthetic Data]
    B -- No --> E
    D --> F[Format Data]
    E --> F
    F --> G[Return to Agent/UI]