File size: 1,769 Bytes
8015fc7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: Kernelmind Ai Os Lab
emoji: 🧪
colorFrom: indigo
colorTo: blue
sdk: static
app_file: index.html
pinned: false
---

# KernelMind AI OS + Model Machine

KernelMind is a trainable AI operating-system policy kernel. It maps user intent,
resource target, privilege state, network availability, confirmation, file
existence, and service state into a three-action structured plan. The compact
Transformer is trained from scratch on an exhaustive synthetic capability corpus.

The bundled Model Machine is an in-memory virtual computer. It applies an
independent deterministic capability gate before every action, so deletion,
installation, service restart, web access, and protected-file operations cannot
be authorized by model output alone. It never executes commands or touches the
host filesystem.

This is a real trained OS-action policy and runtime prototype, not a bootable
general-purpose operating-system kernel. That boundary is deliberate and tested.

## Verified local result

The 19,527-parameter Transformer reached 100% exact-plan and action-slot accuracy
on 192 held-out combinations after training on 1,536 scenarios. It made zero
unsafe proposals in that test set. A separate hostile-plan audit injected 576
unauthorized delete, install, and restart actions; the Model Machine capability
gate blocked all 576.

```bash
uv run python projects/kernelmind-ai-os/train.py
uv run pytest tests/test_kernelmind_ai_os.py
```

## Hosted showcase

This free static Space preserves the complete original Gradio source, trained artifacts, evaluation files, and local launch requirements. Hugging Face now requires PRO for CPU-backed Gradio hosting, so the public landing page is static while the checked-in `app.py` remains the authoritative runnable demo.