graph LR
A[User Goal] --> B[LLM Reasoning]
B --> C{Action Needed?}
C -- Yes --> D[Execute Tool]
D --> E[Environment State]
E --> B
C -- No --> F[Final Result]
style B fill:#1a73e8,stroke:#fff,stroke-width:2px,color:#fff
style D fill:#34a853,stroke:#fff,stroke-width:2px,color:#fff