Building RailPulse AI: Deploying an Open-Source Railway Dispatch Agent with Gemma and Google Cloud Run
Repository · https://github.com/robinamirbahar/railpulse-gemma-cloudrun
Author: Robina Mirbahar AI/ML Google Developer Expert (GDE) | Google Cloud Champion Innovator GitHub...
First seen by Oriel on .
AI summary
RailPulse AI is a hands-on railway dispatch and tracking agent combining Gemma and Google ADK with deterministic safety controls, a trilingual Streamlit dashboard, and scale-to-zero Cloud Run deployment.
- Google ADK function calling connects Gemma to tools providing train positions, speeds, delays, corridor signals, crosswinds, siding availability, and schedule recovery calculations.
- Deterministic guardrails clamp approved speed to 80 km/h when crosswinds exceed 65 km/h and divert trains when primary blocks are OCCUPIED or under MAINTENANCE.
- Strict Pydantic v2 RailDispatchAdvisory schemas validate structured JSON before recommendations reach telemetry displays, station announcements, or operational timelines.
- The EN, AZ, and RU dashboard includes an OpenStreetMap and Leaflet transit map, corridor simulator, station timeline, fleet telemetry, assistant, announcements, and audit logs.
- The 45-minute workshop covers Cloud Shell setup, telemetry tools, pytest verification, Streamlit operation, containerization, and Google Cloud Run deployment with zero minimum instances.
#gemma #google adk #cloud run #ai agents
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Reactions
Total public reactions reported by the source; distinct from points and likes.
- DEV Community: 32, latest observation ; +13 over observed period since
Comments
Comment count reported by the source.
- DEV Community: 32, latest observation ; +25 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| DEV Community | 4992435 | https://github.com/RobinaMirbahar/railpulse-gemma-cloudrun Read discussion |