The Universal Reflex Engine is IEE v3.0's real-time, structure-driven intelligence layer.
URE operates without per-step LLM calls and without heavy training loops in core runtime.
observe -> extract -> model -> afford -> decide -> (optional) act
type: domain-agnostic classificationbbox: spatial footprintactionable: execution candidate flagdynamic: temporal movement flagsalience: relative importance score
- tracked
objects relationships(proximity, overlap, motion, hierarchy)- frame signature + change count
- object-to-actions mapping
- deterministic action primitives
- selected object + action + reason + priority
- executable flag
- exploratory flag
- compact world-state summary
- executed decision
- reward
- timestamp
URE does not bypass core execution contracts.
- Optional execution path goes through
ActionExecutor. - Policy gate (
PermissionPolicyStore) is checked before execution. - Exploration remains bounded and policy-aware.
GET /ure/world-modelGET /ure/affordancesGET /ure/decisionGET /ure/metricsGET /ure/experiencePOST /ure/stepPOST /ure/demo
Per step:
decision_time_usloop_time_usdecision_within_budget
Aggregates:
- average decision ms
- p95 decision ms
- average loop ms
- over-budget count
- exploratory decision count
URE adapts through interaction outcomes, not offline training.
- successes reduce local failure bias
- failures increase local failure bias
- affordance confidence is adjusted by outcome
This keeps adaptation fast, bounded, and deterministic.