Home
How It Works

How It Works

AGMT is designed around one principle: your data never leaves your computer.

Local-First Architecture

Everything runs inside your browser. There is no backend server, no database, no account required.

What Runs Where?

WhatWhere It RunsTechnology
Map renderingYour browserLeaflet + OpenStreetMap tiles
Shape drawingYour browserLeaflet Draw
Street lookupsYour browser → Overpass APIFetch API
Address countsYour browserDuckDB-Wasm
Team managementYour browserLocalStorage
Data analysisYour browserDuckDB-Wasm

What Does Go Over the Network?

Only two things leave your browser:

  • Map Tiles — background imagery from OpenStreetMap
  • Street Queries — boundary coordinates sent to Overpass API
🔒

The Overpass API only receives boundary coordinates — never your labels, teams, colours, or any project metadata.

The Local Data Engine (Advanced Data Analysis)

AGMT uses DuckDB-Wasm — a lightweight, in-browser version of the DuckDB database — to power all data analysis features.

What It Powers

  • Address counts — instant totals per street, per team

  • Data aggregation — cross-shape and cross-team statistics

  • Leicester precision — building-level accuracy using OS Open UPRN

No data is sent to a remote database. DuckDB processes everything on your own device. Learn more about how AGMT counts addresses in this deep dive →.

Regional Accuracy

RegionData SourceAccuracyHow
Leicester CityOSM + OS Open UPRNBuilding-levelDuckDB matches addresses locally
All other locationsOpenStreetMapStreet-levelOverpass API query

For tips on what to do if the browser runs out of memory, see Troubleshooting.