Keragi Keragi Keragi
Solutions

Reference

On this page

ARM edge gateway: device access and local AI

Last updated: 2026-11-21

Status: reference. This is a reference architecture; ARM gateway productization follows the official release. The host supports Linux x86_64 only; an ARM64 server is still planned, and the gateway runs a bridge/client or third-party protocol service.

An ARM Linux gateway is a good fit for on-site protocol aggregation, local buffering, edge inference and camera preprocessing, bringing multiple devices into a Keragi conversation.

Where it sits

sensor/actuator/camera ↔ ARM gateway (protocols/cache/inference) ↔ Keragi conversation ↔ human/AI
  • The gateway can act as a local bridge (client-side decryption) or call a gateway resource.
  • The gateway plays a device/bridge role and does not run the Keragi host; an ARM64 host is a future-release direction.
  • Keep critical control logic local; do not depend on a cloud message arriving.

Selection dimensions (reference)

Dimension What to consider
Compute/storage Compute, memory and storage for protocol handling, cache and inference
Network Ethernet/Wi-Fi/cellular and weak-network reconnection
IO/protocol adapter Serial/fieldbus/Ethernet and protocol adaptation
Power Power-loss protection; a UPS is recommended for critical gateways
Installation Enclosure, dust/moisture/EMI protection

Software responsibilities

  • Device identity and credentials: per-device ID/credentials, secure storage, rotation.
  • Protocol adaptation: serial/fieldbus/HTTP/MQTT implemented by the integrator.
  • Local buffering: offline queue, reconnect, idempotency, rate limits.
  • Edge inference: run local models as needed; this is not the Keragi host.
  • Security: TLS, controlled network, least privilege; do not expose management to the internet.
  • Observability: local logs, watchdog, remote diagnostics; never log credentials.
  • OTA: implemented by the integrator with signing/rollback today; an official OTA service will follow the product release.

Failure modes (reference requirements)

The table below lists the failure cases gateway software should cover. It is not official gateway behavior; implementation is the integrator’s responsibility.

Case Reference behavior Boundary
Network loss/weak link Local queue + reconnect backoff + idempotent replay; keep critical control local Do not depend on a cloud message arriving before a safety action
Gateway restart/power loss Persist the queue; restore the state snapshot before replaying events Do not assume commands from before the restart are still valid; use a UPS for critical gateways
Credential expired/revoked Stop uplink, keep local acquisition/cache, alert and wait for operations Do not reuse an administrator credential
Edge inference/camera failure Degrade to direct upload or stop inference; mark data as untrusted Do not treat inference output as a safety decision
Storage full/corrupted Stop writing and alert; retain the most recent critical events Do not silently drop the queue

Safety and failure boundaries

  • Relays, motors and valves affect people and property: require fail-safe behavior, emergency stop, timeout reset, authorization and manual takeover.
  • Keep critical control logic local; do not depend on a cloud message arriving before a safety action.
  • Manage device credentials per device, with rotation and audit; never reuse an administrator account.
  • The gateway is a trusted endpoint: if it acts as a local bridge, it may decrypt conversation content and must be protected accordingly.
  • Do not use for life support, medical, nuclear, aviation, emergency or industrial-safety applications without certification.

Fit and non-fit

Fit: multi-protocol aggregation, weak-network/offline buffering, edge inference, camera preprocessing, on-site protocol conversion.

Boundary: PLC/safety interlocks should use dedicated safety solutions; an ARM64 host is a future-release direction; HA/cluster can be evaluated per project and is not presented as shipped.

Next steps

Frequently asked questions

Can an ARM gateway run the Keragi host?

Not today. The host supports Linux x86_64 only and an ARM64 server is still planned; the gateway runs a bridge/client or third-party protocol service.

What is an ARM gateway good for?

Protocol aggregation, local buffering, weak-network store-and-forward, edge inference/camera preprocessing, and connecting multiple devices into a Keragi conversation.

Is there an official ARM gateway image?

ARM gateway productization follows the official release; current gateway software, protocol adaptation and OTA are the integrator’s responsibility.

Is device data end-to-end encrypted?

Qualified yes. A device joining as a client participant (a subaccount can approximate one) can use E2EE. By default, device data through a gateway uses plaintext/bot channels and is not encrypted; the gateway cannot decrypt E2EE messages.

What is it good for?

Multi-protocol aggregation, weak-network/offline buffering, edge inference and camera preprocessing; not for replacing PLC/safety interlocks or promising an HA cluster.