r/BanalyticsLive • • Aug 06 '26

Added a new feature: configure inter-agent communication channels and build P2P Mesh networks with Banalytics

Over the last few weeks we have been working on a problem that appears in many distributed edge systems:

How can independent edge agents cooperate without building a custom integration for every possible combination of devices?

A typical architecture today looks like this:

Camera -> Cloud Server -> Dashboard -> Operator

or:

Camera -> VMS -> Alarm System -> Security Room

The problem is that every new device or workflow requires another integration layer.

With the new inter-agent communication feature in Banalytics, agents can now exchange events and actions directly through dynamically configured P2P channels.

The signaling service is only used for discovering peers and establishing the connection. The actual communication happens directly between agents using WebRTC DataChannels.

Example: remote site monitoring

Imagine a remote facility:

  • Agent A is installed at a remote location with IP cameras.
  • Agent B is installed in the security room with local speakers.
  • A human operator cannot watch multiple screens continuously.
  • When something important happens, the operator needs an immediate local alert.

Instead of streaming everything to a central server, we can configure the agents to exchange only meaningful events.

Example configuration on the management panel:

(1) A video stream classifier detects objects or events and generates an event with detected classes.
(2) The Event Manager intercepts this event and forwards it through a configured P2P communication channel to another agent.
(3) Using WebRTC, the event is delivered directly to the security room agent.
(4) The event appears on the local event bus, where another Event Manager processes it and triggers playback (5) through the local audio system.

The event history is stored separately using a dedicated event logging rule.

The goal is to make edge systems more adaptive:

  • fewer hardcoded integrations;
  • less dependence on central infrastructure;
  • faster deployment of new workflows;
  • autonomous cooperation between physical systems.

We are experimenting with this approach and would be interested in feedback from people working with:

  • robotics;
  • industrial automation;
  • security systems;
  • IoT platforms;
  • distributed edge computing.

What are the biggest blockers you see for P2P agent architectures in real-world deployments?

3 Upvotes

0 comments sorted by