# infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa architecture

> Architecture diagram of the GitHub repository infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa
- Repository: https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa

## Overview

OmniSight is presented as a UI-automation recovery agent: a CI failure reaches a webhook, agent reasoning coordinates browser automation and screenshots, vision analysis informs a recovery action, and the workflow is updated. The repository also contains standalone Playwright scripts that exercise a mock shopping site and capture responsive screenshots. The README documents the agent/vision/recovery flow, but the corresponding implementation was not sampled, so those nodes use null paths; the sampled scripts do not show that recovery flow being invoked.

Main entry points: [`responsive_screenshots.py`](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/responsive_screenshots.py) (Responsive capture), [`Playwright automation.py`](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/Playwright%20automation.py) (Playwright runner), [`backend/main.py`](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/backend/main.py) (FastAPI webhook), [`screenshots`](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/tree/teamlead-integration/screenshots) (Responsive screenshots)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_entry["Webhook entry"]
  node_webhook["FastAPI webhook<br/>[main.py]"]
end

subgraph group_reasoning["Recovery reasoning"]
  node_agent["Agent reasoning"]
  node_vision["Vision analysis"]
  node_recovery["Self-healing action"]
end

subgraph group_automation["Browser automation"]
  node_browser_runner["Playwright runner"]
  node_responsive_capture["Responsive capture"]
  node_updated_workflow["Updated automation"]
end

subgraph group_artifacts["Screenshot artifacts"]
  node_screenshots["Responsive screenshots"]
end

node_ci(("CI pipeline"))
node_mock_site["Mock shopping site"]

node_ci -->|"notifies"| node_webhook
node_webhook -->|"forwards failure"| node_agent
node_agent -->|"coordinates"| node_browser_runner
node_agent -->|"coordinates"| node_responsive_capture
node_browser_runner -->|"sends UI state"| node_vision
node_responsive_capture -->|"sends UI state"| node_vision
node_vision -->|"informs"| node_recovery
node_recovery -->|"updates"| node_updated_workflow
node_browser_runner -->|"drives shopping flow"| node_mock_site
node_responsive_capture -->|"visits"| node_mock_site
node_responsive_capture -->|"writes captures"| node_screenshots

click node_webhook "https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/backend/main.py"
click node_browser_runner "https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/Playwright%20automation.py"
click node_responsive_capture "https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/responsive_screenshots.py"
click node_screenshots "https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/tree/teamlead-integration/screenshots"

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_webhook toneBlue
class node_agent,node_vision,node_recovery toneAmber
class node_browser_runner,node_responsive_capture,node_updated_workflow toneMint
class node_screenshots toneRose
class node_ci,node_mock_site toneIndigo
```

## Components

### Webhook entry

- [FastAPI webhook](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/backend/main.py): `backend/main.py`

### Recovery reasoning

- **Agent reasoning**
- **Vision analysis**
- **Self-healing action**

### Browser automation

- [Playwright runner](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/Playwright%20automation.py): `Playwright automation.py`
- [Responsive capture](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/blob/teamlead-integration/responsive_screenshots.py): `responsive_screenshots.py`
- **Updated automation**

### Screenshot artifacts

- [Responsive screenshots](https://github.com/infotact-solutions-gen-ai-group-8/omnisight-multimodal-self-healing-rpa/tree/teamlead-integration/screenshots): `screenshots`

### Other components

- **CI pipeline**
- **Mock shopping site**

## Connections

- CI pipeline → FastAPI webhook: notifies (evidence: `README.md`)
- FastAPI webhook → Agent reasoning: forwards failure (evidence: `README.md`)
- Agent reasoning → Playwright runner: coordinates (evidence: `README.md`)
- Agent reasoning → Responsive capture: coordinates (evidence: `README.md`)
- Playwright runner → Vision analysis: sends UI state (evidence: `README.md`)
- Responsive capture → Vision analysis: sends UI state (evidence: `README.md`)
- Vision analysis → Self-healing action: informs (evidence: `README.md`)
- Self-healing action → Updated automation: updates (evidence: `README.md`)
- Playwright runner → Mock shopping site: drives shopping flow (evidence: `Playwright automation.py`)
- Responsive capture → Mock shopping site: visits (evidence: `responsive_screenshots.py`)
- Responsive capture → Responsive screenshots: writes captures (evidence: `responsive_screenshots.py`)
