DEV Community

Navneet Sinha
Navneet Sinha

Posted on

Ghost-Hunter: An Air-Gapped, Temporal-Powered Follow-Up Sentinel with Local Gemma 3

Ghost-Hunter is an open-source, local-first, air-gapped follow-up sentinel built to eliminate forgotten customer requests, unresolved operational tickets, and missed follow-ups. Powered by Local Gemma 3 via Ollama and orchestrated using Temporal, Ghost-Hunter acts as an intelligent background agent that continuously monitors, tracks, and triggers proactive follow-ups without relying on external cloud APIs or exposing sensitive user data.

Key features include:

  • Local-First AI Execution: Operates entirely offline using Ollama and Gemma 3 to analyze conversation logs, detect open action items, and draft responses.
  • Temporal Workflow Orchestration: Reliable state machine handling for scheduling, retries, and time-based triggers.
  • Air-Gapped & Secure: Zero third-party cloud data transmission, ensuring strict data privacy and compliance.
  • Interactive Sentinel Dashboard: Real-time monitoring of pending follow-ups, sentiment tracking, and response approval workflows.

Demo & Source Code


Architecture

+-------------------------------------------------------------------+
|                        Ghost-Hunter Engine                        |
|                                                                   |
|  +--------------------+    +-------------------+    +----------+  |
|  | Event Triggers     | -> | Temporal Workflow | -> | Local    |  |
|  | (Tickets / Logs)   |    | Engine            |    | Gemma 3  |  |
|  +--------------------+    +-------------------+    +----------+  |
|                                                          |        |
|  +--------------------+    +-------------------+         v        |
|  | Follow-Up Action   | <- | Approval Queue    | <-------+        |
|  | (Email / Slack)    |    | & Sentinel UI     |                  |
|  +--------------------+    +-------------------+                  |
+-------------------------------------------------------------------+
Enter fullscreen mode Exit fullscreen mode
  1. Ingestion Layer: Captures incoming tickets, user inquiries, or log entries requiring trackable follow-ups.
  2. Temporal Engine: Schedules workflow timers and manages execution state across days, weeks, or months.
  3. Local LLM Processing: Queries Gemma 3 locally to summarize state, evaluate necessity of follow-up, and generate draft text.
  4. Action Queue: Places generated follow-ups in an operator review queue or dispatches automated alerts.

Key Capabilities

  • Automated Follow-Up Detection: Automatically classifies whether a user query requires follow-up action.
  • Context-Aware Response Generation: Contextual drafts synthesized using Gemma 3.
  • Resilient Scheduling: Built-in retry mechanisms and failure recovery via Temporal workflows.

Top comments (0)