Global Threat Map

Map global security events, conflicts, and military presence in one situational-awareness workspace.

Stars
★ 1.9k
Last updated
5mo ago
FARS reviewed
Nov 08, 2026
Primary language
TypeScript

At a glance

How it runs
Web appSelf-hosted service
Works with
Platform-specificOpenAI API (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.js 18+Mapbox account and API tokenValyu API keyOpenAI API key (optional)Shell / CLINetwork accessLocal filesystem
Typical use
An OSINT analyst monitoring conflicts, protests, natural disasters, and diplomatic events can filter a single map by category and threat severity.
Not a fit if
  • Teams unwilling to obtain a Mapbox token; the map will not render without one
  • Users needing instant answers; deep-research reports take 5-10 minutes to generate
Maintenance
Commits in the last 6 monthslast commit 2026-07-02+0.7 ★/day over 7 days

What does this agent do, and when should you use it?

Global Threat Map is a Next.js 16 situational-awareness application that presents conflicts, protests, disasters, and diplomatic developments through a dark Mapbox interface and real-time event feed. Users can filter events by category or threat level, inspect current and historical conflicts by country, and display US and NATO military bases. The application uses valyu-js for Valyu Search, Answer, and Deep Research, producing sourced conflict analysis, entity dossiers, CSV datasets, PowerPoint briefings, and PDF reports. Its server boundary includes API routes for events, entities, research tasks, reports, country conflicts, and military bases, while Zustand manages map state. It can run without user authentication in self-hosted mode or use Valyu OAuth with PKCE, although both deployment modes retain external mapping and intelligence-service dependencies.

The /api/events route retrieves global events through Valyu; lib/event-classifier.ts classifies them and lib/geocoding.ts extracts locations before components/map/threat-map.tsx and the event feed render the results. The map provides clustering, a density heatmap, navigation, eastward auto-pan, and threat-colored markers. Selecting a country opens country-conflicts-modal.tsx, backed by /api/countries/conflicts, with separate current and historical conflict views. /api/military-bases supplies US and NATO installation locations with a one-hour cache. Entity research uses /api/entities and plots known locations as purple markers. /api/deepresearch creates an asynchronous research task and /api/deepresearch/[taskId] polls its status and results, with outputs described as an approximately 50-page report, structured CSV, eight-slide PowerPoint briefing, and PDF. Alerts accept keywords and threat levels; geographic-region rules are marked as coming soon.

  1. An OSINT analyst monitoring conflicts, protests, natural disasters, and diplomatic events can filter a single map by category and threat severity.
  2. A security researcher preparing a briefing can investigate a nation, militia, PMC, cartel, or political figure and export a sourced dossier in report, CSV, PowerPoint, or PDF form.
  3. A geopolitical researcher can select a country to separate ongoing tensions and security threats from historical wars, participants, dates, and outcomes.
  4. A newsroom or risk team tracking breaking developments can create keyword and threat-level alerts, then jump from the event feed to mapped locations.
  5. A military-presence researcher can overlay named US bases and NATO installations and inspect their types and host countries.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Ports
3000
Environment variables
NEXT_PUBLIC_MAPBOX_TOKEN VALYU_API_KEY OPENAI_API_KEY
Config files
.env.local
Runtime
Node.js 18+

How do you install or deploy this agent?

Install Node.js 18+ and obtain a Mapbox account and token plus a Valyu API key. Clone the repository, enter its root directory, and run npm install. Create .env.local containing at least NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token_here, VALYU_API_KEY=your_valyu_api_key_here, and NEXT_PUBLIC_APP_MODE=self-hosted. Optionally add OPENAI_API_KEY=your_openai_api_key_here for AI-assisted location extraction. Run npm run dev, then open http://localhost:3000. A Railway deployment button is provided, but the source does not document the complete Railway configuration procedure.

How do you use this agent?

After startup, pan or zoom the map, select an event marker for its details, select a country for current and historical conflict tabs, or select a base for its name, type, and host country. The event feed can be filtered by Critical, High, Medium, Low, or Info threat levels and by categories such as Conflict, Protest, Disaster, and Diplomatic; keyword search can also fly the map to a matching event. The bottom-left play/pause control toggles automatic map movement. For an intelligence dossier, submit a nation, organization, or person and poll the asynchronous research task; generation is documented as taking 5–10 minutes, after which report, CSV, PowerPoint, and PDF deliverables are available. Valyu OAuth deployments additionally require the documented authorization URL, client credentials, application URL, and redirect URI.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Not found in source — apply before daily use
  • rollback or recovery path — Back up first, or work on a git branch or snapshot, so its changes can be undone.

What are this agent's strengths and limitations?

Pros
  • Combines a filterable event feed, country conflict records, entity locations, and US/NATO base overlays in one Mapbox interface with clustering and heatmaps.
  • Valyu Deep Research produces multiple usable deliverables—long-form analysis, structured CSV, an eight-slide briefing, and PDF—rather than only an on-screen answer.
  • Supports both a no-login self-hosted mode using the operator's API key and a Valyu OAuth 2.0 PKCE mode for authenticated users.
  • Documents concrete API boundaries for events, entities, research jobs, reports, country conflicts, and military-base data.
Limitations
  • Core intelligence retrieval and synthesis depend on Valyu Search, Answer, and Deep Research; changing providers would require new integration work.
  • Map rendering requires a Mapbox token, while enhanced location extraction adds an optional OpenAI API dependency, creating a multi-service deployment.
  • Deep-research generation takes 5–10 minutes and requires asynchronous polling, which does not suit workflows expecting immediate results.
  • Geographic-region alerts are explicitly marked as coming soon, so the documented alert scope is incomplete.
  • The supplied repository metadata lists the license as unknown while the README says MIT; adopters should verify the repository's actual license file.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Global Threat Map This agent 35 · Major gaps Web appFree + model costs ★ 1.9k 5mo ago TypeScript —
World Monitor 73 · Some gaps Web appFree + model costs ★ 91k today TypeScript —
Jev Social 88 · Good CLIFree + model costs ★ 226 25d ago JavaScript —
MiroThinker 45 · Major gaps CLIFree + model costs ★ 8.5k 8mo ago Python OpenAI API · Claude API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
35/ 100 5-point scale 1.8 / 5
Trust 10/29
Reliability 3/14
Adaptability 6/18
Convention 6/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust10 / 29 · 1.7/5

The README says Mapbox, Valyu, and optionally OpenAI credentials are configured, and describes self-hosted and OAuth modes, giving partial data-flow visibility. The sample does not show permission scopes, secret protection, confirmation controls, external-effect controls, or recovery, so these receive low scores and rollback receives 0. The README claims cited conflict information and exclusion of Wikipedia, while the type schema has source fields, supporting a score of 2 for attribution; actual citation quality and verification are not shown.

Reliability3 / 14 · 1.1/5

Zod schemas constrain events, threat levels, and locations, and the README lists API routes and a cache duration, showing basic structure. However, the README says Node 18+ while package.json requires Node >=22.13.0; package.json declares pnpm while installation instructions use npm. The sample shows no dependency availability safeguards and no failure-message handling, so those scores remain low.

Adaptability6 / 18 · 1.7/5

The README targets OSINT researchers and intelligence professionals and describes mapping, filtering, country-conflict, military-base, and dossier use cases. Capability boundaries, information limitations, and precise triggers are not clearly defined; geographic alerts are explicitly marked as coming soon. Local setup and environment variables are documented, but conflicting runtime requirements limit environment fit.

Convention6 / 18 · 1.7/5

The README provides a project tree, installation steps, configuration example, usage guidance, and API route table, supporting information architecture and install notes. Examples and FAQ coverage are limited, and known limitations are only mentioned in passing. The README says MIT while package.json says ISC. A package version exists, but no changelog or maintenance owner appears in the sample; the author field is empty and publisher identity is unknown.

Effectiveness7 / 13 · 2.7/5

The described interactive map, filters, country-conflict views, and exportable dossiers could support research and briefings. The evidence is primarily README claims; dossier generation takes 5–10 minutes and depends on external services and API keys, while ordinary-use cost and benefit are not explained.

Verifiability3 / 8 · 1.9/5

The README lists API endpoints and some data fields, and the type schema includes source and sourceUrl, providing basic traceability. The sample has no data examples, concrete citations, or independent source comparisons, so corroboration is weak. The README claims AI synthesis with citations but does not show how facts are separated from inference, meriting only partial credit.

Risks and how to mitigate them
  • Not found in source: rollback or recovery pathBack up first, or work on a git branch or snapshot, so its changes can be undone.
  • Runtime setup requirements conflict: the README says Node 18+, while package.json requires Node >=22.13.0; installation uses npm while the declared package manager is pnpm.
  • License metadata conflicts: the README says MIT and package.json says ISC; confirm the intended license before adoption.
  • Real-time intelligence, AI analysis, and dossier capabilities are described in the sample, but no actual outputs or citation examples are provided for review.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 0fa056e6e2d7
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/globalthreatmap.svg)](https://followagents.com/en/agents/globalthreatmap)
<a href="https://followagents.com/en/agents/globalthreatmap"><img src="https://followagents.com/badge/globalthreatmap.svg" alt="FARS review"></a>

FAQ

Does self-hosted mode require users to sign in?
No. NEXT_PUBLIC_APP_MODE=self-hosted is the default, hides the sign-in panel, and exposes all features to users. Valyu API usage is billed to the operator's account.
Which credentials are mandatory?
A Mapbox token and Valyu API key are required. An OpenAI API key is optional and improves location extraction. Valyu OAuth mode additionally needs its client ID, client secret, authorization URL, application URL, and redirect URI.
What can an unauthenticated user access in Valyu mode?
The map, event feed, and military bases remain free. Country conflicts allow two free lookups, while entity search is blocked. After the free allowance is exhausted, the application prompts the user to authenticate.
How are unfinished or failed deep-research tasks handled?
The application creates an asynchronous task through /api/deepresearch and polls /api/deepresearch/[taskId] for status and results. The source gives a typical duration of 5–10 minutes but does not document retry, timeout, or recovery behavior.
Are military-base locations fetched afresh on every view?
No. The /api/military-bases route uses a one-hour cache, and the map loads the base data automatically during initialization.
Was this page helpful?
View on GitHub ↗ Install ↓

Related concepts