GEO INFER COG

From ActiveInferenceInstitute/GEO-INFER · View interactive version

GEO INFER COG is an AI agent skill from the GitHub repository ActiveInferenceInstitute/GEO-INFER. Human-centered geospatial cognitive modeling — spatial perception and attention, qualitative spatial reasoning, spatial memory, spatial language processing, cognitive maps, and human-centered decision support. Use when modeling how users perceive, reason about, remember, or decide about geographic s

How to use this skill

Skill file

GEO-INFER-COG

Instructions

Core Capabilities

Key Imports

from geo_infer_cog import (
    CognitiveProcessingEngine,
    SpatialPerceptionModel,
    SpatialReasoningEngine,
    SpatialMemoryModel,
    SpatialLanguageProcessor,
    SpatialDecisionSupport,
    CognitiveMap,
    SpatialKnowledgeGraph,
    UserCognitiveProfile,
    ProfileManager,
)

Examples

from geo_infer_cog import CognitiveProcessingEngine

engine = CognitiveProcessingEngine()  # deterministic by default (fixed-seed RNG)
result = engine.process_spatial_input(
    spatial_data={
        "type": "Feature",
        "geometry": {"type": "Point", "coordinates": [-122.4, 37.8]},
        "properties": {"name": "observation point"},
    },
    context={"task": "wayfinding"},
)
print(result["decision_result"]["decisions"])
from geo_infer_cog import CognitiveMap

cmap = CognitiveMap("city_map", spatial_bounds={"bbox": [-123, 37, -122, 38]})
cmap.add_landmark("pier", {"type": "Point", "coordinates": [0.0, 0.0]},
                  {"name": "Pier"}, saliency=0.9)
cmap.add_route("pier_to_museum", "pier", "museum", segments=[], properties={})
path = cmap.get_navigation_path("pier", "museum")

Agent interfaces

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

Test

uv run python GEO-INFER-TEST/run_unified_tests.py --module COG

Integrations

None: this module has no runtime imports of other GEO-INFER modules.

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.