Skip to main content

Crate cortex_runtime

Crate cortex_runtime 

Source
Expand description

Cortex runtime library — rapid web cartographer for AI agents.

This library crate exposes the core modules for integration testing.

Modules§

acquisition
Layered HTTP-based acquisition engine.
audit
Audit logging — JSONL event log and optional remote sync.
cartography
Cartography engine: sitemap parsing, structured data extraction, feature encoding, and map assembly.
cli
CLI subcommand implementations for the Cortex binary.
collective
Collective Web Graph — local registry and remote sync for sharing maps.
compiler
Web Compiler — transforms SiteMaps into typed APIs with auto-generated clients.
events
Cortex Event Bus — typed events from every component.
extraction
Extraction script loading and execution.
intelligence
Intelligence layer — caching, progressive refinement, cross-site queries.
live
Live interaction handlers — perceive, refresh, act, watch, sessions.
map
SiteMap data structures, serialization, and query operations.
navigation
Navigation engine: query, pathfinding, similarity search, and clustering.
pool
Browser context pool management.
progress
Progress event types and broadcast channel for real-time mapping telemetry.
protocol
Protocol message parsing and formatting for the Cortex socket protocol.
renderer
Renderer abstraction for browser-based page rendering.
rest
HTTP REST API for Cortex.
server
Unix domain socket server for the Cortex protocol.
stealth
Stealth measures for browser automation.
temporal
Temporal Intelligence — history, pattern detection, prediction, and alerts.
trust
Trust and safety — credential vault, PII detection, input sanitization.
wql
WQL — Web Query Language for the compiled web.