# idrissbado/agentic-ai architecture

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

- Interactive diagram: https://gitdiagram.com/idrissbado/agentic-ai
- Repository: https://github.com/idrissbado/agentic-ai

## Overview

Agentic Autonomous BI is presented as a multi-agent system for extracting data, analyzing and checking it, creating visualizations, and publishing BI outputs. The evidenced runtime entry point is the orchestrator, which directly invokes the planner, data, analytics, QA, visualization, and integration agents. The README also documents Power BI, Looker Studio, Metabase, and React/Next.js outputs, plus configurable data sources. Several agent implementations are placeholders, and the excerpts do not show runtime wiring for configuration, Power BI API calls, or export destinations; those links are therefore documented or left unverified rather than inferred as direct calls.

Main entry points: [`OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/orchestrator/orchestrator.py) (Orchestrator), [`OneDrive - BIZAO/Pictures/crud/agents/integration_agent.py`](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/integration_agent.py) (Integration Agent), [`OneDrive - BIZAO/Pictures/crud/powerbi/api.py`](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/powerbi/api.py) (Power BI API), [`OneDrive - BIZAO/Pictures/crud/agents/data_agent.py`](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/data_agent.py) (Data Agent)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Orchestration"]
  node_orchestrator["Orchestrator<br/>[orchestrator.py]"]
  node_config["Configuration<br/>[config.yaml]"]
end

subgraph group_agents["BI Agents"]
  node_source[("Data Sources")]
  node_planner["Planner Agent<br/>[planner_agent.py]"]
  node_data["Data Agent<br/>[data_agent.py]"]
  node_analytics["Analytics Agent<br/>[analytics_agent.py]"]
  node_qa["QA Agent<br/>[qa_agent.py]"]
  node_visualization["Visualization Agent"]
  node_integration["Integration Agent"]
end

subgraph group_powerbi["Power BI"]
  node_auth["Power BI Auth<br/>[auth.py]"]
  node_powerbi_api["Power BI API<br/>[api.py]"]
end

subgraph group_publishing["Publishing"]
  node_powerbi_platform["Power BI"]
  node_looker["Looker Studio"]
  node_metabase["Metabase"]
  node_nextjs["React / Next.js"]
  node_exports["Dashboard Exports"]
end

node_user(("BI User"))

node_user -->|"starts task"| node_orchestrator
node_orchestrator -->|"plans task"| node_planner
node_orchestrator -->|"extracts data"| node_data
node_source -.->|"provides source"| node_data
node_orchestrator -->|"analyzes data"| node_analytics
node_orchestrator -->|"checks data"| node_qa
node_orchestrator -->|"visualizes data"| node_visualization
node_orchestrator -->|"integrates platform"| node_integration
node_config -.->|"configures runtime"| node_orchestrator
node_integration -.->|"publishes to"| node_powerbi_platform
node_integration -.->|"publishes to"| node_looker
node_integration -.->|"publishes to"| node_metabase
node_integration -.->|"publishes to"| node_nextjs
node_powerbi_api -.->|"calls API"| node_powerbi_platform
node_auth -.->|"authenticates"| node_powerbi_api
node_integration -.->|"exports dashboards"| node_exports

click node_orchestrator "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/orchestrator/orchestrator.py"
click node_config "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/config.yaml"
click node_source "https://github.com/idrissbado/agentic-ai/tree/master/OneDrive%20-%20BIZAO/Pictures/crud/data"
click node_planner "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/planner_agent.py"
click node_data "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/data_agent.py"
click node_analytics "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/analytics_agent.py"
click node_qa "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/qa_agent.py"
click node_visualization "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/visualization_agent.py"
click node_integration "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/integration_agent.py"
click node_auth "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/powerbi/auth.py"
click node_powerbi_api "https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/powerbi/api.py"
click node_exports "https://github.com/idrissbado/agentic-ai/tree/master/OneDrive%20-%20BIZAO/Pictures/crud/dashboards"

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_orchestrator,node_config,node_user toneBlue
class node_source,node_planner,node_data,node_analytics,node_qa,node_visualization,node_integration toneAmber
class node_auth,node_powerbi_api toneMint
class node_powerbi_platform,node_looker,node_metabase,node_nextjs,node_exports toneRose
```

## Components

### Orchestration

- [Orchestrator](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/orchestrator/orchestrator.py): `OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`
- [Configuration](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/config.yaml): `OneDrive - BIZAO/Pictures/crud/config.yaml`

### BI Agents

- [Data Sources](https://github.com/idrissbado/agentic-ai/tree/master/OneDrive%20-%20BIZAO/Pictures/crud/data): `OneDrive - BIZAO/Pictures/crud/data`
- [Planner Agent](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/planner_agent.py): `OneDrive - BIZAO/Pictures/crud/agents/planner_agent.py`
- [Data Agent](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/data_agent.py): `OneDrive - BIZAO/Pictures/crud/agents/data_agent.py`
- [Analytics Agent](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/analytics_agent.py): `OneDrive - BIZAO/Pictures/crud/agents/analytics_agent.py`
- [QA Agent](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/qa_agent.py): `OneDrive - BIZAO/Pictures/crud/agents/qa_agent.py`
- [Visualization Agent](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/visualization_agent.py): `OneDrive - BIZAO/Pictures/crud/agents/visualization_agent.py`
- [Integration Agent](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/agents/integration_agent.py): `OneDrive - BIZAO/Pictures/crud/agents/integration_agent.py`

### Power BI

- [Power BI Auth](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/powerbi/auth.py): `OneDrive - BIZAO/Pictures/crud/powerbi/auth.py`
- [Power BI API](https://github.com/idrissbado/agentic-ai/blob/master/OneDrive%20-%20BIZAO/Pictures/crud/powerbi/api.py): `OneDrive - BIZAO/Pictures/crud/powerbi/api.py`

### Publishing

- **Power BI**
- **Looker Studio**
- **Metabase**
- **React / Next.js**
- [Dashboard Exports](https://github.com/idrissbado/agentic-ai/tree/master/OneDrive%20-%20BIZAO/Pictures/crud/dashboards): `OneDrive - BIZAO/Pictures/crud/dashboards`

### Other components

- **BI User**

## Connections

- BI User → Orchestrator: starts task
- Orchestrator → Planner Agent: plans task (evidence: `OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`)
- Orchestrator → Data Agent: extracts data (evidence: `OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`)
- Data Sources → Data Agent: provides source
- Orchestrator → Analytics Agent: analyzes data (evidence: `OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`)
- Orchestrator → QA Agent: checks data (evidence: `OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`)
- Orchestrator → Visualization Agent: visualizes data (evidence: `OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`)
- Orchestrator → Integration Agent: integrates platform (evidence: `OneDrive - BIZAO/Pictures/crud/orchestrator/orchestrator.py`)
- Configuration → Orchestrator: configures runtime
- Integration Agent → Power BI: publishes to
- Integration Agent → Looker Studio: publishes to
- Integration Agent → Metabase: publishes to
- Integration Agent → React / Next.js: publishes to
- Power BI API → Power BI: calls API
- Power BI Auth → Power BI API: authenticates
- Integration Agent → Dashboard Exports: exports dashboards
