# shalini-576-cse/agentic-intelligence architecture

> Architecture diagram of the GitHub repository shalini-576-cse/agentic-intelligence, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/shalini-576-cse/agentic-intelligence
- Repository: https://github.com/shalini-576-cse/agentic-intelligence

## Overview

This repository is a small Django account site: visitors can register, log in, view a session-protected dashboard, and log out. The sampled code shows no churn prediction or customer-analytics workflow, so none is represented. Routing, view logic, templates, user records, and session state are shown; the map is limited to inspected runtime behavior and Django’s configured SQLite database.

Main entry points: [`AGENTIC INTELLIGENCE/churn_prediction 3/users/views.py`](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/views.py) (Account views), [`AGENTIC INTELLIGENCE/churn_prediction 3/churn_prediction/urls.py`](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/churn_prediction/urls.py) (Project routes), [`AGENTIC INTELLIGENCE/churn_prediction 3/users/urls.py`](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/urls.py) (Account routes), [`AGENTIC INTELLIGENCE/churn_prediction 3/users/models.py`](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/models.py) (User model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_web["Web routing"]
  node_project_urls["Project routes<br/>[urls.py]"]
  node_user_urls["Account routes<br/>[urls.py]"]
end

subgraph group_accounts["Account workflow"]
  node_views["Account views<br/>[views.py]"]
end

subgraph group_state["State and pages"]
  node_user_model["User model<br/>[models.py]"]
  node_templates["Account pages"]
  node_sessions["Django sessions<br/>[settings.py]"]
  node_sqlite[("SQLite database<br/>[db.sqlite3]")]
end

node_visitor(("Visitor"))

node_visitor -->|"sends requests"| node_project_urls
node_project_urls -->|"includes routes"| node_user_urls
node_user_urls -->|"dispatches requests"| node_views
node_views -->|"queries and saves"| node_user_model
node_user_model -->|"reads and writes"| node_sqlite
node_views -->|"renders pages"| node_templates
node_views -->|"reads and updates"| node_sessions
node_sessions -->|"persists state"| node_sqlite

click node_project_urls "https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/churn_prediction/urls.py"
click node_user_urls "https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/urls.py"
click node_views "https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/views.py"
click node_user_model "https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/models.py"
click node_templates "https://github.com/shalini-576-cse/agentic-intelligence/tree/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/templates/users"
click node_sessions "https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/churn_prediction/settings.py"
click node_sqlite "https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/db.sqlite3"

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_project_urls,node_user_urls toneBlue
class node_views toneAmber
class node_user_model,node_templates,node_sessions,node_sqlite toneMint
class node_visitor toneIndigo
```

## Components

### Web routing

- [Project routes](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/churn_prediction/urls.py): `AGENTIC INTELLIGENCE/churn_prediction 3/churn_prediction/urls.py`
- [Account routes](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/urls.py): `AGENTIC INTELLIGENCE/churn_prediction 3/users/urls.py`

### Account workflow

- [Account views](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/views.py): `AGENTIC INTELLIGENCE/churn_prediction 3/users/views.py`

### State and pages

- [User model](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/models.py): `AGENTIC INTELLIGENCE/churn_prediction 3/users/models.py`
- [Account pages](https://github.com/shalini-576-cse/agentic-intelligence/tree/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/users/templates/users): `AGENTIC INTELLIGENCE/churn_prediction 3/users/templates/users`
- [Django sessions](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/churn_prediction/settings.py): `AGENTIC INTELLIGENCE/churn_prediction 3/churn_prediction/settings.py`
- [SQLite database](https://github.com/shalini-576-cse/agentic-intelligence/blob/main/AGENTIC%20INTELLIGENCE/churn_prediction%203/db.sqlite3): `AGENTIC INTELLIGENCE/churn_prediction 3/db.sqlite3`

### Other components

- **Visitor**

## Connections

- Visitor → Project routes: sends requests
- Project routes → Account routes: includes routes
- Account routes → Account views: dispatches requests
- Account views → User model: queries and saves
- User model → SQLite database: reads and writes
- Account views → Account pages: renders pages
- Account views → Django sessions: reads and updates
- Django sessions → SQLite database: persists state
