02 · Architecture
Technical blueprint
Lightweight modular Vision-Language-Action stack. Key principle: modularity + persistent world state. Components are specialized, loosely coupled, and communicate primarily through the World Model.
High-level data flow
User Instruction → Language Reasoner → Task Planner → World Model Vision Encoder + Sensors → Scene Encoder → World Model World Model + Subtask → Action Policy → Motion Controller → Robot Sensors + Vision feedback → World Model
Modules
schemasWorld / task / action modelsvision · scene · worldPerceive + persistent statelanguage · plannerIntent + subtaskspolicy · control · robotsAct + safety + adaptersloop · factoryWire + runui · demos · benchCLI + demos + benchmarksDesign principles
- 01World Model is the integration bus
- 02Language never emits joint commands
- 03Safety lives in the motion controller
- 04LLM / planner run on events, not every tick
Core components
Vision Encoder
kinetic.vision
Compact visual features from RGB (optional depth). Default: MockVisionEncoder (block pooling + change detection). Production targets: FastViT, MobileViT, EfficientViT, DINOv2/v3 Tiny, SigLIP.
Scene Encoder
kinetic.scene
Structured symbolic scene — detections, 6D poses, attributes, scene graph edges — not raw tokens for the LLM. Default: MockSceneEncoder + rule-based build_scene_graph.
World Model
kinetic.world
Central persistent memory: objects, robot proprioception, scene graph, task progress, short/long-term memory. Event-driven, delta-aware updates; optional SQLite persistence; compact summary_for_llm().
Language Reasoner
kinetic.language
Pure intent — no action generation. Input: user command + world summary → GoalSpec. Default RuleBasedReasoner; BitNetReasoner via bitnet.cpp; optional HttpLLMReasoner. Event-only — never inside the control cycle.
Task Planner
kinetic.planner
Hierarchical decomposition: Goal → ordered Subtask list with pre/postconditions. Default HierarchicalPlanner (fetch / place / navigate templates).
Action Policy
kinetic.policy
World state + current subtask → ActionCommand (EE pose, joints, gripper, stop). Default HeuristicPolicy; production path: Diffusion Policy / small transformer / BC.
Motion Controller
kinetic.control
Safety filter, rate limits, joint clamps, pseudo-IK trajectory. Production: MoveIt / full IK, collision checking, force limits.
Robot Adapter
kinetic.robots
Generic trajectory → robot API. Default MockSimRobot; adapters for ROS2, Franka, UR5 and more via robots.base.RobotAdapter.
Event-driven loop kinetic.loop
Efficiency: planner/LLM not every frame; only changed objects matter.
- 01New instruction or sensor tick
- 02Vision → Scene → World Model (delta)
- 03If task-relevant: Reasoner + Planner
- 04Policy selects primitive
- 05Controller → Robot
- 06Feedback → World Model
- 07Repeat
System diagram
User Instruction
│
▼
Language Reasoner
│ Goal
▼
Task Planner
│ Subtasks
▼
┌────────────── World Model ◄──────── feedback ──────────┐
│ │ │
│ Vision + Scene Encoder │
│ │ │
│ Action Policy │
│ │ │
│ Motion Controller │
│ │ │
└──────────────────► Robot ────────────────────────────────┘This page is the architecture reference for Kinetic on the DifrasAI site.