graph TD
subgraph BrandGuard[SUBAGENT: BrandGuard - Trademark Analysis]
A[Start: Receive extracted-data] --> B[Task 1: Extract Keywords]
B --> C[Task 2: Oracle Trademark Check]
B --> D[Task 3: Image Analysis]
C --> E[Task 4: Final Report]
D --> E
E --> F[End: Return trademark-analysis]
subgraph Task1[Task 1: Extract Keywords]
B1[Process title] --> B2[Process bullets]
B2 --> B3[Process description]
B3 --> B4[Generate keyword list]
end
subgraph Task2[Task 2: Oracle Check]
C1[Search each keyword] --> C2[Analyze results]
C2 --> C3[Flag conflicts]
end
subgraph Task3[Task 3: Image Analysis]
D1[Load image] --> D2[GPT Vision analysis]
D2 --> D3[Identify brand elements]
end
subgraph Task4[Task 4: Report Generation]
E1[Combine text analysis] --> E2[Add image findings]
E2 --> E3[Format final report]
end
end
style BrandGuard fill:#f9f,stroke:#333,stroke-width:4px
style Task1 fill:#bbf,stroke:#333,stroke-width:2px
style Task2 fill:#bbf,stroke:#333,stroke-width:2px
style Task3 fill:#bbf,stroke:#333,stroke-width:2px
style Task4 fill:#bbf,stroke:#333,stroke-width:2px