# likhithamadupu-netizen/feedback-intelligence-agent architecture

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

- Interactive diagram: https://gitdiagram.com/likhithamadupu-netizen/feedback-intelligence-agent
- Repository: https://github.com/likhithamadupu-netizen/feedback-intelligence-agent

## Overview

This is a feedback-intelligence application: users submit customer feedback, the backend analyzes and stores it, then exposes recurring-issue memory, insights, and product-change impact for review in a React dashboard. The backend owns analysis and persistence; the frontend provides separate views for feedback, analytics, memory, insights, and changes. The README describes only a React/Vite template, so product capabilities here are inferred from the sampled application source. Some dashboard-to-API wiring is not shown in the excerpts and is left unverified.

Main entry points: [`backend/main.py`](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/main.py) (API routes), [`src/App.jsx`](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/App.jsx) (App shell), [`src/pages/Feedback.jsx`](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Feedback.jsx) (Feedback view), [`backend/database.py`](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/database.py) (SQLite database)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Frontend workspace"]
  node_app["App shell<br/>[App.jsx]"]
  node_sidebar["Navigation<br/>[Sidebar.jsx]"]
  node_feedback_ui["Feedback view<br/>[Feedback.jsx]"]
  node_feedback_card["Feedback card<br/>[FeedbackCard.jsx]"]
  node_dashboard["Dashboard<br/>[Dashboard.jsx]"]
  node_analytics_ui["Analytics view<br/>[Analytics.jsx]"]
  node_insights_ui["Insights view<br/>[Insights.jsx]"]
  node_memory_ui["Memory view<br/>[Memory.jsx]"]
  node_changes_ui["Product changes view<br/>[ProductChanges.jsx]"]
  node_mock_data["Demo data<br/>[mockData.js]"]
end

subgraph group_api["Backend API"]
  node_api["API routes<br/>[main.py]"]
end

subgraph group_intelligence["Feedback intelligence"]
  node_analyzer["Feedback analyzer<br/>[analyzer.py]"]
  node_issue_memory["Issue memory<br/>[memory.py]"]
  node_hindsight["Hindsight memory"]
  node_insight_logic["Insight generation<br/>[main.py]"]
  node_change_impact["Change impact<br/>[main.py]"]
end

subgraph group_storage["Persistence"]
  node_models["Data models<br/>[models.py]"]
  node_database[("SQLite database<br/>[database.py]")]
end

node_user(("Product user"))

node_user -->|"uses"| node_app
node_app -->|"renders"| node_sidebar
node_app -->|"routes"| node_dashboard
node_app -->|"routes"| node_feedback_ui
node_app -->|"routes"| node_analytics_ui
node_app -->|"routes"| node_insights_ui
node_app -->|"routes"| node_memory_ui
node_app -->|"routes"| node_changes_ui
node_feedback_ui -->|"renders"| node_feedback_card
node_feedback_ui -->|"combines demo data"| node_mock_data
node_feedback_ui -->|"submits feedback"| node_api
node_dashboard -.->|"loads dashboard data"| node_api
node_api -->|"analyzes feedback"| node_analyzer
node_api -->|"creates and queries"| node_models
node_api -->|"opens sessions"| node_database
node_api -->|"records feedback"| node_hindsight
node_api -->|"gets issue history"| node_issue_memory
node_api -->|"builds insights"| node_insight_logic
node_api -->|"measures changes"| node_change_impact
node_issue_memory -->|"queries feedback"| node_database
node_models -->|"uses base"| node_database

click node_app "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/App.jsx"
click node_sidebar "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/components/Sidebar.jsx"
click node_feedback_ui "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Feedback.jsx"
click node_feedback_card "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/components/FeedbackCard.jsx"
click node_dashboard "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Dashboard.jsx"
click node_analytics_ui "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Analytics.jsx"
click node_insights_ui "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Insights.jsx"
click node_memory_ui "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Memory.jsx"
click node_changes_ui "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/ProductChanges.jsx"
click node_mock_data "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/data/mockData.js"
click node_api "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/main.py"
click node_analyzer "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/analyzer.py"
click node_issue_memory "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/memory.py"
click node_hindsight "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/hindsight_memory.py"
click node_insight_logic "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/main.py"
click node_change_impact "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/main.py"
click node_models "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/models.py"
click node_database "https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/database.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_app,node_sidebar,node_feedback_ui,node_feedback_card,node_dashboard,node_analytics_ui,node_insights_ui,node_memory_ui,node_changes_ui,node_mock_data,node_user toneBlue
class node_api toneAmber
class node_analyzer,node_issue_memory,node_hindsight,node_insight_logic,node_change_impact toneMint
class node_models,node_database toneRose
```

## Components

### Frontend workspace

- [App shell](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/App.jsx): `src/App.jsx`
- [Navigation](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/components/Sidebar.jsx): `src/components/Sidebar.jsx`
- [Feedback view](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Feedback.jsx): `src/pages/Feedback.jsx`
- [Feedback card](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/components/FeedbackCard.jsx): `src/components/FeedbackCard.jsx`
- [Dashboard](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Dashboard.jsx): `src/pages/Dashboard.jsx`
- [Analytics view](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Analytics.jsx): `src/pages/Analytics.jsx`
- [Insights view](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Insights.jsx): `src/pages/Insights.jsx`
- [Memory view](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/Memory.jsx): `src/pages/Memory.jsx`
- [Product changes view](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/pages/ProductChanges.jsx): `src/pages/ProductChanges.jsx`
- [Demo data](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/src/data/mockData.js): `src/data/mockData.js`

### Backend API

- [API routes](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/main.py): `backend/main.py`

### Feedback intelligence

- [Feedback analyzer](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/analyzer.py): `backend/analyzer.py`
- [Issue memory](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/memory.py): `backend/memory.py`
- [Hindsight memory](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/hindsight_memory.py): `backend/hindsight_memory.py`
- [Insight generation](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/main.py): `backend/main.py`
- [Change impact](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/main.py): `backend/main.py`

### Persistence

- [Data models](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/models.py): `backend/models.py`
- [SQLite database](https://github.com/likhithamadupu-netizen/feedback-intelligence-agent/blob/main/backend/database.py): `backend/database.py`

### Other components

- **Product user**

## Connections

- Product user → App shell: uses
- App shell → Navigation: renders (evidence: `src/App.jsx`)
- App shell → Dashboard: routes (evidence: `src/App.jsx`)
- App shell → Feedback view: routes (evidence: `src/App.jsx`)
- App shell → Analytics view: routes (evidence: `src/App.jsx`)
- App shell → Insights view: routes (evidence: `src/App.jsx`)
- App shell → Memory view: routes (evidence: `src/App.jsx`)
- App shell → Product changes view: routes (evidence: `src/App.jsx`)
- Feedback view → Feedback card: renders (evidence: `src/pages/Feedback.jsx`)
- Feedback view → Demo data: combines demo data (evidence: `src/pages/Feedback.jsx`)
- Feedback view → API routes: submits feedback (evidence: `src/pages/Feedback.jsx`)
- Dashboard → API routes: loads dashboard data
- API routes → Feedback analyzer: analyzes feedback (evidence: `backend/main.py`)
- API routes → Data models: creates and queries (evidence: `backend/main.py`)
- API routes → SQLite database: opens sessions (evidence: `backend/main.py`)
- API routes → Hindsight memory: records feedback (evidence: `backend/main.py`)
- API routes → Issue memory: gets issue history (evidence: `backend/main.py`)
- API routes → Insight generation: builds insights (evidence: `backend/main.py`)
- API routes → Change impact: measures changes (evidence: `backend/main.py`)
- Issue memory → SQLite database: queries feedback (evidence: `backend/memory.py`)
- Data models → SQLite database: uses base (evidence: `backend/models.py`)
