GEO INFER NORMS

From ActiveInferenceInstitute/GEO-INFER · View interactive version

GEO INFER NORMS is an AI agent skill from the GitHub repository ActiveInferenceInstitute/GEO-INFER. Normative inference and compliance tracking for geospatial governance. Use when evaluating spatial policy compliance, tracking governance metrics, computing normative content influence (Jaccard similarity), or managing multi-criteria regulatory frameworks.

How to use this skill

Skill file

GEO-INFER-NORMS

Instructions

Core Capabilities

Key Imports

from geo_infer_norms.core.compliance_tracking import ComplianceTracker
from geo_infer_norms.core.normative_inference import NormativeInference
from geo_infer_norms.models.compliance_status import ComplianceMetric
from geo_infer_norms.models.legal_entity import LegalEntity
from geo_infer_norms.models.regulation import Regulation

Examples

import datetime
from geo_infer_norms.core.compliance_tracking import ComplianceTracker
from geo_infer_norms.models.compliance_status import ComplianceMetric
from geo_infer_norms.models.legal_entity import LegalEntity
from geo_infer_norms.models.regulation import Regulation

metric = ComplianceMetric.create(
    name="air_quality",
    description="PM2.5 threshold",
    regulation_id="reg-air",
    evaluation_type="threshold",
    primary_field="pm25",
    threshold_value=35,
    comparison="less_than",
)
tracker = ComplianceTracker("environmental", compliance_metrics=[metric])
entity = LegalEntity("facility-1", "Facility 1", "facility")
regulation = Regulation(
    "reg-air",
    "Air Quality",
    "PM2.5 limit",
    "environmental",
    "County",
    datetime.date(2026, 1, 1),
)
status = tracker.evaluate_compliance(entity, regulation, {"pm25": 28})
print(f"Overall compliance: {status.compliance_level:.1%}")

Agent interfaces

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

API Layer

The geo_infer_norms.api package exposes five importable FastAPI routers

(compliance, legal, normative, policy, zoning). The module ships no app

assembly; mount the routers into your own FastAPI application:

from fastapi import FastAPI

from geo_infer_norms.api import ComplianceAPI, LegalAPI, NormativeAPI, PolicyAPI, ZoningAPI

app = FastAPI()
for api_cls in (ComplianceAPI, LegalAPI, NormativeAPI, PolicyAPI, ZoningAPI):
    app.include_router(api_cls().router)

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.