GEO INFER LOG

From ActiveInferenceInstitute/GEO-INFER · View interactive version

GEO INFER LOG is an AI agent skill from the GitHub repository ActiveInferenceInstitute/GEO-INFER. Logistics optimization including route planning, fleet management, delivery scheduling, and supply chain modeling. Use when optimizing delivery routes, managing fleets, analyzing supply chain resilience, or computing emissions from transportation.

How to use this skill

Skill file

GEO-INFER-LOG

Instructions

Core Capabilities

EOQ, Monte Carlo. Supply flow and facility selection share the exact in-process

solver; infeasible constraints raise ValueError and solver failures raise

RuntimeError without substituting a heuristic.

Key Imports

from geo_infer_log import LastMileRouter, DeliveryScheduler, ServiceAreaAnalyzer
from geo_infer_log import RouteOptimizer, FleetManager, VehicleRouter
from geo_infer_log import Vehicle, VehicleType, RoutingParameters, TravelTimeEstimator
from geo_infer_log import MultiObjectiveOptimizer, RealTimeTracker
from geo_infer_log import SupplyChainModel, FacilityLocator, InventoryManager
from geo_infer_log import EnhancedLogger, PerformanceMetrics

All logistics classes are lazy-loaded via __getattr__ — zero cost until accessed.

Examples

from geo_infer_log import FacilityLocator

locator = FacilityLocator()
candidates = [
    {"id": "FAC_A", "location": (2.3522, 48.8566)},
    {"id": "FAC_B", "location": (2.2945, 48.8584)},
]
demand_points = [
    {"id": "D1", "location": (2.30, 48.85), "demand": 40},
    {"id": "D2", "location": (2.31, 48.86), "demand": 25},
]
selected = locator.locate_facilities(
    candidates, demand_points, num_facilities=1, max_distance=50.0
)
coverage = locator.analyze_coverage(selected, demand_points, max_distance=50.0)

Network-free routing (no road network required — haversine nearest-neighbor):

from geo_infer_log import RouteOptimizer, FleetManager, Vehicle, VehicleType

fleet = FleetManager()
fleet.add_vehicle(Vehicle(
    id="VAN_001", type=VehicleType.VAN, capacity=500, max_range=200,
    speed=40, cost_per_km=0.8, emissions_per_km=0.25, location=(2.3522, 48.8566),
))
assignment = fleet.assign_delivery(
    "VAN_001",
    delivery_points=[(2.2945, 48.8584), (2.30, 48.85)],
    depot=(2.3522, 48.8566),
)
print(assignment["route"]["distance"])  # km

Agent interfaces

Use uv run --frozen geo-infer catalog LOG 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

in geo_infer_log.models.schemas (re-exported from core.routing)

persists across requests

Integrations

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.