# venusarathy/sammy architecture

> Architecture diagram of the GitHub repository venusarathy/sammy, 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/venusarathy/sammy
- Repository: https://github.com/venusarathy/sammy

## Overview

SAMMY is described in the README as an OS-controlled quiz automation bot: it reads quiz content, predicts answers, and interacts with the quiz, with manual captcha handling when needed. The available source tree contains only an empty NLP module excerpt; the README’s broader capabilities have no corresponding implementation files here. The diagram therefore distinguishes documented product capabilities from the lone source module, without inferring calls between them.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_quiz_flow["Quiz automation"]
  node_sammy["Quiz automation"]
  node_multimodal["Multimodal reading"]
  node_answer["Answer prediction"]
  node_os_control["OS interaction"]
  node_captcha["Manual captcha"]
end

subgraph group_nlp["NLP package"]
  node_thinker["NLP thinker<br/>[thinker.py]"]
end

node_user(("Quiz user"))

node_user -->|"starts quiz"| node_sammy
node_sammy -->|"reads questions"| node_multimodal
node_sammy -->|"predicts answers"| node_answer
node_sammy -->|"controls OS"| node_os_control
node_sammy -->|"requests manual handling"| node_captcha

click node_thinker "https://github.com/venusarathy/sammy/blob/main/src/nlp/thinker.py"

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_sammy,node_multimodal,node_answer,node_os_control,node_captcha,node_user toneBlue
class node_thinker toneAmber
```

## Components

### Quiz automation

- **Quiz automation**
- **Multimodal reading**
- **Answer prediction**
- **OS interaction**
- **Manual captcha**

### NLP package

- [NLP thinker](https://github.com/venusarathy/sammy/blob/main/src/nlp/thinker.py): `src/nlp/thinker.py`

### Other components

- **Quiz user**

## Connections

- Quiz user → Quiz automation: starts quiz (evidence: `README.md`)
- Quiz automation → Multimodal reading: reads questions (evidence: `README.md`)
- Quiz automation → Answer prediction: predicts answers (evidence: `README.md`)
- Quiz automation → OS interaction: controls OS (evidence: `README.md`)
- Quiz automation → Manual captcha: requests manual handling (evidence: `README.md`)
