Keelo is a self-hosted Remote Monitoring & Management (RMM) platform I designed and built. Endpoint agents report status through a message broker, technicians open remote desktop, terminal and file sessions with single sign-on, and every action is checked against a role-based permission model. Devices are discovered from Active Directory. The diagrams below document its design in UML.
Python / Flask
PostgreSQL
NATS JetStream
MeshCentral
Docker
REST + WebSocket
AD / LDAP
RBAC
Linux / WSL2
01
Use Case Diagram
Three roles with different rights: administrators configure the platform, technicians monitor and connect to endpoints, read-only users view inventory. Active Directory and the endpoint agents are external systems.
02
Component Diagram
Endpoint agents publish their status to a NATS JetStream message broker; the Flask API consumes it, stores state in PostgreSQL, enforces permissions on every call and brokers remote sessions through MeshCentral running in Docker.
03
Sequence Diagram — Agent Telemetry via Message Broker
Asynchronous, decoupled status reporting: agents never call the API directly, and a durable stream means no status message is lost if the server restarts.
04
Sequence Diagram — Remote Session with Single Sign-On
Every remote session is authorised against the role matrix and per-user overrides, then opened in MeshCentral with a short-lived encrypted token, so the technician never logs in twice.
05
Entity-Relationship Diagram — Access Control & AD Discovery
Role-based access control (default role matrix + per-user overrides) and Active Directory discovery, with the bind password stored encrypted.