# thanushamh/insurance_claims_processing_agent architecture

> Architecture diagram of the GitHub repository thanushamh/insurance_claims_processing_agent, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thanushamh/insurance_claims_processing_agent
- Repository: https://github.com/thanushamh/insurance_claims_processing_agent

## Overview

Synapx is a browser-native claims operations console. Its documented workflow takes an FNOL document through parsing, AI field extraction, deterministic validation, risk assessment, priority routing, and claim review, with decisions recorded in persistent browser storage. The README also describes provider configuration, explainable decisions, audit history, agent telemetry, and an extraction/routing benchmark. The only source path in the tree is index.html; implementation details beyond the README’s documented relationships could not be verified.

Main entry points: [`index.html`](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html) (AI Field Extractor)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_intake["FNOL Intake"]
  node_document["FNOL Document<br/>[index.html]"]
  node_parser["Document Parser<br/>[index.html]"]
  node_extractor["AI Field Extractor<br/>[index.html]"]
  node_fields["Mandatory Fields<br/>[index.html]"]
end

subgraph group_decision["Claim Decisions"]
  node_validation["Validation Engine<br/>[index.html]"]
  node_fraud["Fraud Risk Meter<br/>[index.html]"]
  node_routing["Priority Router<br/>[index.html]"]
  node_explanation["Decision Checklist<br/>[index.html]"]
end

subgraph group_operations["Review Operations"]
  node_state["Claim State Machine<br/>[index.html]"]
  node_queue["Adjuster Review Queue<br/>[index.html]"]
  node_audit["System Audit Log<br/>[index.html]"]
end

subgraph group_platform["AI &amp; Platform"]
  node_storage[("Browser Storage<br/>[index.html]")]
  node_providers["Provider Console<br/>[index.html]"]
  node_telemetry["Agent Telemetry<br/>[index.html]"]
  node_benchmark["AI Evaluation Suite<br/>[index.html]"]
end

node_adjuster(("Claims Operator"))
node_ai["AI Providers"]

node_adjuster -->|"submits"| node_document
node_document -->|"parses"| node_parser
node_parser -->|"extracts fields"| node_extractor
node_extractor -->|"produces"| node_fields
node_fields -->|"validates"| node_validation
node_validation -->|"scores risk"| node_fraud
node_validation -->|"routes claim"| node_routing
node_routing -->|"explains decision"| node_explanation
node_routing -->|"advances state"| node_state
node_state -->|"dispatches review"| node_queue
node_state -->|"records transitions"| node_audit
node_audit -->|"persists log"| node_storage
node_providers -->|"configures providers"| node_ai
node_extractor -.->|"requests extraction"| node_ai
node_telemetry -->|"shows execution"| node_adjuster
node_benchmark -->|"evaluates accuracy"| node_extractor
node_benchmark -->|"measures outcomes"| node_routing

click node_document "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_parser "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_extractor "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_fields "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_validation "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_fraud "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_routing "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_explanation "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_state "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_queue "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_audit "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_storage "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_providers "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_telemetry "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"
click node_benchmark "https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html"

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_document,node_parser,node_extractor,node_fields toneBlue
class node_validation,node_fraud,node_routing,node_explanation toneAmber
class node_state,node_queue,node_audit toneMint
class node_storage,node_providers,node_telemetry,node_benchmark toneRose
class node_adjuster,node_ai toneIndigo
```

## Components

### FNOL Intake

- [FNOL Document](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Document Parser](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [AI Field Extractor](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Mandatory Fields](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`

### Claim Decisions

- [Validation Engine](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Fraud Risk Meter](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Priority Router](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Decision Checklist](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`

### Review Operations

- [Claim State Machine](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Adjuster Review Queue](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [System Audit Log](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`

### AI & Platform

- [Browser Storage](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Provider Console](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [Agent Telemetry](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`
- [AI Evaluation Suite](https://github.com/thanushamh/insurance_claims_processing_agent/blob/main/index.html): `index.html`

### Other components

- **Claims Operator**
- **AI Providers**

## Connections

- Claims Operator → FNOL Document: submits (evidence: `README.md`)
- FNOL Document → Document Parser: parses (evidence: `README.md`)
- Document Parser → AI Field Extractor: extracts fields (evidence: `README.md`)
- AI Field Extractor → Mandatory Fields: produces (evidence: `README.md`)
- Mandatory Fields → Validation Engine: validates (evidence: `README.md`)
- Validation Engine → Fraud Risk Meter: scores risk (evidence: `README.md`)
- Validation Engine → Priority Router: routes claim (evidence: `README.md`)
- Priority Router → Decision Checklist: explains decision (evidence: `README.md`)
- Priority Router → Claim State Machine: advances state (evidence: `README.md`)
- Claim State Machine → Adjuster Review Queue: dispatches review (evidence: `README.md`)
- Claim State Machine → System Audit Log: records transitions (evidence: `README.md`)
- System Audit Log → Browser Storage: persists log (evidence: `README.md`)
- Provider Console → AI Providers: configures providers (evidence: `README.md`)
- AI Field Extractor → AI Providers: requests extraction (evidence: `README.md`)
- Agent Telemetry → Claims Operator: shows execution (evidence: `README.md`)
- AI Evaluation Suite → AI Field Extractor: evaluates accuracy (evidence: `README.md`)
- AI Evaluation Suite → Priority Router: measures outcomes (evidence: `README.md`)
