# koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation architecture

> Architecture diagram of the GitHub repository koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation
- Repository: https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation

## Overview

JESSIE is a PyQt desktop voice-and-chat assistant. The main workflow runs through Main.py: user input is captured through the GUI or speech recognition, classified for a response or task, then routed to conversational answers, real-time search, or automation; responses appear in the GUI and can be spoken aloud. Chat history persists in JSON. The README also documents Selenium web automation and voice interaction. Some source excerpts are partial, so uncertain image-generation wiring is shown as unverified rather than asserted.

Main entry points: [`Main.py`](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Main.py) (Assistant Runtime), [`Frontend/GUI.py`](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Frontend/GUI.py) (PyQt Interface), [`Data/ChatLog.json`](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Data/ChatLog.json) (Chat History), [`Backend/SpeechToText.py`](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/SpeechToText.py) (Speech Recognition)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["User Interaction"]
  node_gui["PyQt Interface<br/>[GUI.py]"]
  node_speech_in["Speech Recognition<br/>[SpeechToText.py]"]
end

subgraph group_orchestration["Assistant Orchestration"]
  node_main["Assistant Runtime<br/>[Main.py]"]
  node_intent["Intent Classifier<br/>[Model.py]"]
end

subgraph group_capabilities["Assistant Capabilities"]
  node_chatbot["General Chat<br/>[Chatbot.py]"]
  node_search["Live Search"]
  node_automation["Web Automation<br/>[Automation.py]"]
  node_image["Image Generation<br/>[ImageGeneration.py]"]
  node_speech_out["Speech Synthesis<br/>[TextToSpeech.py]"]
end

subgraph group_persistence["Conversation State"]
  node_chatlog[("Chat History<br/>[ChatLog.json]")]
  node_ui_state["GUI State Files"]
end

node_user(("User"))

node_user -->|"enters commands"| node_gui
node_user -->|"speaks commands"| node_speech_in
node_gui -->|"provides interface"| node_main
node_speech_in -->|"returns transcript"| node_main
node_main -->|"updates display"| node_gui
node_main -->|"classifies query"| node_intent
node_main -->|"requests answer"| node_chatbot
node_main -->|"requests live answer"| node_search
node_main -->|"dispatches tasks"| node_automation
node_main -->|"speaks response"| node_speech_out
node_chatbot -->|"reads and writes"| node_chatlog
node_search -->|"reads and writes"| node_chatlog
node_main -->|"loads history"| node_chatlog
node_main -->|"synchronizes display"| node_ui_state
node_main -.->|"may dispatch generation"| node_image

click node_gui "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Frontend/GUI.py"
click node_speech_in "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/SpeechToText.py"
click node_main "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Main.py"
click node_intent "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/Model.py"
click node_chatbot "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/Chatbot.py"
click node_search "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/RealtimeSearchEngine.py"
click node_automation "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/Automation.py"
click node_image "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/ImageGeneration.py"
click node_speech_out "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/TextToSpeech.py"
click node_chatlog "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Data/ChatLog.json"
click node_ui_state "https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/tree/main/Frontend/Files"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gui,node_speech_in,node_user toneBlue
class node_main,node_intent toneAmber
class node_chatbot,node_search,node_automation,node_image,node_speech_out toneMint
class node_chatlog,node_ui_state toneRose
```

## Components

### User Interaction

- [PyQt Interface](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Frontend/GUI.py): `Frontend/GUI.py`
- [Speech Recognition](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/SpeechToText.py): `Backend/SpeechToText.py`

### Assistant Orchestration

- [Assistant Runtime](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Main.py): `Main.py`
- [Intent Classifier](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/Model.py): `Backend/Model.py`

### Assistant Capabilities

- [General Chat](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/Chatbot.py): `Backend/Chatbot.py`
- [Live Search](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/RealtimeSearchEngine.py): `Backend/RealtimeSearchEngine.py`
- [Web Automation](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/Automation.py): `Backend/Automation.py`
- [Image Generation](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/ImageGeneration.py): `Backend/ImageGeneration.py`
- [Speech Synthesis](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Backend/TextToSpeech.py): `Backend/TextToSpeech.py`

### Conversation State

- [Chat History](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/blob/main/Data/ChatLog.json): `Data/ChatLog.json`
- [GUI State Files](https://github.com/koushikgandikota/jessie---llm-powered-task-executional-ai-agent-for-workflow-automation/tree/main/Frontend/Files): `Frontend/Files`

### Other components

- **User**

## Connections

- User → PyQt Interface: enters commands (evidence: `README.md`)
- User → Speech Recognition: speaks commands (evidence: `README.md`)
- PyQt Interface → Assistant Runtime: provides interface (evidence: `Main.py`)
- Speech Recognition → Assistant Runtime: returns transcript (evidence: `Main.py`)
- Assistant Runtime → PyQt Interface: updates display (evidence: `Main.py`)
- Assistant Runtime → Intent Classifier: classifies query (evidence: `Main.py`)
- Assistant Runtime → General Chat: requests answer (evidence: `Main.py`)
- Assistant Runtime → Live Search: requests live answer (evidence: `Main.py`)
- Assistant Runtime → Web Automation: dispatches tasks (evidence: `Main.py`)
- Assistant Runtime → Speech Synthesis: speaks response (evidence: `Main.py`)
- General Chat → Chat History: reads and writes (evidence: `Backend/Chatbot.py`)
- Live Search → Chat History: reads and writes (evidence: `Backend/RealtimeSearchEngine.py`)
- Assistant Runtime → Chat History: loads history (evidence: `Main.py`)
- Assistant Runtime → GUI State Files: synchronizes display (evidence: `Main.py`)
- Assistant Runtime → Image Generation: may dispatch generation
