File size: 2,975 Bytes
1ddfac5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
license: mit
pipeline_tag: robotics
tags:
- robotics
- robot-learning
- robot-world-model
- world-model
- lerobot
- so101
- earthrover
- exact-control
datasets:
- lerobot/community_dataset_v3
---

# LITOperator = Li Tsz-kai's Typeball Operator

LITOperator is an exact robot model and robot world model. A small C
operator turns an observation and an instruction into exact action, and
stores what actions do as one persistent causal tree.

The state is a 64-slot u64 key (camera hashes, proprio, instruction
hash); the action is one packed u64; the judge is one IF. Training,
self-bootstrapping and inference are open-set: one open step, one sampled
action, no nearest-neighbor estimate.

![Real LeRobot camera and MuJoCo SO-100](demo/lit_lerobot_sim.gif)

![LITOperator architecture](demo/LITOperator_architecture.png)

## Contract

- State: 64 u64 slots; cameras 8x8 hard hashes; instruction hash; raw
  IEEE proprio.
- Action: one packed u64; hard-quantized from the dataset min/max.
- Judge: one line of IF at the halt.
- Open set: one open step, one sampled action per decision.

## Training

Open-set ingestion over `lerobot/community_dataset_v3`, streamed over
HTTPS, never written to disk. Each observed edge is paired with one
sampled counterfactual action; the next state is the action target.

```sh
cd sandbox/lerobot_host
python3 lit_pretrain.py --minutes 0 \
    --datasets lerobot/community_dataset_v3 --community \
    --checkpoint-every 10 --out community_open
```

Resume from the safetensors checkpoint (add `--start-root <subdataset>`
to resume in the middle of the pass):

```sh
python3 lit_pretrain.py --minutes 0 \
    --datasets lerobot/community_dataset_v3 --community \
    --checkpoint-every 10 --out community_open \
    --resume community_open.safetensors
```

## Weights

- `weights/LITOperator-community_open_pretrain.safetensors` — the data
  pass: 635,998 nodes, 318,269 open.
- `weights/LITOperator-community_open_selfboot.safetensors` — three
  minutes of open-set self-bootstrap on top: 666,327 nodes (+30,329),
  same 318,269 open frontier.

Both snapshots are in this repository under `weights/` and on the Hub.
Load with `lit_search_load_safetensors` in C, or inspect with
`demo/tree_io.py`.

## Usage

Build the host library and run the one-step demo:

```sh
make lib
make demo
```

## Examples

- `lit_operator/` — the C cores and the open-loop world model
  (`lit_world.py`).
- `sandbox/lerobot_host/` — the LeRobot host.
- `sandbox/lit_robot.py` — the foolproof robot interface (`program()`).
- `demo/tree_io.py` — snapshot inspector.

## Safety

A research operator, not a certified controller. Enforce velocity, force,
workspace, and hardware-stop limits on the robot.

## License

MIT.

## Citation

```bibtex
@misc{litoperator2026,
  author = {Li, Zixi},
  title  = {LITOperator: the exact robot model and robot world model},
  year   = {2026},
  url    = {https://github.com/zixi-reasoning/lit-operator}
}
```