Skip to content
flamingo-stackPublic
forked from fleetdm/fleet

About

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

25,702 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenFrame

License

FleetMDM

FleetMDM is Flamingo's fork of the open-source Fleet device management platform, extended for the OpenFrame unified MSP ecosystem. It provides cross-platform device management — Windows, macOS, Linux, ChromeOS, iOS/iPadOS, and Android — backed by osquery agents and native MDM protocols, enriched with OpenFrame multitenancy, Kafka → Pinot streaming analytics, and Flamingo AI capabilities.

The repository is both a Go backend service (API server, cron scheduler, MDM orchestration) and a React/TypeScript web console, distributed as a single fleet binary plus the fleetctl CLI and a Chrome-extension agent.

Flamingo builds an AI-powered MSP platform that replaces expensive proprietary tooling with open-source alternatives enhanced by intelligent automation (Mingo AI for technicians, Fae for clients). OpenFrame is the layer that unifies tools like FleetMDM into a single AI-driven interface, automating IT support operations end to end.

Features

  • Cross-platform device management — Windows, macOS, Linux, ChromeOS, iOS/iPadOS, and Android, inventoried through osquery-based agents and managed through native MDM protocols (Apple MDM/DEP/SCEP, Microsoft MDM/WSTEP, Android Enterprise).
  • Unified API and CLI — a single fleet server binary exposes a REST API consumed by the web console, agents, and the fleetctl command-line tool, which also supports GitOps-style configuration (fleetctl apply, fleetctl gitops).
  • Live querying and policies — run ad hoc or scheduled osquery queries across hosts (fleetctl query), and define policies that continuously check compliance.
  • Software deployment — build and distribute enrollment and software installer packages (fleetctl package), including a maintained-apps catalog ingested from Homebrew and WinGet.
  • Vulnerability management — CVE/CPE/MSRC/OSV/OVAL scanning pipelines keep software inventory matched against known vulnerabilities.
  • OpenFrame multitenancy — a dedicated authorization manager, KMS-wrapped server private keys, and per-tenant Windows WSTEP certificate pairs let one deployment safely serve many MSP tenants.
  • Streaming analytics — inventory and compliance events stream toward Kafka and Pinot for OpenFrame-wide analytics and reporting.
  • Observability built in — OpenTelemetry tracing, metrics, and logs ready to export to a SigNoz backend.

Technology Stack

Area Technology
Backend API server, cron, MDM orchestration Go (cmd/fleet/)
Web console React 18 / TypeScript (frontend/)
Device agent Go (orbit/, fleetd)
CLI Go (cmd/fleetctl/, ee/fleetctl/)
Browser-based agent TypeScript, Chrome extension (ee/fleetd-chrome/), published as fleetd-for-chrome
Primary datastore MySQL 8.0
Caching / live-query pub-sub Redis 6+
Object storage S3 / GCS-compatible storage
Streaming analytics Kafka → Pinot
Deployment Docker Compose and a Helm chart (charts/fleet)

According to the organization's code graph, FleetMDM is registered as a service and currently has no recorded upstream dependencies or downstream consumers in the indexed graph. Coverage is marked partial, so this absence does not prove nothing else in the organization depends on FleetMDM — it means no fresh snapshot currently records such an edge. What FleetMDM does publish is a set of Go modules (github.com/fleetdm/fleet/v4 and several CI/tooling submodules) and npm packages (fleetctl, fleetd-for-chrome, fleet-slackbot), plus a Helm chart and container image produced by its own release pipeline.

Architecture

flowchart TD
    subgraph Endpoints
        WinAgent["Windows Agent (fleetd/orbit)"]
        MacAgent["macOS Agent (fleetd/orbit)"]
        LinuxAgent["Linux Agent (fleetd/orbit)"]
        ChromeExt["Chrome Extension (fleetd-chrome)"]
        iOSiPad["iOS / iPadOS (MDM)"]
        AndroidDev["Android Enterprise"]
    end

    subgraph OpenFrame
        GW["OpenFrame Gateway"]
        FleetAPI["Fleet Server API (Go)"]
        MySQL["MySQL 8.0"]
        Redis["Redis 6+"]
        S3["S3 / GCS"]
        Stream["OpenFrame Stream"]
        Kafka["Kafka"]
        Pinot["Pinot Analytics"]
        WebUI["React / TypeScript Web Console"]
    end

    WinAgent --> GW
    MacAgent --> GW
    LinuxAgent --> GW
    ChromeExt --> GW
    iOSiPad --> GW
    AndroidDev --> GW
    GW --> FleetAPI
    FleetAPI --> MySQL
    FleetAPI --> Redis
    FleetAPI --> S3
    FleetAPI --> Stream
    Stream --> Kafka
    Kafka --> Pinot
    WebUI --> FleetAPI
Loading

The cmd/fleet server process exposes the REST API that agents, the web console, and fleetctl all talk to. It persists state to MySQL, coordinates live queries through Redis, stores installers in S3-compatible storage, and streams events toward Kafka/Pinot for analytics. A series of OpenFrame-specific additions — clearly delimited by OPENFRAME(...) sentinel comments in otherwise-upstream files — add multitenancy, a bearer-token agent auth manager, KMS-wrapped server private keys, and tenant-scoped Redis namespacing. See ./docs/reference/architecture/overview.md for the full component map and ./docs/diagrams/architecture/README.md for the rendered diagram set, including the component-relationship and agent-enrollment-sequence diagrams.

Quick Start

This gets a local FleetMDM server running and your first host enrolled, using Docker Compose for backing services and the make targets built into this repository.

Minimum requirements: Go (go.mod pins go 1.26.6), Node.js ^24.10.0 and Yarn >=1.22.21, Docker and Docker Compose, and make.

# 1. Clone the repository
git clone https://github.com/flamingo-stack/fleetmdm.git
cd fleetmdm

# 2. Install JavaScript dependencies (frontend + build tooling)
yarn install

# 3. Start backing services (MySQL, Redis, mail, S3-compatible storage, etc.)
docker compose up -d

# 4. Build and start the Fleet server (installs default dev settings on first run)
make serve

make serve is a convenience wrapper: on its first run it executes ./build/fleet serve --server_address=localhost:8080 --dev --dev_license, running the server in development mode with a premium license enabled, and persists that invocation for next time. USE_IP=1 binds to your machine's IP instead of localhost, SHOW=1 prints the last saved invocation without starting anything, and RESET=1 clears it.

Once the server logs show it is listening, open http://localhost:8080 in a browser and complete the initial setup form shown there to create your first admin account — refer to your environment configuration rather than any default credentials.

Enroll A Host And Run A Query

# Build fleetctl in a second terminal
make fleetctl

# Point fleetctl at the server and log in
./build/fleetctl config set --address https://localhost:8080 --tls-skip-verify
./build/fleetctl login

# Build an enrollment package
./build/fleetctl package --type=pkg --fleet-url=https://localhost:8080 --enroll-secret=<secret>

# Once the host shows up as Online, run a live query
./build/fleetctl query --hosts <hostname> --query "SELECT * FROM os_version"

Replace <secret> with one of the enroll secrets shown on the web console's host-enrollment page.

For the full walkthrough — including Kubernetes via the published Helm chart, GitOps-driven configuration, and software deployment — see the getting-started guides linked below.

Documentation

📚 See the Documentation for comprehensive guides.

This project does not use GitHub Issues or GitHub Discussions. Community support and discussion happen on the OpenMSP Slack community (invite link). Pull requests against flamingo-stack/fleetmdm remain the mechanism for proposing code changes.


Built with 💛 by the flamingo team

About

Open-source platform for IT, security, and infrastructure teams. (Linux, macOS, Chrome, Windows, cloud, data center)

Resources

Code of conduct

Contributing

Security policy

Stars

6 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages