Overview of the Alert Agent Service
mainThe Alert Agent Service is a multimodal alert action dispatcher microservice designed for edge environments. It acts as a bridge between detection pipelines (video analytics, audio sensors, IoT) and response actions.
How it works:
- Receives Alerts: Accepts multimodal payloads including text, image, audio, video, and binary media.
- Reasons: Uses an LLM-powered agentic backend (via Google ADK and OpenVINO™ Model Server) to analyze the alert context.
- Dispatches Actions: Selects and executes configurable tools such as logging, webhooks, MQTT publishing, or snapshot saving.
Key Capabilities:
- Agentic vs. Rule-Based: Supports intelligent tool selection via LLM or deterministic routing via rules (set by
AGENT_MODE=false). - Deduplication: Prevents notification floods by suppressing repeated alerts within a configurable window.
- Escalation: Automatically triggers additional tools (e.g., MQTT) after a specific number of consecutive detections.
- Extensibility: Supports Model Context Protocol (MCP) to dynamically add tools from external servers and allows hot-reloading of configurations without restarts.