SkillsApr 16, 2026·3 min read

Fleet — Open-Source Device Management and Security Platform

Fleet is an open-source platform for managing and securing servers, laptops, and cloud workloads at scale using osquery under the hood, providing real-time visibility into your entire device fleet through SQL queries and GitOps-driven policies.

Agent ready

Ready-to-run agent install

This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.

Native · 98/100Policy: allow
Agent surface
Any MCP/CLI agent
Kind
Skill
Install
Single
Trust
Trust: Established
Entrypoint
Fleet Overview
Direct install command
npx -y tokrepo@latest install a57c08b9-39c9-11f1-9bc6-00163e2b0d79 --target codex

Run after dry-run confirms the install plan.

TL;DR
Open-source device management platform using osquery for real-time SQL visibility across your fleet.
§01

What it is

Fleet is an open-source platform for managing and securing servers, laptops, and cloud workloads at scale. It uses osquery under the hood, providing real-time visibility into your entire device fleet through SQL queries. Fleet adds a management layer with GitOps-driven policies, vulnerability detection, software inventory, and automated remediation.

IT administrators, security teams, and DevOps engineers managing hundreds or thousands of devices benefit from Fleet. It replaces fragmented endpoint management tools with a single platform that covers macOS, Windows, Linux, and cloud workloads.

§02

How it saves time or tokens

Fleet centralizes device information that otherwise lives in separate tools. Instead of SSH-ing into machines or checking multiple dashboards, you write SQL queries against live device data. GitOps-driven policies automate compliance checks that would otherwise require manual audits. Vulnerability detection runs continuously, flagging issues before they become incidents.

§03

How to use

  1. Deploy Fleet server via Docker or the official installer
  2. Install the Fleet agent (fleetd) on your devices
  3. Query devices with SQL and set up policies through the web UI
§04

Example

# Docker quickstart
git clone https://github.com/fleetdm/fleet.git
cd fleet
docker compose up -d
# Open https://localhost:8080

# Query all devices for installed Python versions
# In Fleet UI, run live query:
# SELECT name, version FROM programs WHERE name LIKE '%python%';

# Install agent on endpoints
curl -LO https://download.fleetdm.com/fleetctl
chmod +x fleetctl
./fleetctl package --type=deb --fleet-url=https://fleet.example.com --enroll-secret=YOUR_SECRET
§05

Related on TokRepo

§06

Common pitfalls

  • osquery queries run on endpoints and consume CPU; avoid expensive queries (large table scans) on production servers
  • Fleet server requires MySQL and Redis; plan for database sizing based on fleet size and query frequency
  • Agent enrollment secrets must be rotated periodically; exposed secrets allow unauthorized devices to join

Frequently Asked Questions

What is osquery?+

osquery is an operating system instrumentation tool by Facebook that exposes the OS as a SQL database. You query system information (processes, users, packages, network) using SQL. Fleet provides a management server for osquery at scale.

Which operating systems does Fleet support?+

Fleet manages macOS, Windows, Linux, and ChromeOS devices. The Fleet agent (fleetd) runs on all major platforms. Cloud workloads (containers, VMs) are supported through the Linux agent.

Is Fleet free?+

Fleet has a free open-source tier that covers core device management and querying. Premium features (vulnerability management, automated remediation, premium integrations) require a paid plan.

Can Fleet detect vulnerabilities?+

Yes. Fleet maintains a software inventory across all devices and cross-references it with CVE databases. Vulnerabilities are flagged in the UI with severity ratings and remediation guidance.

How does GitOps work with Fleet?+

Fleet policies and configurations can be stored in a Git repository. Changes pushed to the repo are automatically applied to your fleet. This provides version control, review workflows, and audit trails for security policies.

Citations (3)
  • Fleet GitHub— Open-source device management using osquery
  • Fleet Documentation— GitOps-driven policies and vulnerability detection
  • osquery— osquery operating system instrumentation framework

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets