Expand description
AiEGIS Harness reference daemon β CLI + HTTP server.
Ports the HTTP surface of harness.py (_HarnessHandler + main) onto
axum + tokio. Endpoints + response shapes are byte-compatible with the
Python reference; an agent integrating against either binary can swap
--harness-url without code change.
ModulesΒ§
- pack_
fetcher π - Remote policy-pack fetcher.
- upstream π
- Upstream-receipt POSTer.
StructsΒ§
- AppState π
- Args π
- CLI arguments. Mirror of the Python refβs
argparsesetup. - Rate
State π - Per-agent sliding-window action timestamps for the rate-limit pack.
FunctionsΒ§
- extract_
agent_ πdid - health π
- json_
with_ πversion_ header - Helper: render JSON with the standard X-AEGIS-Harness-Version header.
- main π
- not_
found π - protect π