Union Command v10 · Test guide

Say it in English or Hinglish. Get a function call your agent can run.

Union Command v10 is a small offline model that turns one spoken or typed command into a structured action with typed arguments, for laptops and Raspberry Pi. This page shows what it does, how to download and test it, and how it scored.

Download code (ZIP) GitHub repository Hugging Face model README
94.87%exact match, held-out test (24,498 commands)
5.9 msper command, laptop i7-1360P, 2 threads
40 msper command, Raspberry Pi 5, 2 threads
92.6% / 95.4%exact match ENGLISH / HINGLISH, held-out test
371actions in 17 categories
96.2 MBFP32 model, CPU only, offline
The executor is sample testing only, not fully developed. The model parses; the included executor exists so you can watch a parsed command become a real action. It refuses every critical action by default. Use a test machine and read each plan before you run it.

How it fits in an agent

Voice or text→Speech-to-text (optional)→Union Command v10→Validator + risk gate→Executor (tool call)

It covers 371 actions across 17 categories. Every prediction includes a confidence score, the top-3 alternatives and schema validation errors, so an agent can execute, ask the user (clarify) or hand the text to a larger LLM (unknown or low confidence).

{"action": "set_timer", "args": {"amount": 5, "unit": "min"}, "confidence": 0.9998,
 "alternatives": [...], "validation_errors": [], "latency_ms": 6.1}

Uses, with examples in ENGLISH and HINGLISH

Offline voice assistant for a laptop or home

ENGLISH “set the volume to 40”

set_volume {"value": 40}

HINGLISH “volume 40 kar do”

set_volume {"value": 40}

Raspberry Pi GPIO / I2C by voice or chat

ENGLISH “read the value of physical pin 11”

gpio_read {"numbering": "board", "pin": 11}

HINGLISH “physical pin 11 ki value padho”

gpio_read {"numbering": "board", "pin": 11}

Device diagnostics chat-ops

ENGLISH “what is the pi temperature”

get_temperature {}

HINGLISH “pi ka temperature batao”

get_temperature {}

Cheap first-stage router for an LLM agent

ENGLISH “list docker containers”

docker_list {}

HINGLISH “docker containers list karo”

docker_list {}

Hands-free desktop and accessibility

ENGLISH “open notepad”

open_app {"app": "notepad"}

HINGLISH “notepad kholo”

open_app {"app": "notepad"}

Edge DevOps

ENGLISH “restart the nginx service”

service_restart {"service": "nginx"}

HINGLISH “nginx service restart karo”

service_restart {"service": "nginx"}

Credentials copied verbatim

ENGLISH “connect to wifi Redmi Note 12 password hello@123”

connect_wifi {"password": "hello@123", "ssid": "Redmi Note 12"}

HINGLISH “Redmi Note 12 wifi se connect karo password hello@123”

connect_wifi {"password": "hello@123", "ssid": "Redmi Note 12"}

Negated requests

ENGLISH “don't shut down the laptop”

cancel_shutdown {}

HINGLISH “shutdown mat karo”

cancel_shutdown {}

Categories, sample commands, outputs and executor tools

One intent per category: all ENGLISH commands first, then the same commands in HINGLISH. Model output is the real v10 prediction. Executor tool is what the sample executor would run on each platform; the bracket shows whether that adapter was ready on the test machine. Result appears only for read-only commands that were actually executed.

CategoryLanguageSample commandModel outputExecutor tool: Windows 11Executor tool: Raspberry Pi 5Default gateResult
Audio & mediaENGLISHset the volume to 40set_volume {"value": 40}Python adapter executors/windows.py: Set master volume to an exact percent [needs pycaw]Python adapter executors/common.py: Set master volume to an exact percent [needs pactl]allowedplan only (not executed in this demo)
Display & appearanceENGLISHlower the brightness a littlebrightness_down {}PowerShell: $b=Get-CimInstance -Namespace root/WMI -ClassName WmiMonitorBrightness… [ready]Python adapter executors/common.py: Decrease brightness (default step 10) [needs brightnessctl]allowedplan only (not executed in this demo)
Network & connectivityENGLISHhow strong is the wifi signalget_wifi_signal {}netsh.exe wlan show interfaces [ready]nmcli device wifi list [ready]allowedWindows: completed (output not published: local device details); Pi: completed (output not published: local device details)
GPIO & I2CENGLISHset gpio 17 highgpio_on {"pin": 17}Python adapter executors/common.py: Set a GPIO pin HIGH (e.g. relay / LED on) [Pi only]pinctrl set 17 op dh [ready]blockedblocked by default gate
Hardware & Raspberry PiENGLISHwhat is the pi temperatureget_temperature {}PowerShell: $t=Get-CimInstance -Namespace root/wmi -ClassName MSAcpi_ThermalZoneTe… [ready]vcgencmd measure_temp [ready]allowedWindows: failed: needs administrator rights; Pi: temp=43.9'C
Files & storageENGLISHcreate file "notes/todo.txt"create_file {"path": "notes/todo.txt"}Python adapter tinyagent/executor.py: Create a new empty file; existing files are never overwritt… [ready]Python adapter tinyagent/executor.py: Create a new empty file; existing files are never overwritt… [ready]allowedplan only (not executed in this demo)
Apps & windowsENGLISHopen notepadopen_app {"app": "notepad"}Python adapter executors/desktop.py: Open / launch an application [needs pywinauto]Python adapter executors/desktop.py: Open / launch an application [ready]allowedplan only (not executed in this demo)
Browser & webENGLISHsearch youtube for lofi musicyoutube_search {"query": "lofi music"}Python adapter executors/desktop.py: Search / play something on YouTube [ready]Python adapter executors/desktop.py: Search / play something on YouTube [ready]allowedplan only (not executed in this demo)
Keyboard & clipboardENGLISHselect allselect_all {}Python adapter executors/desktop.py: Send ctrl+a to the selected target window [needs pywinauto]Python adapter executors/desktop.py: Send ctrl+a to the selected target window [needs wmctrl]allowedplan only (not executed in this demo)
Timers & productivityENGLISHset a timer for 5 minutesset_timer {"amount": 5, "unit": "min"}Python adapter tinyagent/executor.py: Start a timer in this local server process [ready]Python adapter tinyagent/executor.py: Start a timer in this local server process [ready]allowedplan only (not executed in this demo)
Security & accountsENGLISHshow the firewall statusfirewall_status {}PowerShell: Get-NetFirewallProfile | Select-Object Name,Enabled | ConvertTo-Json [ready]Python adapter executors/common.py: show firewall status [needs ufw]allowedWindows: completed (output not published: local device details)
Services & processesENGLISHshow the status of the ssh serviceservice_status {"service": "ssh"}PowerShell: Get-Service -Name $a.service | Select-Object Name,Status,DisplayName |… [ready]systemctl status --no-pager -- ssh [ready]allowedWindows: failed: no such service on this OS
Software & developmentENGLISHlist docker containersdocker_list {}docker.EXE ps -a [ready]docker ps -a [ready]allowedWindows: completed (output not published: local device details); Pi: completed (output not published: local device details)
AI & modelsENGLISHwhich models are available in ollamalist_llm_models {}ollama.EXE list [ready]ollama list [ready]allowedWindows: completed (output not published: local device details); Pi: completed (output not published: local device details)
Terminal & sessionsENGLISHshow tmux sessionslist_sessions {}Python adapter executors/common.py: List sessions [Pi only]Python adapter executors/common.py: List sessions [needs tmux]allowedplan only (not executed in this demo)
System & powerENGLISHwhat is the cpu usageget_cpu_usage {}Python adapter tinyagent/executor.py: Measure CPU use over 200 milliseconds [ready]Python adapter tinyagent/executor.py: Measure CPU use over 200 milliseconds [ready]allowedWindows: CPU 7.5 %; Pi: CPU 0.0 %
Help & intent handlingENGLISHwhat can you dohelp {}Python adapter tinyagent/executor.py: Show action and adapter coverage [ready]Python adapter tinyagent/executor.py: Show action and adapter coverage [ready]allowedWindows: 371 actions, 221 live adapters here; Pi: 371 actions, 251 live adapters here
Audio & mediaHINGLISHvolume 40 kar doset_volume {"value": 40}Python adapter executors/windows.py: Set master volume to an exact percent [needs pycaw]Python adapter executors/common.py: Set master volume to an exact percent [needs pactl]allowedplan only (not executed in this demo)
Display & appearanceHINGLISHbrightness thoda kam karobrightness_down {}PowerShell: $b=Get-CimInstance -Namespace root/WMI -ClassName WmiMonitorBrightness… [ready]Python adapter executors/common.py: Decrease brightness (default step 10) [needs brightnessctl]allowedplan only (not executed in this demo)
Network & connectivityHINGLISHwifi ka signal kitna strong haiget_wifi_signal {}netsh.exe wlan show interfaces [ready]nmcli device wifi list [ready]allowedWindows: completed (output not published: local device details); Pi: completed (output not published: local device details)
GPIO & I2CHINGLISHgpio 17 ko high karogpio_on {"pin": 17}Python adapter executors/common.py: Set a GPIO pin HIGH (e.g. relay / LED on) [Pi only]pinctrl set 17 op dh [ready]blockedblocked by default gate
Hardware & Raspberry PiHINGLISHpi ka temperature bataoget_temperature {}PowerShell: $t=Get-CimInstance -Namespace root/wmi -ClassName MSAcpi_ThermalZoneTe… [ready]vcgencmd measure_temp [ready]allowedWindows: failed: needs administrator rights; Pi: temp=43.3'C
Files & storageHINGLISHfile "notes/todo.txt" bana docreate_file {"path": "notes/todo.txt"}Python adapter tinyagent/executor.py: Create a new empty file; existing files are never overwritt… [ready]Python adapter tinyagent/executor.py: Create a new empty file; existing files are never overwritt… [ready]allowedplan only (not executed in this demo)
Apps & windowsHINGLISHnotepad kholoopen_app {"app": "notepad"}Python adapter executors/desktop.py: Open / launch an application [needs pywinauto]Python adapter executors/desktop.py: Open / launch an application [ready]allowedplan only (not executed in this demo)
Browser & webHINGLISHyoutube pe lofi music search karoyoutube_search {"query": "lofi music"}Python adapter executors/desktop.py: Search / play something on YouTube [ready]Python adapter executors/desktop.py: Search / play something on YouTube [ready]allowedplan only (not executed in this demo)
Keyboard & clipboardHINGLISHsab select karoselect_all {}Python adapter executors/desktop.py: Send ctrl+a to the selected target window [needs pywinauto]Python adapter executors/desktop.py: Send ctrl+a to the selected target window [needs wmctrl]allowedplan only (not executed in this demo)
Timers & productivityHINGLISH5 minute ka timer lagaoset_timer {"amount": 5, "unit": "min"}Python adapter tinyagent/executor.py: Start a timer in this local server process [ready]Python adapter tinyagent/executor.py: Start a timer in this local server process [ready]allowedplan only (not executed in this demo)
Security & accountsHINGLISHfirewall ka status bataofirewall_status {}PowerShell: Get-NetFirewallProfile | Select-Object Name,Enabled | ConvertTo-Json [ready]Python adapter executors/common.py: show firewall status [needs ufw]allowedWindows: completed (output not published: local device details)
Services & processesHINGLISHssh service ka status dikhaoservice_status {"service": "ssh"}PowerShell: Get-Service -Name $a.service | Select-Object Name,Status,DisplayName |… [ready]systemctl status --no-pager -- ssh [ready]allowedWindows: failed: no such service on this OS
Software & developmentHINGLISHdocker containers list karodocker_list {}docker.EXE ps -a [ready]docker ps -a [ready]allowedWindows: completed (output not published: local device details); Pi: completed (output not published: local device details)
AI & modelsHINGLISHollama pe kaunse models hainlist_llm_models {}ollama.EXE list [ready]ollama list [ready]allowedWindows: completed (output not published: local device details); Pi: completed (output not published: local device details)
Terminal & sessionsHINGLISHtmux sessions dikhaolist_sessions {}Python adapter executors/common.py: List sessions [Pi only]Python adapter executors/common.py: List sessions [needs tmux]allowedplan only (not executed in this demo)
System & powerHINGLISHcpu usage bataoget_cpu_usage {}Python adapter tinyagent/executor.py: Measure CPU use over 200 milliseconds [ready]Python adapter tinyagent/executor.py: Measure CPU use over 200 milliseconds [ready]allowedWindows: CPU 6.7 %; Pi: CPU 3.7 %
Help & intent handlingHINGLISHtum kya kya kar sakte hohelp {}Python adapter tinyagent/executor.py: Show action and adapter coverage [ready]Python adapter tinyagent/executor.py: Show action and adapter coverage [ready]allowedWindows: 371 actions, 221 live adapters here; Pi: 371 actions, 251 live adapters here
All 72 example commands, 36 intents in ENGLISH and HINGLISH (69 exactly right)
CategoryLanguageCommandModel outputConfidenceCorrect
Audio & mediaENGLISHset the volume to 40set_volume {"value": 40}100%✓
Audio & mediaENGLISHpause the musicmedia_pause {}100%✓
Display & appearanceENGLISHlower the brightness a littlebrightness_down {}100%✓
Display & appearanceENGLISHturn on dark modedark_mode_on {}100%✓
Network & connectivityENGLISHhow strong is the wifi signalget_wifi_signal {}100%✓
Network & connectivityENGLISHconnect to wifi Redmi Note 12 password hello@123connect_wifi {"password": "hello@123", "ssid": "Redmi Note 12"}100%✓
GPIO & I2CENGLISHset gpio 17 highgpio_on {"pin": 17}100%✓
GPIO & I2CENGLISHread the value of physical pin 11gpio_read {"numbering": "board", "pin": 11}100%✓
GPIO & I2CENGLISHscan the i2c busi2c_scan {}100%✓
Hardware & Raspberry PiENGLISHwhat is the pi temperatureget_temperature {}100%✓
Hardware & Raspberry PiENGLISHwhat is the fan speedget_fan_speed {}100%✓
Files & storageENGLISHcreate file "notes/todo.txt"create_file {"path": "notes/todo.txt"}100%✓
Files & storageENGLISHhow much disk space is leftget_disk_space {}100%✓
Apps & windowsENGLISHopen notepadopen_app {"app": "notepad"}100%✓
Apps & windowsENGLISHminimize this windowminimize_window {}100%✓
Browser & webENGLISHsearch youtube for lofi musicyoutube_search {"query": "lofi music"}100%✓
Browser & webENGLISHlogin to github username dev_user password Test@123web_login {"password": "Test@123", "site": "github", "username": "dev_user"}100%✓
Keyboard & clipboardENGLISHselect allselect_all {}100%✓
Keyboard & clipboardENGLISHshow clipboard historyclipboard_history {}100%✓
Timers & productivityENGLISHset a timer for 5 minutesset_timer {"amount": 5, "unit": "min"}100%✓
Timers & productivityENGLISHcalculate 12 + 8calculate {"expression": "12 + 8"}100%✓
Security & accountsENGLISHshow the firewall statusfirewall_status {}100%✓
Security & accountsENGLISHallow port 8080 in the firewallfirewall_allow {"port": 8080}100%✓
Services & processesENGLISHshow the status of the ssh serviceservice_status {"service": "ssh"}100%✓
Services & processesENGLISHrestart the nginx serviceservice_restart {"service": "nginx"}100%✓
Software & developmentENGLISHlist docker containersdocker_list {}100%✓
Software & developmentENGLISHinstall the numpy python packageinstall_python_package {"name": "numpy"}100%✓
AI & modelsENGLISHwhich models are available in ollamalist_llm_models {}100%✓
AI & modelsENGLISHrun the llama3 modelrun_llm {"model": "llama3"}100%✓
Terminal & sessionsENGLISHshow tmux sessionslist_sessions {}100%✓
Terminal & sessionsENGLISHrun command "ls -la"run_command {"command": "command \"ls -la"}100%✗ (see note)
System & powerENGLISHwhat is the cpu usageget_cpu_usage {}100%✓
System & powerENGLISHshut down in 10 minutesshutdown {"amount": 10, "unit": "min"}100%✓
System & powerENGLISHdon't shut down the laptopcancel_shutdown {}100%✓
Help & intent handlingENGLISHwhat can you dohelp {}99%✓
Help & intent handlingENGLISHturn it offclarify {}100%✓
Audio & mediaHINGLISHvolume 40 kar doset_volume {"value": 40}100%✓
Audio & mediaHINGLISHgaana pause karomedia_pause {}100%✓
Display & appearanceHINGLISHbrightness thoda kam karobrightness_down {}100%✓
Display & appearanceHINGLISHdark mode on kar dodark_mode_on {}100%✓
Network & connectivityHINGLISHwifi ka signal kitna strong haiget_wifi_signal {}100%✓
Network & connectivityHINGLISHRedmi Note 12 wifi se connect karo password hello@123connect_wifi {"password": "hello@123", "ssid": "Redmi Note 12"}100%✓
GPIO & I2CHINGLISHgpio 17 ko high karogpio_on {"pin": 17}100%✓
GPIO & I2CHINGLISHphysical pin 11 ki value padhogpio_read {"numbering": "board", "pin": 11}100%✓
GPIO & I2CHINGLISHi2c bus scan karoi2c_scan {}100%✓
Hardware & Raspberry PiHINGLISHpi ka temperature bataoget_temperature {}82%✓
Hardware & Raspberry PiHINGLISHfan speed kitni haiget_fan_speed {}100%✓
Files & storageHINGLISHfile "notes/todo.txt" bana docreate_file {"path": "notes/todo.txt"}100%✓
Files & storageHINGLISHdisk space kitna bacha haiget_disk_space {}100%✓
Apps & windowsHINGLISHnotepad kholoopen_app {"app": "notepad"}100%✓
Apps & windowsHINGLISHis window ko minimize karominimize_window {}100%✓
Browser & webHINGLISHyoutube pe lofi music search karoyoutube_search {"query": "lofi music"}100%✓
Browser & webHINGLISHgithub pe login karo username dev_user password Test@123web_login {"password": "Test@123", "site": "github", "username": "dev_user"}100%✓
Keyboard & clipboardHINGLISHsab select karoselect_all {}100%✓
Keyboard & clipboardHINGLISHclipboard history dikhaoclipboard_history {}100%✓
Timers & productivityHINGLISH5 minute ka timer lagaoset_timer {"amount": 5, "unit": "min"}100%✓
Timers & productivityHINGLISH12 + 8 calculate karocalculate {"expression": "12 + 8"}100%✓
Security & accountsHINGLISHfirewall ka status bataofirewall_status {}100%✓
Security & accountsHINGLISHfirewall mein port 8080 allow karofirewall_allow {"port": 8080}100%✓
Services & processesHINGLISHssh service ka status dikhaoservice_status {"service": "ssh"}100%✓
Services & processesHINGLISHnginx service restart karoservice_restart {"service": "nginx"}100%✓
Software & developmentHINGLISHdocker containers list karodocker_list {}100%✓
Software & developmentHINGLISHnumpy python package install karoinstall_python_package {"name": "numpy"}100%✓
AI & modelsHINGLISHollama pe kaunse models hainlist_llm_models {}100%✓
AI & modelsHINGLISHllama3 model chalaorun_llm {"model": "llama3"}100%✓
Terminal & sessionsHINGLISHtmux sessions dikhaolist_sessions {}100%✓
Terminal & sessionsHINGLISHcommand "ls -la" chalaorun_command {"command": "command \"ls -la"}100%✗ (see note)
System & powerHINGLISHcpu usage bataoget_cpu_usage {}100%✓
System & powerHINGLISH10 min baad shutdown kar denashutdown {"amount": 10, "unit": "min"}100%✓
System & powerHINGLISHshutdown mat karocancel_shutdown {}100%✓
Help & intent handlingHINGLISHtum kya kya kar sakte hohelp {}100%✓
Help & intent handlingHINGLISHise band kar doclose_window {}100%✗ (see note)

Test results

Metric: exact match. The action and every typed argument must equal the label; errors stay in the denominator. Same checkpoint on both devices (SHA-256 c91d44e4a687152c…).

Accuracy

DatasetRowsLaptop CPU exactLaptop action-onlyRaspberry Pi 5 exactPi action-onlyAbout the set
Held-out test (unseen templates)24,49894.87% (23,241)96.05%94.87% (23,241)96.05%24,498 rows · all 371 actions · template families never seen in training
Practical dev (A)1,32196.44% (1,274)96.90%96.44% (1,274)96.90%1,321 realistic phrasings · used during development
Golden dev (B)38397.39% (373)97.91%97.39% (373)97.91%383 hand-checked commands · used during development

The held-out test split contains whole template families never used for training and was evaluated once for this release. Earlier development results on the same checkpoint: Grouped dev (reserved template groups) 96.50%, Validation 98.22%.

By language (held-out test)

LanguageRowsExactAction-only
HINGLISH (Roman script, incl. a small Devanagari slice)9,95895.43%96.37%
ENGLISH8,03892.56%94.31%
Unlabelled (project A rows, mostly English/Hinglish)4,88498.73%99.45%
Code-mixed1,61891.22%92.46%

By category (held-out test)

CategoryRowsExactAction-only
Hardware & Raspberry Pi1,12298.93%98.93%
Terminal & sessions41098.78%98.78%
Display & appearance1,97298.48%98.53%
Audio & media1,65398.12%98.31%
Browser & web1,52797.84%99.61%
System & power3,08597.50%98.64%
Security & accounts71496.78%96.78%
Keyboard & clipboard88396.60%97.28%
Files & storage2,79395.31%96.89%
Help & intent handling76295.14%96.19%
Apps & windows1,46894.96%96.66%
Services & processes1,08893.57%94.76%
Software & development92692.33%92.44%
Network & connectivity2,95191.70%92.82%
Timers & productivity74790.63%93.71%
GPIO & I2C2,13387.48%88.70%
AI & models26480.68%97.73%

Speed

DeviceThreadsMedianp95Single commands/sBatched commands/sModel loadRAM
Laptop i7-1360P17.4 ms9.9 ms1311415.3 s650 MB
Laptop i7-1360P25.9 ms9.4 ms1572495.3 s650 MB
Laptop i7-1360P47.2 ms11.3 ms1282375.3 s650 MB
Raspberry Pi 5132.8 ms40.8 ms30918.3 s533 MB
Raspberry Pi 5240.4 ms47.6 ms24888.3 s533 MB
Raspberry Pi 5436.2 ms44.0 ms271008.3 s533 MB
DeviceSeconds (held-out test)Commands/sThreadsBatch
Laptop i7-1360P95.86255.5464
Raspberry Pi 5331.8173.8264

Temperature

DeviceRunSensorStartMaxMeanPi throttle flags after run
Laptop i7-1360PAccuracy run (26k rows, 4 threads)Windows ACPI thermal zone (typeperf, Thermal Zone Information)60.9 °C95.9 °C85.3 °Cn/a (not a Pi)
Laptop i7-1360PLatency benchmark (1/2/4 threads)Windows ACPI thermal zone (typeperf, Thermal Zone Information)53.9 °C85.9 °C71.2 °Cn/a (not a Pi)
Raspberry Pi 5Accuracy runsysfs cpu-thermal (Raspberry Pi SoC sensor)51.8 °C73.2 °C68.2 °Cthrottled=0x0
Raspberry Pi 5Latency benchmarksysfs cpu-thermal (Raspberry Pi SoC sensor)41.9 °C65.5 °C56.5 °Cthrottled=0x0

Raspberry Pi 5 notes. The first attempt ran the held-out test in one go with 4 threads. After 202 s and 15,040 commands the SoC reached about 85 °C with the fan near 9,900 RPM, and the Pi dropped off the network until it was power-cycled. The reported Pi results come from a second, gentler run: 2 threads, the held-out test split into five chunks of 5,000 rows, and a cool-down below 65 °C before each chunk. Temperature, the 5 V rail, throttle flags and fan speed were logged every 5 seconds (test_results/rpi5/sensors.log). That run finished with throttle flags at 0x0 throughout, a peak of 73.2 °C and a 5 V rail between 5.05 V and 5.20 V. The Pi made exactly the same predictions as the laptop: the same 1,314 commands were wrong on both devices across the three sets. On the Pi, 1 thread gives the lowest single-command latency; extra threads mainly help batched throughput. For long jobs on a Pi 5, use 1 or 2 threads, keep the active cooler and a 5 V / 5 A supply, and watch `vcgencmd measure_temp` and `vcgencmd get_throttled`.

Test devices

DeviceCPUOSPython / PyTorch
Laptop13th Gen Intel(R) Core(TM) i7-1360PWindows-11-10.0.26200-SP0Python 3.13.14 / torch 2.12.0+cpu
Raspberry Pi 5Raspberry Pi 5 Model B Rev 1.1 (Arm Cortex-A76, 4 cores)Linux-6.12.47+rpt-rpi-2712-aarch64-with-glibc2.41Python 3.13.5 / torch 2.8.0+cpu

Download and test

1 · Get the code and model

git clone https://github.com/sraivante/tiny-agentic-home-robotic-for-edge-device-v10.git
cd tiny-agentic-home-robotic-for-edge-device-v10
python download_model.py

The downloader fetches the 96.2 MB model from Hugging Face and verifies its SHA-256.

2 · Install (Python 3.11–3.13, CPU)

python -m venv .venv
# Windows: .venv\Scripts\activate
# Pi/Linux: . .venv/bin/activate
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -r requirements.txt

3 · Parse commands (no execution)

python quickstart.py
python quickstart.py "turn off the wifi" "wifi band karo"
python quickstart.py --json "set a timer for 5 minutes"

4 · Reproduce the tests

python scripts/evaluate.py --data examples/sample_commands.jsonl
python scripts/benchmark.py --threads 1,2,4

5 · Sample executor lab (optional)

run.bat          # Windows
bash run.sh      # Linux / Raspberry Pi
# opens http://127.0.0.1:8770

Local only, token-protected, file actions confined to runtime/files/. Critical actions need --allow-risk critical.

Python API

from tinyagent.runtime import Predictor
m = Predictor("models/a100_minilm_v10_quoted/best.pt", threads=2)
print(m.predict("set the volume to 40"))
print(m.predict("volume 40 kar do"))

Limitations