Embeddable API · R1 preview

Marine intelligence, one POST away.

Send a plain-language marine question; receive a typed, statically validated geoprocessing DAG with the datum and CRS fixes already inserted. Drop it into port, utility and agency systems.

Try it live

POST/api/v1/plan

Request

curl -X POST https://<host>/api/v1/plan \
  -H "content-type: application/json" \
  -d '{"query": "Which vessels loitered inside the MPA for more than 2 hours last month?"}'

Supported intents (R1)

surgeCoastal storm-surge & sea-level-rise exposure
sitingOffshore wind / marine ranching site selection
loiteringVessel loitering inside marine protected areas
portBerth utilisation & anchorage congestion
darkDark-vessel (AIS gap) detection

Response

{
  "ok": true,
  "intent": { "kind": "loitering", "params": { "minHours": 2, "days": 30 }, "language": "en",
              "predicates": ["WITHIN(vessel, mpa)", "DWELL(> 2 h)", "SOG(< 2 kn)"] },
  "plan": { "nodes": [
    { "id": "n1", "op": "load", "label": "AIS archive (30 d)", "meta": { "crs": "WGS84" } },
    { "id": "n1r", "op": "reproject", "inserted": true, "args": { "to": "CGCS2000" } },
    { "id": "n3", "op": "segment", "inputs": ["n1r"] }, ...
  ] },
  "checks": [ { "label": "Horizontal CRS", "status": "fixed", "detail": "WGS84 → CGCS2000 inserted" }, ... ],
  "planningMs": 3
}

Operator library — 12 R1 primitives

The LLM may only compose these. Each one is deterministic, typed and declares its CRS and vertical-datum requirements to the validator.

load()
Resolve a connector into the 4D data fabric with CRS, datum and epoch metadata
reproject()
Transform horizontal coordinates to the analysis CRS (CGCS2000 / EPSG:4490)
harmonize_datum()
Shift heights between vertical datums using the tide/geoid model
surge_model()DATUM
Return-period total water level from extreme-value tables + gauge calibration
inundate()DATUM
Hydraulically-connected inundation over terrain & bathymetry
intersect()CRS
Overlay vector features with a raster or polygon layer
segment_stops()
Stop/move & gap segmentation of AIS trajectories
within()CRS
Point-/track-in-polygon containment with dwell accounting
h3_aggregate()CRSDATUM
Aggregate rasters, tracks and fields to an H3 hexagonal index
mcda()
Weighted multi-criteria decision analysis with hard exclusions
cluster()
Group contiguous suitable cells into candidate sites
rank()
Score, rank and attach uncertainty to the result set

Engineering targets

Roadmap targets from our R1–R3 plan — stated as targets, not measured results.

Planning accuracy (240-task marine benchmark)85% (R1) → 92% (R3)
End-to-end latency, bay scalesub-second p95 (R2)
Datum / CRS errors reaching execution0 — blocked by static validation
Results without lineage0 — every answer carries provenance