# ebk1996/enterprise-ai-ops architecture

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

- Interactive diagram: https://gitdiagram.com/ebk1996/enterprise-ai-ops
- Repository: https://github.com/ebk1996/enterprise-ai-ops

## Overview

The repository describes an enterprise AI operations platform: operators use a real-time dashboard, requests reach a Node.js API, and work is routed to specialized Python agents. PostgreSQL and Redis provide persistence and operational state; RabbitMQ/Celery supports distributed tasks. Payment webhooks and security controls are documented capabilities. The tree contains no application source excerpts, so component paths are null where implementation files cannot be verified, and edges reflect README statements only.

Main entry points: [`init.sql`](https://github.com/ebk1996/enterprise-ai-ops/blob/main/init.sql) (PostgreSQL)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_operations["Operations interface"]
  node_dashboard["React dashboard"]
end

subgraph group_services["Application services"]
  node_api["Node.js API"]
  node_auth["JWT security"]
  node_audit["Agent audit trail"]
end

subgraph group_work["Agent execution"]
  node_queue["RabbitMQ + Celery"]
  node_agents["Python agent swarm"]
  node_contentforge["ContentForge"]
  node_marketscout["MarketScout"]
  node_leadhunter["LeadHunter"]
  node_supportsage["SupportSage"]
  node_profitlens["ProfitLens"]
end

subgraph group_state["State and integrations"]
  node_postgres[("PostgreSQL<br/>[init.sql]")]
  node_redis[("Redis")]
  node_paypal["PayPal"]
  node_stripe["Stripe"]
end

node_operator(("Operator"))

node_operator -->|"uses"| node_dashboard
node_dashboard -->|"connects via WebSockets"| node_api
node_api -->|"secures admin routes"| node_auth
node_api -->|"routes tasks"| node_queue
node_queue -->|"dispatches tasks"| node_agents
node_agents -->|"includes"| node_contentforge
node_agents -->|"includes"| node_marketscout
node_agents -->|"includes"| node_leadhunter
node_agents -->|"includes"| node_supportsage
node_agents -->|"includes"| node_profitlens
node_api -->|"uses"| node_postgres
node_api -->|"uses"| node_redis
node_agents -.->|"records actions"| node_postgres
node_api -->|"receives webhooks"| node_paypal
node_api -->|"receives webhooks"| node_stripe
node_agents -->|"actions audited"| node_audit
node_audit -.->|"stored in"| node_postgres

click node_postgres "https://github.com/ebk1996/enterprise-ai-ops/blob/main/init.sql"

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_dashboard toneBlue
class node_api,node_auth,node_audit toneAmber
class node_queue,node_agents,node_contentforge,node_marketscout,node_leadhunter,node_supportsage,node_profitlens toneMint
class node_postgres,node_redis,node_paypal,node_stripe toneRose
class node_operator toneIndigo
```

## Components

### Operations interface

- **React dashboard**

### Application services

- **Node.js API**
- **JWT security**
- **Agent audit trail**

### Agent execution

- **RabbitMQ + Celery**
- **Python agent swarm**
- **ContentForge**
- **MarketScout**
- **LeadHunter**
- **SupportSage**
- **ProfitLens**

### State and integrations

- [PostgreSQL](https://github.com/ebk1996/enterprise-ai-ops/blob/main/init.sql): `init.sql`
- **Redis**
- **PayPal**
- **Stripe**

### Other components

- **Operator**

## Connections

- Operator → React dashboard: uses (evidence: `README.md`)
- React dashboard → Node.js API: connects via WebSockets (evidence: `README.md`)
- Node.js API → JWT security: secures admin routes (evidence: `README.md`)
- Node.js API → RabbitMQ + Celery: routes tasks (evidence: `README.md`)
- RabbitMQ + Celery → Python agent swarm: dispatches tasks (evidence: `README.md`)
- Python agent swarm → ContentForge: includes (evidence: `README.md`)
- Python agent swarm → MarketScout: includes (evidence: `README.md`)
- Python agent swarm → LeadHunter: includes (evidence: `README.md`)
- Python agent swarm → SupportSage: includes (evidence: `README.md`)
- Python agent swarm → ProfitLens: includes (evidence: `README.md`)
- Node.js API → PostgreSQL: uses (evidence: `README.md`)
- Node.js API → Redis: uses (evidence: `README.md`)
- Python agent swarm → PostgreSQL: records actions
- Node.js API → PayPal: receives webhooks (evidence: `README.md`)
- Node.js API → Stripe: receives webhooks (evidence: `README.md`)
- Python agent swarm → Agent audit trail: actions audited (evidence: `README.md`)
- Agent audit trail → PostgreSQL: stored in
