GEO INFER EMERGENCY

From ActiveInferenceInstitute/GEO-INFER · View interactive version

GEO INFER EMERGENCY is an AI agent skill from the GitHub repository ActiveInferenceInstitute/GEO-INFER. Emergency management and disaster response. Use when planning search and rescue, optimizing emergency resource deployment, coordinating evacuation routes, building a common operating picture, or managing multi-agency response logistics.

How to use this skill

Skill file

GEO-INFER-EMERGENCY

Instructions

Core Capabilities

Key Imports

from geo_infer_emergency import (
    EmergencyCoordinator,
    ResourceDeployer,
    EvacuationPlanner,
    SituationalAwareness,
    SearchAndRescue,
)
from geo_infer_emergency.core.geo import haversine_distance_km

Examples

from geo_infer_emergency import SearchAndRescue, EvacuationPlanner

sar = SearchAndRescue()
mission = sar.plan_mission(
    subject={"id": "subject_1", "type": "hiker", "name": "Missing Hiker"},
    last_known_point={"lat": 45.5, "lon": -122.6},
    search_radius=5.0,
)
pattern = sar.generate_pattern(
    area={"center": {"lat": 45.5, "lon": -122.6}, "radius_km": 3.0},
    pattern_type="expanding_square",
)
print(pattern["waypoints"][0], pattern["estimated_distance_km"])

evac = EvacuationPlanner()
estimates = evac.estimate_clearance_time(
    evacuation_plan={"zone": {"population": 10000}, "routes": []},
    scenarios=["best_case", "expected", "worst_case"],
)
print(estimates["expected"]["clearance_hours"])

Verified smoke checks for the snippets above:

uv run --no-sync python -c "from geo_infer_emergency import EmergencyCoordinator, ResourceDeployer, EvacuationPlanner, SituationalAwareness, SearchAndRescue"
uv run --no-sync python -c "from geo_infer_emergency.core.geo import haversine_distance_km; print(round(haversine_distance_km({'lat': 45.5, 'lon': -122.6}, {'lat': 45.6, 'lon': -122.6}), 3))"
uv run --no-sync python examples/multi_hazard_assessment.py

Agent interfaces

Use uv run --frozen geo-infer catalog EMERGENCY to discover public source

APIs, then geo-infer describe before calling a selected target. Scripts use

geo_infer_api.agent_runtime.AgentSession; the optional stdio MCP server is

geo-infer-mcp. See requests, native objects and composition.

The adapter retains this module's dependencies and authorization requirements.

Guidelines

heuristic under a response-time constraint, not a true mixed-integer solver;

the default optimization_algorithm value is greedy_nearest_resource.

a node of the road_network NetworkX graph passed at construction.

({"best_case": {...}, "expected": {...}, ...}), not a wrapped report.

Integrations

no geo_infer_* imports exist in this module yet.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.