2026-11-27 16:44 UTC

HITL Systems releases Linux-first runtime for small local AI models

state: expiredheat: mediumuncertainty: mediumrelevance: mediumedge-ai local-inference gguf on-device-aiHITL Systems

What is this?

HITL Systems presents latai as a 22 MB runtime for running small, signed GGUF model packs locally through a shared C interface and six SDKs. It says packs are signature-checked, self-tested and constrained by device limits, enabling offline inference without per-answer charges or sending data to a server. The stated first release is Linux x86_64 with glibc 2.28 or newer; other platforms are planned, and the mobile SDKs are not yet verified on real hardware. The page’s own measurements are company-reported, using stand-in models, and were not independently reproduced. SDK source is Apache-2.0 or MIT, but the runtime engine is distributed as a binary.

Why it matters

latai targets a practical gap between cloud APIs and platform-specific on-device AI: a shared runtime for small, focused models, with signed model packs and SDKs across several languages. If it works as described, developers could add offline OCR, transcription, classification or tool selection to apps without sending data to a server or paying per inference. Its current Linux-only release and roughly 35 MB model limit make this an early, specialized tool—not a replacement for large general-purpose assistants.

Current assessment

HITL Systems’ product page presents latai as a 22 MB runtime built around llama.cpp, with a C interface and six SDKs. It says model packs comprise a GGUF file, detached signature and manifest; the runtime checks signatures, runs pack self-tests in a separate process, and enforces device limits before loading. The company says inference is local and offline, with no per-answer charge. The first release is Linux x86_64 with glibc 2.28 or newer; Mac, Windows, ARM and mobile support are future plans. The mobile SDKs are published but not verified on real hardware, and search results specifically describe the Flutter SDK as uncompiled and unrun. Although the page lists pashya, ej, lipi and tark as candidate task models, it says these are still being packed; performance and safety figures use stand-in models. The reported tests and measurements are company claims from one machine and were not independently reproduced. SDK source is Apache-2.0 or MIT, but the engine is a binary with no public engine repository. Key open questions are model quality on target hardware, practical integration and security, and whether the announced cross-platform plans become usable releases.

Measured heat

no measured readings yet — the hourly heat pass fills this in

How the heat travelled

10-27 03:08first on hacker news · published · lag ?Latai – run GGUF compliant/local models upto 35 MB on edge
gamebit07
—
10-27 03:08amplified on hacker news 👑hn.story.50254295
gamebit07
peak 2 · 0 comments · 98% of case engagement
10-27 03:26our radar first saw it · lag ?discovery anchor: hn.story.50254295—

Evidence (1) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnLatai – run GGUF compliant/local models upto 35 MB on edge
Retrieved article excerpt

Open article · Retrieved 2026-10-27T03:28:17.303054+00:00

[Libraries](https://hitl.systems/libs/) / On-device runtime

# The AI comes to the file. The file does not go anywhere.

latai is a 22 MB engine that app developers drop into their own software, so the AI work happens where the document already is. No server, no upload, no cost per answer, and no new company on your data map.

[Python SDK](https://github.com/hitl-systems/latai-py)[Read the announcement](https://hitl.systems/articles/introducing-latai-on-device-ai-runtime/)[All six SDKs](https://hitl.systems/libs/latai/#sdks)

- 22,298,176-byte install
- Six SDKs, one JSON call
- Signed packs, checked before they run
- Works with no connection
- No cost per answer

```
import latai

with latai.Runtime.open() as rt:
    rt.install("contract-terms.gguf")
    answer = rt.run(latai.text_request("contract-terms", clause_text))
    print(answer["output"], answer["latai"]["timing"]["total_ms"], "ms")
```

Add the SDK, install a pack, make one run call. How the engine itself reaches the SDK differs by language, and the table below says which is which.

## Where it came from

We did not set out to build a runtime. We built [ej](https://hitl.systems/libs/ej/), and at 11 MB it was the smallest, best performing decision model of its size that could run on an edge device. Then the same question started arriving in private Discord servers and Slack channels, in different clothes every time: fine, but how do I actually run this thing?

That is not a documentation problem. People were asking for the layer underneath: somewhere to put a small model so it runs on the device, the same way, every time, whatever the language and whatever the hardware.

latai is named for the spool a kite line winds onto, the thing in your hand that lets the kite go somewhere.

Why it exists

## For the files you are not allowed to upload

0

**Private by design.** Text, recordings and images are processed where they already are. There is no server to send them to, so there is nothing to leak, log or subpoena, and no third party to add to your data map for the model step.

✓

**Checked before it runs.** Every model arrives signed by its publisher and must pass its own tests on your device before it is switched on. A tampered or unsigned file is refused, so a bad pack fails on install rather than in front of a customer.

22

**Small, and free per answer.** The whole engine and its libraries are 22,298,176 bytes, so it fits inside an ordinary app download. Once it is there, every answer costs nothing, whether you run ten a day or ten thousand.

6

**One call, six doors.** A C library, a command line tool, a local HTTP server and six SDKs, all over the same C ABI. Same JSON in, same answer and the same error code out, on Android, iOS, Mac, Linux and Windows.

How a model gets in

## Three gates, then one call

01

### Check the signature

A model reaches latai as a pack: one GGUF file plus a detached signature, with a manifest naming its inputs, outputs and limits. latai checks that signature against the keys you trust before anything else happens.

02

### Run its own tests, in isolation

The pack is opened in a separate process and its own self-tests run there, so a malformed file cannot crash your app.

03

### Check it fits the device

About 121 million parameters, a 35 MB file, a 4,096-token context and 512 new tokens per answer. A pack that does not fit the budget does not load.

04

### Then one call does the work

`run` takes a JSON request and returns JSON: the output, a finish reason, and timing for load, queue, prefill, decode and total. Errors come back as stable codes with a message and a hint.

## Six SDKs, one C ABI

Every SDK is a thin binding over the same C interface, so the request and the error codes are identical across all six.

| SDK | Repository | Good for |
| --- | --- | --- |
| Python | [latai-py](https://github.com/hitl-systems/latai-py) | internal tools, scripts, notebooks |
| TypeScript | [latai-ts](https://github.com/hitl-systems/latai-ts) | Node.js services and Electron apps |
| Go | [latai-go](https://github.com/hitl-systems/latai-go) | services and command line tools |
| Rust | [latai-rs](https://github.com/hitl-systems/latai-rs) | services and desktop apps |
| Flutter | [latai-flutter](https://github.com/hitl-systems/latai-flutter) | mobile and desktop apps |
| React Native | [latai-react-native](https://github.com/hitl-systems/latai-react-native) | mobile apps |

The desktop and server SDKs run today. The two mobile ones are published and still being proven on real hardware, so read their READMEs before you plan a ship date around them.

The SDK source is Apache-2.0 or MIT, your choice. The engine inside ships as a binary, free to use and to redistribute unchanged inside your own software.

## The models it runs

latai is the engine. Models give it its skills, and each one is a signed pack rather than a library you wire in by hand. Swap the pack, keep the call.

| Model | Its job | Size |
| --- | --- | --- |
| [pashya](https://hitl.systems/models/pashya/) | OCR: reads a scan or photo back as markdown in reading order | 3.29 MB |
| [ej](https://hitl.systems/libs/ej/) | classification: routing, triage, yes/no checks and urgency | 11.4 MB |
| [lipi](https://hitl.systems/models/lipi/) | speech to text in English, full context or streaming | 13.6 MB |
| [tark](https://hitl.systems/models/tark/) | tool calls: a request and your tool definitions become calls in one pass | 3.24 MB |

[maap](https://hitl.systems/models/maap/) is the deliberate exception. Estimation at 4 billion parameters is work for the cloud, and it stays there.

Against the alternatives

## Where latai sits among the ways to run AI

Cloud is not the only other option. Apple and Google each ship an on-device model inside the platform itself, and you can always build on a runtime yourself.

| Capability | latai | Cloud AI API | Apple or Google on-device | A runtime you wire up yourself |
| --- | --- | --- | --- | --- |
| The file stays on the device | ✓Yes | ✕No | ✓Yes | ✓Yes |
| Works with no connection | ✓Yes | ✕No | ✓Yes | ✓Yes |
| One call, same answer everywhere | yes, that is the whole product | ✓Yes | no, one platform each | only if you build that layer |
| Cost per answer | none | per token | none | none |
| Work to integrate | small | small | small | large |
| Platforms you can ship on today | Linux x86\_64, the rest next | all | Apple, or Android | many |
| How big a model you can run | about 35 MB, 121M parameters | very large | the platform's own model | whatever fits |

Measured, on one machine

## The engineering is in the boring part

Measured on Linux x86\_64 with our own harness, one machine, single run, not independently re-run.

22 MB
:   full install of the engine and its libraries, 22,298,176 bytes, under our 25 MB budget.

301 / 0
:   tests in the SDK conformance suite, zero failures.

5,768,800
:   fuzzed images thrown at the decoder, zero crashes.

74 ms
:   to cancel in the middle of a clip. It returns, it does not hang.

0.030
:   real-time factor on a 30-second speech clip, with a stand-in model.

100 / 0
:   answers forced into a JSON schema: 70 complete, 30 hit the 512-token cap, zero malformed. Branch on the finish reason.

**One line of that matters to your code.** The schema held every time, and nothing came back malformed. Read the finish reason so a long answer that stops at the cap is handled as a normal case.

## Is latai right for you?

### Use it when

- ✓
  the data is not allowed to leave the device, for policy, contract or law
- ✓
  the job is focused: extract, sort, transcribe, read a scan, fill in a form, pick a tool
- ✓
  you want the same call and the same error code across Python, TypeScript, Go, Rust, Flutter and React Native
- ✓
  a per-answer bill or a new sub-processor is the thing blocking the feature

### Pick something else when

- ✕
  you need a long report written or reasoned over: a large cloud assistant is still the better tool
- ✕
  you need to ship today on Mac, Windows, ARM, iPhone or Android: the first release is Linux x86\_64 with glibc 2.28 or newer
- ✕
  your request is longer than about a page or two: one request holds 4,096 tokens, or a 30-second clip
- ✕
  you need a model larger than about 35 MB and 121 million parameters

## FAQ

What is latai?

An engine that lets an app run AI privately on your device. You do not open latai yourself. It sits inside the tools your team builds or buys, the way a spell checker sits inside a word processor. The whole install is 22,298,176 bytes.

Where does my data go?

Nowhere. Text, recordings and images are processed on the device that already holds them. There is no server to send them to, so there is nothing to leak or log, and no third party to add to your data map for the model step.

What does it cost per answer?

Nothing. The engine ships inside your app download, and after that every answer is free whether you run ten a day or ten thousand. The trade is model size: about 35 MB and 121 million parameters, against the very large models a cloud API can offer.

Which platforms does it run on?

The first release runs on Linux x86\_64 with glibc 2.28 or newer. Mac and Windows come next, then Linux on ARM, then iPhone and Android.

How does a model get installed?

As a pack: one GGUF file plus a detached signature and a manifest naming its inputs, outputs and limits. latai checks the signature against the keys you trust, runs the pack’s own self-tests in a separate process, and checks it fits the device budget. Only then does it load. Your IT team chooses which packs are installed, can hold a version in place, and can roll back in one step.

What runs underneath?

llama.cpp. latai is the contract around it: the signed pack format, the three gates, the device budget, one JSON call and six SDKs that all agree.

Is the code open?

The SDKs are. Each SDK repository carries LICENSE-APACHE, LICENSE-MIT and LICENSE-BINARY, so the binding source is Apache-2.0 or MIT, your choice. The engine itself ships as a binary under its own terms, free to use and to redistribute unchanged inside your own software. There is no public repository for the engine.

Can I use the Flutter or React Native SDK today?

They are published and still being proven on real hardware. Both READMEs say where each one stands, so read them before you plan a ship date around mobile.

Which models can I run today?

latai already reads images and transcribes speech using stand-in models, which is what the speed and safety numbers on this page were measured with. pashya, ej, lipi and tark are being packed for it now. The model pages carry the quality to expect from each.

The question worth asking

## Which of your tasks could run without the data ever leaving the machine?

Start with the SDK for your stack. Add it, install a pack, make one run call.

[Python SDK](https://github.com/hitl-systems/latai-py)[TypeScript SDK](https://github.com/hitl-systems/latai-ts)[Read the announcement](https://hitl.systems/articles/introducing-latai-on-device-ai-runtime/)

No server, no upload, no cost per answer.
gamebit0720

Interpretation history

Decision trace