What is TerraGuard?
TerraGuard is a disaster event tracking and response coordination platform that combines real-time monitoring, AI-powered analysis, and automated alerting to keep humanitarian teams informed and ready to act.
Getting Started
New to TerraGuard AI? The User Guide is the best place to begin — a complete, screenshot-led walkthrough of every part of the platform, written for everyday users with no technical background required.
📘 Open the User Guide
Start here — a step-by-step tour of the whole platform, from the dashboard to admin settings.
Logging In & Navigation
Sign in, find your way around the sidebar, and understand the GREEN / ORANGE / RED alert levels.
The Dashboard
Read the live events map, AI summary, urgent-event counters, and latest-events feed.
Working with Events
Browse, filter, and open individual disaster events, and explore the detail tabs.
Overview
TerraGuard is a disaster event tracking and response coordination platform built for humanitarian organizations. It continuously monitors global data sources for natural disaster events — earthquakes, tropical cyclones, floods, volcanoes, droughts, and wildfires — and enriches them with AI-powered analysis, news discovery, and population exposure assessments.
The platform replaces manual monitoring workflows with an automated pipeline that ingests events from authoritative sources, correlates them with web intelligence, and delivers actionable alerts to response teams within minutes.
Key Features
Real-Time Event Monitoring
TerraGuard ingests disaster events from three authoritative data sources:
- GDACS (Global Disaster Alert and Coordination System) — All disaster types with alert levels
- USGS (United States Geological Survey) — Earthquake-specific data with precise measurements
- NHC (National Hurricane Center) — Tropical cyclone advisories and forecast tracks
Events are deduplicated, correlated across sources, and enriched with geospatial context automatically.
AI-Powered Analysis
Every event is processed through a multi-stage AI enrichment pipeline:
- News Discovery — Automated web searches find relevant news articles, situation reports, and official advisories
- Content Validation — LLM-based filtering ensures only genuinely relevant articles are indexed
- Knowledge Base — Crawled content is vectorized and stored for semantic retrieval
- AI Summaries — On-demand summaries synthesize all available information about an event
- RAG Chat — Ask questions about any event and get answers grounded in indexed knowledge
Population Exposure Assessment
The GeoPop service provides reverse geocoding and population analysis for every event:
- Affected population estimates within configurable radii
- Country and administrative region identification
- Land/sea detection for maritime events
- Exposure scoring that feeds into alert prioritization
Automated Notifications
Teams receive targeted alerts based on configurable matrices:
- Alert-level routing — RED, ORANGE, and GREEN events route to different teams
- Country configuration — Per-country deployment likelihood determines notification relevance
- Scheduled follow-ups — Automatic notifications at +2h, +12h, and +24h after event onset
- Multi-channel delivery — Email and Telegram with templated, information-rich messages
Comprehensive Reporting
An AI agent generates structured reports using a ReAct pattern with access to five MCP tool servers:
- Database search, vector search, document retrieval, geocoding, and web links
- 10-section reports covering situation overview, impact assessment, response recommendations, and more
- Rich text editing for manual refinement before distribution
Team & Organization Management
Multi-tenant architecture supports multiple organizations, each with:
- Teams and role-based access control
- Organization matrices defining event handling rules
- Country configurations with deployment likelihood settings
- Clerk-based authentication with Google sign-in
How It Works
- Ingest — The Event Processor polls data sources on a schedule and writes normalized events to PostgreSQL
- Enrich — The Backend API triggers Inngest jobs that search the web, crawl articles, validate content, and generate vector embeddings
- Analyze — AI agents score events, assess population exposure, and prepare knowledge bases
- Alert — Notification engine evaluates organization matrices and delivers targeted alerts
- Present — The frontend displays events on an interactive map with filtering, detail views, and AI tools
Technology Stack
| Layer | Technology |
|---|---|
| Frontend | Next.js 15, React 19, MapLibre GL, TanStack Query, Zustand |
| Backend API | Python, FastAPI, SQLModel, pydantic-ai |
| Event Processor | Go, pluggable source adapters |
| Search Layer | Backend API module, Serper.dev (primary) + Brave Search (fallback) |
| Web Crawler | Go + Python worker, crawl4ai, 4-level strategy chain |
| GeoPop | Rust, reverse geocoding, population grids |
| Database | PostgreSQL with PostGIS and pgVector extensions |
| Job Queue | Inngest (event-driven, Redis-backed) |
| AI Models | OpenAI GPT-4, Google Gemini |
| Auth | Clerk with Google OAuth |
Next Steps
- Architecture Overview — Understand how the services connect
- Quick Start — Get the platform running locally
- Dashboard Guide — Learn the main interface