# pawana1990/opspilotai architecture

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

- Interactive diagram: https://gitdiagram.com/pawana1990/opspilotai
- Repository: https://github.com/pawana1990/opspilotai

## Overview

OpsPilotAI is an IT-operations copilot. Its documented user-facing workflow centers on a chat interface that provides operational guidance and automation assistance. The README also lists specialist capabilities for deployment, incidents, patching, knowledge search, ticket analysis, and drafting, plus OpenAI integration. The repository tree does not expose implementation files, and the README does not specify how components call one another, so links beyond the user-facing interaction are omitted rather than inferred.

Main entry points: [`frontend`](https://github.com/pawana1990/opspilotai/blob/main/frontend) (Chat interface)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interaction["User interaction"]
  node_chat["Chat interface"]
end

subgraph group_assistance["Operational assistance"]
  node_psadt["PSADT generation"]
  node_powershell["PowerShell automation"]
  node_patching["Patch management"]
  node_troubleshooting["Incident troubleshooting"]
  node_drafting["Email and docs"]
  node_ticket["Ticket analysis"]
  node_prompts["Prompt content"]
end

subgraph group_knowledge["Knowledge and learning"]
  node_kbsearch["Knowledge search"]
  node_learning["DevOps learning"]
end

subgraph group_integrations["Platform integrations"]
  node_openai["OpenAI"]
  node_teams["Teams integration"]
  node_sccm["SCCM integration"]
  node_servicenow["ServiceNow integration"]
end

node_user(("IT operator"))

node_user -.->|"uses"| node_chat

click node_chat "https://github.com/pawana1990/opspilotai/blob/main/frontend"
click node_psadt "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_powershell "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_patching "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_troubleshooting "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_drafting "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_ticket "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_kbsearch "https://github.com/pawana1990/opspilotai/tree/main/knowledge-base"
click node_learning "https://github.com/pawana1990/opspilotai/tree/main/knowledge-base"
click node_prompts "https://github.com/pawana1990/opspilotai/blob/main/prompts"
click node_teams "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_sccm "https://github.com/pawana1990/opspilotai/blob/main/backend"
click node_servicenow "https://github.com/pawana1990/opspilotai/blob/main/backend"

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_chat toneBlue
class node_psadt,node_powershell,node_patching,node_troubleshooting,node_drafting,node_ticket,node_prompts toneAmber
class node_kbsearch,node_learning toneMint
class node_openai,node_teams,node_sccm,node_servicenow toneRose
class node_user toneIndigo
```

## Components

### User interaction

- [Chat interface](https://github.com/pawana1990/opspilotai/blob/main/frontend): `frontend`

### Operational assistance

- [PSADT generation](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [PowerShell automation](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [Patch management](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [Incident troubleshooting](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [Email and docs](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [Ticket analysis](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [Prompt content](https://github.com/pawana1990/opspilotai/blob/main/prompts): `prompts`

### Knowledge and learning

- [Knowledge search](https://github.com/pawana1990/opspilotai/tree/main/knowledge-base): `knowledge-base`
- [DevOps learning](https://github.com/pawana1990/opspilotai/tree/main/knowledge-base): `knowledge-base`

### Platform integrations

- **OpenAI**
- [Teams integration](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [SCCM integration](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`
- [ServiceNow integration](https://github.com/pawana1990/opspilotai/blob/main/backend): `backend`

### Other components

- **IT operator**

## Connections

- IT operator → Chat interface: uses
