How luxaris/orion-and-diana-jachacks works
Orion detects suspected spills through two Jac-orchestrated workflows: V1 investigates a target with web and satellite evidence, while V2 adds spatial-grid and sensor/orbit consensus. Results become manifests and dashboard data; an API also supports investigation jobs and live status. Diana is a separate hunt workflow that reuses V2 SpatialSAR and exposes findings through that API. README documents the dashboard and model/classifier stages, but their source is not present in the supplied tree; those links reflect the documented architecture.
Main entry points: v1/watchdog.jac V1 watchdog · orion_api.py V2 API · v2/watchdog.jac V2 watchdog · spatial_search.py SpatialSAR search
Components 23
Spill investigation
- V1 watchdog
v1/watchdog.jac - V1 agent tools
v1/agent_tools.py - V2 watchdog
v2/watchdog.jac - V2 agent tools
v2/agent_tools.py
Satellite analysis
- V1 classifiers
v1/classify_image.py - V1 SAR tools
v1/sar_model_tools.py - V1 GEE tools
v1/gee_tools.py - SpatialSAR search
v2/spatial_search.py - V2 classifiers
v2/sar_model_tools.py - V2 GEE tools
v2/gee_tools.py
Results and dashboard
- V1 API
v1/orion_api.py - V1 exporter
v1/export_watchtower_data.py - V2 API
v2/orion_api.py - V2 exporter
v2/export_watchtower_data.py - Watchtower dashboard
earth-watchtower - Run manifests
- Anomaly data
Diana huntress
- Diana hunt walker
diana/diana_huntress.jac - Diana tools
diana/diana_tools.py
Other components
- Operator
- Web search
- LLM service
- Google Earth Engine
Connections 39
- Operator → V1 watchdog: starts run
- Operator → V2 watchdog: starts run
- V1 watchdog → V1 agent tools: calls tools
- V1 watchdog → V1 GEE tools: tasks imagery
- V1 watchdog → V1 classifiers: classifies imagery
- V1 watchdog → V1 SAR tools: analyzes SAR
- V1 agent tools → Web search: searches web
- V1 agent tools → LLM service: requests reasoning
- V1 GEE tools → Google Earth Engine: fetches imagery
- V1 watchdog → Run manifests: writes results
- Run manifests → V1 exporter: reads manifests
- V1 exporter → Anomaly data: writes dashboard data
- Operator → V1 API: requests investigation
- V1 API → V1 watchdog: launches run
- V1 API → Anomaly data: serves anomalies
- Operator → V2 watchdog: starts run
- V2 watchdog → V2 agent tools: calls tools
- V2 watchdog → SpatialSAR search: runs spatial scan
- SpatialSAR search → V2 classifiers: classifies chips
- SpatialSAR search → V2 GEE tools: fetches chips
- V2 GEE tools → Google Earth Engine: fetches imagery
- V2 agent tools → Web search: searches web
- V2 agent tools → LLM service: requests reasoning
- V2 watchdog → Run manifests: writes results
- Run manifests → V2 exporter: reads manifests
- V2 exporter → Anomaly data: writes dashboard data
- Operator → V2 API: requests investigation
- V2 API → V2 watchdog: launches run
- V2 API → Anomaly data: serves anomalies
- Watchtower dashboard → V1 API: polls anomalies
- Watchtower dashboard → V2 API: polls anomalies
- Anomaly data → Watchtower dashboard: provides anomaly data
- Operator → Diana hunt walker: starts hunt
- Diana hunt walker → Diana tools: calls helpers
- Diana hunt walker → SpatialSAR search: uses SpatialSAR
- Diana tools → LLM service: requests extraction
- V2 API → Diana hunt walker: launches Diana
- Diana tools → Anomaly data: records findings
- V2 API → Watchtower dashboard: serves Diana status