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.
Ready-to-run agent install
This asset can be installed after the agent chooses its runtime, checks the plan, and runs the matching command.
npx -y tokrepo@latest install a57c08b9-39c9-11f1-9bc6-00163e2b0d79 --target codexRun after dry-run confirms the install plan.
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.
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.
How to use
- Deploy Fleet server via Docker or the official installer
- Install the Fleet agent (fleetd) on your devices
- Query devices with SQL and set up policies through the web UI
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
Related on TokRepo
- AI tools for security — Browse security monitoring and management tools
- DevOps tools — Explore infrastructure management solutions
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
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.
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.
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.
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.
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
Related on TokRepo
Discussion
Related Assets
Plane — Open-Source AI Project Management
Open-source Jira/Linear alternative with AI-powered pages. Issues, sprints, modules, roadmaps, and real-time analytics. Self-hostable via Docker. AGPL-3.0, 47,500+ stars.
SigNoz — Open Source APM & Observability Platform
SigNoz is an open-source Datadog/New Relic alternative with logs, traces, and metrics in one platform. Native OpenTelemetry support, ClickHouse backend, and powerful dashboards.
Huly — All-in-One Open Source Project Management Platform
Huly is an open-source alternative to Linear, Jira, Slack, and Notion. Project tracking, team chat, knowledge base, and HR tools in a single unified platform.
Ghostfolio — Open Source Wealth Management & Portfolio Tracker
Ghostfolio is an open-source personal finance dashboard for tracking stocks, ETFs, crypto, and other investments with real-time market data and performance analytics.