Ambitwin · source-available, not open source · © 2026 Nicolò Ghignatti
Welcome to the Ambitwin Developer Guide. Ambitwin is a real-time crowd monitoring platform built on a digital twin: it streams live IoT sensor data into a 3D model of each building, for the people who manage those facilities.
Every service owns one bounded context and its own database. Services talk through their APIs and broker events, so telemetry, the twin and alerts can each change on their own.
Ambitwin
Each bounded context runs on its own and exchanges events with the others.
Telemetry Ingestion
Takes one batch per building tick, checks thresholds and publishes raw readings.
Rust + Kafka
Digital Twin
Holds the spatial model of each building and estimates Wi-Fi device positions.
Rust + MongoDB
Alerting
Consumes threshold breaches, dedupes them on a cooldown and delivers Web Push.
Rust + Redis
Identity & Tenancy
Exchanges Keycloak tokens, mints the internal JWT and evaluates access policy.
Go + Cedar
Ready to start building?
Set up the stack, then explore the APIs: Setting up the environment · OpenAPI spec