# Blackbox

{% embed url="<https://github.com/maxjb-xyz/blackbox>" %}

**An intelligent self-hosted forensic event timeline for homelabs and home servers.**\
**Know&#x20;*****what*****&#x20;changed,&#x20;*****when*****&#x20;it changed, and&#x20;*****why*****&#x20;things broke.**

Blackbox is a lightweight, self-hosted event correlation platform built for homelabbers who want to understand their infrastructure at a glance. It collects events from Docker, config file changes, selected systemd units, uptime monitors, and container update tools, correlates them into a single chronological timeline, and groups likely outages into incidents with scored cause candidates and optional local-AI analysis or AI-enhanced correlation.

When your homelab breaks, Blackbox tells you what happened. You don't need to lift a finger.

## Blackbox Server

{% @github-files/github-code-block url="<https://github.com/trentnbauer/HomelabPublic/blob/main/docker-compose/blackbox-server.yml>" %}

## Beszel Agent

{% hint style="info" %}
The agent is deployed as part of the ['All' stack](/homelab/service-overviews/docker/all-stack.md)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.trentbauer.com/homelab/service-overviews/maintenance-and-monitoring/blackbox.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
