# hemanth354/ipl-fake-news-detection architecture

> Architecture diagram of the GitHub repository hemanth354/ipl-fake-news-detection, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hemanth354/ipl-fake-news-detection
- Repository: https://github.com/hemanth354/ipl-fake-news-detection

## Overview

This small Google ADK agent answers IPL-news questions using four registered tools: RSS search, claim verification, headline summaries, and system time. The main verification flow searches Google News RSS, matches claim keywords against article titles, and classifies the claim by distinct-source count. The source excerpt shows tool registration and internal calls; user-to-agent invocation is not shown, so that entry is dashed.

Main entry points: [`ipl_news_agent/agent.py`](https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py) (ADK agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_agent["Agent"]
  node_adk["ADK agent<br/>[agent.py]"]
end

subgraph group_tools["News tools"]
  node_verify["Claim verification<br/>[agent.py]"]
  node_summary["News summaries<br/>[agent.py]"]
  node_rss["RSS search<br/>[agent.py]"]
  node_clock["System time<br/>[agent.py]"]
end

node_user(("User"))
node_google["Google News RSS"]

node_user -.->|"submits request"| node_adk
node_adk -->|"registers tool"| node_verify
node_adk -->|"registers tool"| node_summary
node_adk -->|"registers tool"| node_rss
node_adk -->|"registers tool"| node_clock
node_verify -->|"fetches articles"| node_rss
node_summary -->|"fetches headlines"| node_rss
node_rss -->|"requests feed"| node_google

click node_adk "https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py"
click node_verify "https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py"
click node_summary "https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py"
click node_rss "https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py"
click node_clock "https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.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_adk,node_user toneBlue
class node_verify,node_summary,node_rss,node_clock toneAmber
class node_google toneIndigo
```

## Components

### Agent

- [ADK agent](https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py): `ipl_news_agent/agent.py`

### News tools

- [Claim verification](https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py): `ipl_news_agent/agent.py`
- [News summaries](https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py): `ipl_news_agent/agent.py`
- [RSS search](https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py): `ipl_news_agent/agent.py`
- [System time](https://github.com/hemanth354/ipl-fake-news-detection/blob/main/ipl_news_agent/agent.py): `ipl_news_agent/agent.py`

### Other components

- **User**
- **Google News RSS**

## Connections

- User → ADK agent: submits request
- ADK agent → Claim verification: registers tool (evidence: `ipl_news_agent/agent.py`)
- ADK agent → News summaries: registers tool (evidence: `ipl_news_agent/agent.py`)
- ADK agent → RSS search: registers tool (evidence: `ipl_news_agent/agent.py`)
- ADK agent → System time: registers tool (evidence: `ipl_news_agent/agent.py`)
- Claim verification → RSS search: fetches articles (evidence: `ipl_news_agent/agent.py`)
- News summaries → RSS search: fetches headlines (evidence: `ipl_news_agent/agent.py`)
- RSS search → Google News RSS: requests feed (evidence: `ipl_news_agent/agent.py`)
