IEE is a native C++ system runtime that converts live OS/application state into a deterministic, queryable, and executable intent layer.
It is built as an execution substrate and control plane, not a UI product.
Conventional automation stacks fail under ambiguity, stale state, weak observability, and execution drift. IEE addresses this with:
- deterministic intent resolution and execution
- bounded fallback and recovery behavior
- explicit policy and safety controls
- verifiable execution contracts
- telemetry-first runtime diagnostics
This repository includes:
- IEE v1.x to v2.x foundations (observer, capability graph, interaction graph, action interface, policy, workflows)
- IEE v3.0 (Phase 13.5): Universal Reflex Engine (URE)
- IEE v3.1 (Phase 14): continuous URE integration into the control runtime loop
- IEE v3.2.1 (Phase 15): fluid multi-intent continuous coordination and persistence
- Multi-intent reflex coordination
- Added specialist reflex bundles (movement, aim, interaction, strategy).
- Added MicroPlanner and ActionCoordinator to refine and fuse coordinated outputs.
- Continuous control smoothing
- Added continuous vector output model for move/aim/look/fire/interact.
- Added ContinuousController smoothing before intent dispatch.
- Attention and prediction diagnostics
- Added runtime attention maps and short-horizon predictions.
- Added API routes:
GET /ure/bundles,GET /ure/attention,GET /ure/prediction.
- Richer goal schema and persistence
- Added robust goal payload parser support for arrays and bool fields.
- Added disk-backed persistence for goal, experience, and skills.
- CLI diagnostics expansion
- Added
iee ure debug --bundles. - Added
iee ure debug --continuous. - Realtime demo JSON mode now captures per-sample
POST /ure/demopayloads.
- Continuous real-time reflex loop
- Added a continuous URE decision provider integrated with
ControlRuntime. - URE now evaluates synchronized environment frames continuously while runtime is active.
- Runtime control endpoints
- Added continuous URE control routes:
-
POST /ure/start-POST /ure/stop-GET /ure/status-POST /ure/goal-GET /ure/goal
- Goal-conditioned reflex behavior
- Added
ReflexGoalmodel and goal-aware policy decisioning. - Reflex priority and chosen actions can be conditioned by active goal + preferred actions.
- Priority-aware non-blocking action pipeline
- Added queue-priority hints from URE decision provider into control runtime intent scheduling.
- Reflex actions are still executed through existing execution contracts and policy gates.
- Real-time feedback adaptation
- Added runtime execution observer callback integration.
- Reflex experience memory is updated from actual action outcomes in continuous mode.
- Telemetry merge
- Added reflex telemetry stream and merged reflex summary into main telemetry snapshot.
- Added
GET /telemetry/reflexroute.
- CLI runtime control
- Added CLI command group:
-
iee ure live-iee ure debug-iee ure demo realtime
- Universal feature extraction
- Added structural feature extraction from UIG, ScreenState, and cursor motion.
- Feature types include:
interactive_object,dynamic_object,control_surface,target,obstacle,resource,navigation_element,text_region.
- Real-time world model
- Added per-frame world model building with temporal consistency.
- Object and relationship tracking includes: proximity, overlap, hierarchy, and motion.
- Affordance inference
- Added deterministic type-to-affordance mapping without app-specific logic.
- Affordances are generated as reusable action primitives.
- Meta-policy reflex decisions
- Added priority-based universal policy rules:
- threat -> reduce risk
- target -> move toward
- resource -> acquire
- obstacle -> avoid
- unknown -> explore
- Bounded exploration and experience memory
- Added safe exploration proposals for unknown states.
- Added reward-based experience memory and failure-bias adaptation to avoid repeated mistakes.
- Reflex API integration
- Added URE routes:
GET /ure/world-modelGET /ure/affordancesGET /ure/decisionGET /ure/metricsGET /ure/experiencePOST /ure/stepPOST /ure/demo
- Safety and policy integration
- Reflex execution obeys
PermissionPolicyStore. - Exploration is gated by policy, deterministic, and bounded.
- Performance model
- Reflex step tracks microsecond decision/loop timing.
- Metrics expose average and p95 decision time.
EnvironmentState (ScreenState + UIG)
|
v
UniversalFeatureExtractor
|
v
WorldModelBuilder
|
v
AffordanceEngine
|
v
MetaPolicyEngine
|
v
UniversalReflexAgent + UreDecisionProvider
|
+--> ControlRuntime queue (priority-aware)
| |
| +--> ExecutionEngine -> Action adapters
| +--> Execution observer -> Reflex outcome update
|
+--> (optional step execute) ActionExecutor -> /act contract
|
+--> ExplorationEngine + ExperienceMemory
|
+--> Reflex telemetry + API surfaces
core/
action/
accessibility/
capability/
event/
execution/
intent/
interaction/
observer/
platform/
reflex/
telemetry/
interface/
api/
cli/
sdk/
docs/
tests/
cmake -S . -B build
cmake --build build --config Release
ctest --test-dir build -C Release --output-on-failure# core runtime commands
./build/Release/iee.exe list-intents
./build/Release/iee.exe state/ai --pure-json
./build/Release/iee.exe act "open command palette" --json
# telemetry and contracts
./build/Release/iee.exe telemetry --json
./build/Release/iee.exe perf --json --strict
./build/Release/iee.exe vision --json --limit 300
# run local API
./build/Release/iee.exe api --port 8787
# continuous URE runtime
./build/Release/iee.exe ure live --samples 20 --interval_ms 120
./build/Release/iee.exe ure debug --bundles --continuous --json
./build/Release/iee.exe ure demo realtime --goal "stabilize active interaction target"./build/Release/iee.exe api --port 8787Key routes:
GET /healthGET /state/aiPOST /actPOST /task/planPOST /task/semanticGET /interaction-graphGET /trace/{trace_id}GET /policyPOST /policyGET /perfGET /perf/percentilesGET /perf/frame-consistencyGET /ure/world-modelGET /ure/affordancesGET /ure/decisionGET /ure/metricsGET /ure/experienceGET /ure/statusGET /ure/goalGET /ure/bundlesGET /ure/attentionGET /ure/predictionGET /telemetry/reflexPOST /ure/stepPOST /ure/demoPOST /ure/startPOST /ure/stopPOST /ure/goal
{
"execute": "true",
"decision_budget_us": "1000"
}POST /ure/step returns world model, affordances, reflex decision, timing, and optional action execution result.
Primary docs:
- docs/architecture.md
- docs/status.md
- docs/parity.md
- docs/issues_and_errors.md
- docs/context_handoff.md
- docs/universal_reflex_engine.md
- docs/affordance_model.md
- docs/world_model_spec.md
- docs/reflex_runtime.md
- docs/continuous_control.md
- docs/reflex_coordination.md
See LICENSE.