Turns a firing Krateo observability Alert into Incidents, one per problem, each with an incident-agent root-cause analysis, in the background — no browser required.
every 60 s, Alert is ALERT in HyperDX → krateo-alert-provider
→ an open incident of the same problem? (one LLM call) yes → nothing (it covers the firing)
no → new Incident → A2A call to incident-agent
→ status: analysis + howToFix scripts, state Open
The reconciler mirrors each Alert's HyperDX state every pass; a pass that finds it ALERT is a firing, and the handler:
- asks the comparison model, in one call over the Alert's open analyzed
Incidents (observability.krateo.io/v1alpha1) that opened or last covered a firing withinconfig.incidentCoverWindow(24h), which one causes its current records; that one covers the firing, which only stamps itsobservability.krateo.io/last-covered-atannotation, - else creates one in state
Analyzingand calls incident-agent over A2A (JSON-RPCmessage/stream) with the incident's prompt, - writes the analysis and its
howToFixscripts to the Incident's status, in stateOpen.
The incident controller (incident-controller) runs the scripts from there. See docs/overview.md.
HyperDX's webhook is acked (202) and logged; the reconciler's pass is what fires an alert.
It reconciles the Alerts of every namespace. Only an Alert in its own namespace (NAMESPACE)
opens Incidents; an Alert in any other namespace, a tenant's, is pushed to HyperDX as
<namespace>/<name> and mirrors its state with no Incident and no RCA, since incident-agent reads
the whole platform. See docs/overview.md.
Image is built + pushed by CI (.github/workflows/release.yaml) to
ghcr.io/krateo-platformops/alert-provider on push to main / tags. No local docker push.
The reconciler creates the HyperDX webhook and alerts from the Alert CRs.
NAMESPACE(defaultkrateo-system) — the home namespace: its Alerts keep their bare names in HyperDX and alone open Incidents, which it holds, as it does the Secrets and the ModelConfig. Alerts of other namespaces are reconciled too, with no Incident.AUTOPILOT_A2A_URL— the RCA agent (chart defaulthttp://incident-agent.krateo-system.svc:8080/).A2A_TIMEOUT(default900s) — the longest silence on the RCA stream; above the agentgateway LLM route's 600s timeout.COMPARE_MODEL_CONFIG— the kagent ModelConfig whose model compares incidents (defaultgemini-flash).COMPARE_TIMEOUT(default60s).
helm install alert-provider oci://ghcr.io/krateo-platformops/charts/alert-provider --version <tag> -n krateo-systemSee examples/webhook/.
docs/index.md — overview, usage, API, configuration, release, log.
make check builds, vets and tests the Go module (on Krateo's provider-runtime) and lints the charts. The
testdata corpora under internal/*/testdata are the Python implementation's outputs, recorded by
hack/golden/generate.py; the Go code is held to them.
Tag a bare semver; CI builds the image and publishes the chart. See docs/release.md.