ForestHub Logo ForestHub Logo ForestHub

Guide

EU AI Act & Cyber Resilience Act for Edge AI

The EU AI Act regulates AI systems by risk tier, with transparency, logging, human-oversight, and documentation obligations that mainly bite for high-risk and safety-component uses. The Cyber Resilience Act adds security-by-design, vulnerability handling, and CE-marking duties for products with digital elements. For industrial edge AI, an architecture that is deterministic, inspectable, replayable, and fully logged makes these obligations far easier to evidence. This is architectural guidance, not legal advice.

Published 2026-06-06

Disclaimer: This article is architectural and technical guidance for engineering teams. It is not legal advice. Regulatory classification and obligations depend on your specific product, use case, and deployment context — consult qualified legal and conformity-assessment professionals.

Two Regulations Now Shape Industrial Edge AI

Two EU regulations now sit squarely in the path of any OEM, system integrator, or manufacturer deploying AI on the factory floor:

  • The EU AI Act (Regulation (EU) 2024/1689) — a risk-based framework for AI systems.
  • The Cyber Resilience Act (Regulation (EU) 2024/2847, the CRA) — horizontal cybersecurity rules for products with digital elements.

They address different things — one governs how an AI system behaves and is documented, the other governs how a connected product is secured and maintained — but for an edge AI deployment they overlap on the same device: the gateway sitting next to your machines. Getting the architecture right makes both regulations far easier to satisfy.

EU AI Act: Risk Tiers and What They Demand

The AI Act sorts AI systems into tiers, and obligations scale with risk.

Prohibited. A short list of unacceptable practices (e.g. certain manipulative or social-scoring uses). Rarely relevant to industrial sensing and control.

High-risk. This is the tier that matters for industrial safety. An AI system is high-risk when it is a safety component of a regulated product (machinery, for example) or falls under the Annex III use cases. High-risk systems carry the heaviest duties:

  • Risk management across the lifecycle.
  • Data governance for training, validation, and testing data.
  • Technical documentation sufficient to demonstrate conformity.
  • Automatic record-keeping (logging) of events over the system’s lifetime.
  • Transparency and clear information to deployers.
  • Human oversight — the system must be designed so a person can understand, intervene, and stop it.
  • Accuracy, robustness, and cybersecurity.

Limited risk. Mainly transparency obligations (for example, telling people they are interacting with an AI system).

Minimal risk. The large majority of AI uses. Most industrial condition-monitoring, anomaly-detection, and predictive-maintenance applications — where the AI flags a deviation and a human or a separate control system decides what to do — sit here or in limited risk. The key move is to classify each use case on its own merits, because the same platform can host both a minimal-risk dashboard helper and a high-risk safety function.

There are also dedicated rules for general-purpose AI models, relevant if you embed a foundation model as a reasoning component.

Cyber Resilience Act: Secure Products, Not Just Secure AI

The CRA is not AI-specific. It applies to products with digital elements placed on the EU market — which an internet-connected edge gateway plainly is. Core expectations:

  • Security-by-design and secure-by-default, with an appropriate level of cybersecurity for the product’s risk.
  • Vulnerability handling: a documented process to identify, triage, and remediate vulnerabilities, plus reporting duties for actively exploited vulnerabilities and severe incidents.
  • Security updates delivered over a defined support period.
  • A software bill of materials (SBOM) documenting components and dependencies.
  • CE marking backed by the appropriate conformity assessment and an EU declaration of conformity.

The CRA phases in over time after entry into force, with the main obligations applying on a staggered timeline — vulnerability-reporting duties arrive earlier than the full set of product requirements. Treat the dates as a planning input and confirm them against the official text for your product category.

Why Edge Processing Is a Compliance Advantage

Running inference and reasoning on the gateway rather than streaming raw data to the cloud has direct regulatory upside:

  • Data minimisation (GDPR adjacency). Raw sensor and machine signals stay on site; only derived events or results leave the device. That shrinks the personal-data surface and the cross-border transfer questions, and it aligns with the data-governance posture the AI Act expects from higher-risk systems.
  • Smaller attack surface. Less data in transit and fewer cloud round-trips reduce exposure — a tailwind for the CRA’s security-by-design requirement.
  • Local logging. Records of what the system sensed, reasoned, and did can be captured at the source, where they are most trustworthy and complete.

Edge processing is an enabler, not a guarantee — it helps you meet these principles but does not satisfy any obligation by itself.

How an Auditable Architecture Maps to the Obligations

Most of the demanding AI Act obligations reduce to one engineering property: traceability. You must be able to show what the system did and why, log it automatically, and let a human oversee and intervene. The CRA adds: you must be able to secure, inventory, and update the product.

A decision flow built as a deterministic graph — where each step is explicit, the same inputs reproduce the same path, and every node’s input and output are recorded — produces exactly this evidence:

Regulatory expectationArchitectural property that supports it
Automatic record-keeping / logging (AI Act)Every node execution logged with inputs, outputs, and timestamps
Traceability / reconstruct a decision (AI Act)Replay the recorded graph run step by step
Human oversight (AI Act)Explicit nodes/boundaries where a person can review, approve, or stop
Transparency (AI Act)Inspectable graph — the reasoning step is one visible node, not a black box
Technical documentation (AI Act)The graph itself documents the data and decision flow
Secure-by-design + updates (CRA)A single managed runtime on the gateway with a controlled update path
SBOM (CRA)A defined, inventoried set of runtime components

The point is not that any platform delivers compliance — it is that architecture either helps or fights you when you go to evidence these obligations. An opaque, non-deterministic pipeline makes record-keeping and oversight hard to demonstrate. A deterministic, logged, replayable one makes them a byproduct of how the system already runs.

How ForestHub Fits

ForestHub is the edge AI agents orchestration platform. It runs on your Linux edge gateway — reading sensors and machines over MQTT, Modbus, and OPC-UA — and orchestrates the sense-reason-act loop as a deterministic graph where the LLM is one node among many: inspectable, replayable, auditable.

That design is a compliance enabler on the gateway:

  • Record-keeping and traceability. Because the loop is a graph of explicit nodes, every run is logged and can be replayed step by step — the audit trail the AI Act’s logging and traceability expectations point to.
  • Human oversight by construction. Reasoning is a single inspectable node, and you decide where a human approves or halts an action, rather than trusting an opaque end-to-end model.
  • Security and maintainability. Orchestration runs as a managed runtime on a Linux gateway you control and can patch — aligning with the CRA’s secure-by-design and update expectations, with a clear inventory of runtime components for an SBOM.

ForestHub runs on the gateway. It does not run on the microcontrollers themselves — the lightweight models on your sensors and machines (for example, the ones in our guides on ESP32 anomaly detection and STM32F4 predictive maintenance) feed signals up to the gateway, where the agent graph reasons over them and decides what to do. Learn more about the model in our edge agents overview.

A Practical Starting Checklist

  1. Classify each use case against the AI Act tiers — be honest about whether any AI participates in a safety function.
  2. Treat the gateway as a CRA product — plan the update mechanism, vulnerability process, and SBOM early, not at certification time.
  3. Design for traceability from day one — log every decision step so the audit trail exists before you need it.
  4. Keep raw data at the edge — minimise what leaves the device.
  5. Make the human-oversight boundary explicit — define exactly where and how a person can intervene.
  6. Confirm timelines and classifications with qualified legal and conformity-assessment advisors against the official regulation texts.

Architecture will not write your compliance documentation — but the right architecture means the evidence those regulators expect is already there, recorded, and replayable.

Frequently Asked Questions

Does the EU AI Act apply to most industrial edge AI?
Many industrial uses — condition monitoring, predictive maintenance, quality flags — fall into the limited or minimal risk tiers, where obligations are light. The high-risk tier applies when an AI system is a safety component of a regulated product or otherwise listed in Annex III. If your edge AI participates in a safety function, expect high-risk obligations such as risk management, logging, human oversight, and technical documentation. Classify each use case individually rather than the platform as a whole.
What does the Cyber Resilience Act require for edge AI devices?
The CRA covers products with digital elements placed on the EU market. It requires security-by-design and secure-by-default, a documented vulnerability handling process, security updates for a support period, a software bill of materials (SBOM), and CE marking backed by a conformity assessment. An edge gateway running AI agents is a product with digital elements, so its update mechanism, patch process, and component inventory all fall in scope.
How does on-device edge processing help with GDPR and the AI Act?
Processing sensor and machine data locally on the gateway supports data minimisation: raw signals stay on site and only derived results or events leave the device. That reduces the personal-data and transfer surface relevant to GDPR, and it shrinks the data-governance burden the AI Act expects for higher-risk systems. Edge processing is an enabler for these principles, not an automatic compliance guarantee.
Why does an auditable agent graph matter for compliance?
AI Act obligations for higher-risk systems centre on traceability: automatic logging of events, the ability to reconstruct what the system did, and meaningful human oversight. An architecture where the decision flow is a deterministic graph — with the LLM as one inspectable node — produces a replayable, logged record of every step. That record is exactly the kind of evidence record-keeping and oversight obligations call for.
Does ForestHub make my product AI Act or CRA compliant?
No tool makes a product compliant on its own. Compliance depends on your specific use case, classification, processes, and documentation. ForestHub provides architectural building blocks — deterministic orchestration, full logging, replay, and a clear human-oversight boundary on the gateway — that make the required evidence and controls easier to implement and demonstrate.

Related Hardware Guides

ESP32 Anomaly Detection with Edge Impulse

Deploy anomaly detection to ESP32 with Edge Impulse. 2-core 240 MHz, 520 KB SRAM. Excellent compatibility.

STM32F4 Predictive Maintenance with TFLite Micro

Deploy predictive maintenance on STM32F4 with TFLite Micro. A widely used Cortex-M4 for cost-effective vibration monitoring in industrial settings.

i.MX RT1062 Anomaly Detection with TFLite Micro

i.MX RT1062 for anomaly detection: 1024 KB RAM at 600 MHz with TFLite Micro. Setup guide and alternatives.

ESP32 Predictive Maintenance with Edge Impulse

Deploy vibration-based predictive maintenance on ESP32 with Edge Impulse. Sensor setup, model training, and continuous monitoring guide.

STM32F7 Anomaly Detection with CMSIS-NN

Run anomaly detection on STM32F7 with CMSIS-NN. 512 KB SRAM, 216 MHz STMicroelectronics chip. Rated Excellent.

Explore More

ESP32 guides i.MX RT1062 guides STM32F4 guides STM32F7 guides All resources MCU Compatibility Checker

Build Edge AI You Can Audit

ForestHub orchestrates the sense-reason-act loop on your Linux edge gateway as a deterministic, replayable graph — the LLM is one inspectable node among many, giving you the logs and traceability compliance teams ask for.

Get Started Free