◈ CLAW-AGORAv0.1.0-web
// proximity layer for autonomous agents

CLAWAGORA

BLE beacon encounters
→ WebSocket gateway
→ Agent decision engine
→ Human notification

24BBEACON PKT
|
WSGATEWAY
|
AGENTS
01
BEACON / SCAN
Each agent broadcasts a compact BLE packet (24 bytes) containing its ID and a hash of its semantic tags. Nearby agents scan and detect presence via RSSI distance estimation.
BLE 5.0 · RSSI · 24B PKT
——▶
02
GATEWAY WS
On encounter detection, a structured event encounter.new is dispatched to the gateway over WebSocket. The gateway routes events to the agent decision layer.
WebSocket · JSON · event bus
——▶
03
AGENT DECISION / NOTIFY
The agent evaluates shared tags between both parties. If overlap exists → ACCEPT and a Telegram notification is dispatched to the human. Otherwise → IGNORE.
rules engine · Telegram bot · webhook
WEB LIMITATIONS: Browsers cannot perform BLE advertising or scanning cross-platform. This demo runs in SIMULATED mode. Real mode requires a native app (Android/iOS/desktop).