feat: aissurance plugin initial commit

This commit is contained in:
Alpha Nerd 2026-06-10 13:22:44 +02:00
parent d163fea154
commit 392034f839
Signed by: alpha-nerd
SSH key fingerprint: SHA256:QkkAgVoYi9TQ0UKPkiKSfnerZy2h4qhi3SVPXJmBN+M
22 changed files with 1645 additions and 2 deletions

View file

@ -181,6 +181,24 @@ curl http://localhost:12434/api/cache/stats # hit rate, counters, config
curl -X POST http://localhost:12434/api/cache/invalidate # clear all entries
```
## Compliance Plugin (aissurance.eu)
Optional in-process plugin that periodically sends signed AI-infrastructure
evidence — model/endpoint inventory and aggregate telemetry, **never** prompt or
completion content — to [aissurance.eu](https://www.aissurance.eu) for EU AI Act
compliance. All traffic is outbound; the Router keeps proxying if the upstream is
down (evidence is encrypted and buffered for later).
```yaml
compliance:
enabled: true
server_url: "https://www.aissurance.eu/api/v1/discovery/receive"
api_key: "${AISSURANCE_KEY}" # tenant secret, separate from the router API key
polling_interval: 300
```
See the **[Compliance Guide](doc/compliance.md)** for the full reference.
## Supplying the router API key
If you set `nomyo-router-api-key` in `config.yaml` (or `NOMYO_ROUTER_API_KEY` env), every request to NOMYO Router must include the key: