MyLo AI / Technical overview
MyLo AI technical overview
Design principles
- Earned confidence, not claimed perfection. MyLo never claims what testing has not shown. Every discovery or verification process leaves a record of what it tested, what passed and what it could not verify. A configuration that has not been verified says so.
- Verify once, at configuration time. Discovery and measurement run when setup runs, or when the hardware changes, and produce a file. At runtime MyLo only reads that file and starts. There is no fallback value for a missing or invalid configuration. If it is not valid, MyLo stops with a specific reason. A quiet guess in the start-up path would reintroduce exactly the unverified assumptions the project exists to remove.
- Always an open way. Where something has a paid convenience, an open do-it-yourself route is built in and the paid one is added on top, never the reverse.
- The model decides what it can do. MyLo detects and reports a model's capabilities, and never gates a model by who made it.
- Nothing for nothing. MyLo does not ship, host or sell model weights. Setup downloads them from the maker.
Architecture
- One engine in this release. Inference uses llama.cpp, built from a fixed, recorded version. The engine listens on a local socket and is not reachable from the network. The planned model suite runs more than one (see below).
- One service. MyLo's own service (Python, standard library for the core) provides the chat page, accounts, the admin panel and the tools. It runs as an ordinary unprivileged user and never uses administrator rights.
- One database. Accounts, sessions, chats, memory and library indexes live in SQLite files under the MyLo data folder. Library search combines keyword search (SQLite full-text) with meaning search from a small embedding model that runs on the processor, so it never takes graphics memory from the chat model. Meaning search is used only where a measurement shows it beats keyword search alone.
- Speech to text runs on the processor, so the graphics card stays with the chat model.
- A cached start. The model's fixed instructions and tool list are cached at start-up so each chat begins fast.
- Outside AI services are another kind of model backend beside the local engine. Keys are stored owner-only and are never returned to the browser or logged. An outside chat never uses the local engine, and memory, libraries and past chats are withheld from it unless the administrator allows each. Monthly token or dollar limits are enforced and every call is counted.
- Tools. The model calls tools for web search, library search, past-chat search, memory and installed apps such as mail. Text from outside, such as web pages or emails, is marked as information to read, not instructions to follow.
- Privileged work goes through a helper. Anything that needs administrator rights, such as connecting remote access, is requested through a file the service can write and run by a small root-owned helper under systemd. The helper accepts only two actions, checks every field against strict patterns, and runs a root-owned script with plain arguments.
Hardware discovery and measurement
A read-only scan runs at every start. It reads the board and firmware, Secure Boot state, each processor, each memory module (rated and running speed), each graphics card (memory, generation, slot link), each drive controller, each drive, and each network port. Anything it cannot read is reported as unknown, with the reason. It does not guess. Drives holding data are marked untouchable.
Measurement then finds, for each model on that machine, the largest part that fits on the graphics cards without running out of memory, with the real tools attached, because a setting that works for a bare chat can fail once tools are loaded. The result is saved per model and per engine. If a saved measurement no longer applies, MyLo says so and asks for a new one.
Models and speed estimates
In this release each model has its own saved profile and configuration, and one model is active at a time. A model is read from the file's own header: its name, size, kind (dense or sparse), license, context length, and whether its chat template declares tool use and thinking. These are declared, not tested. A template can claim tool use and the model can still fumble it.
Why file size is not enough
Writing an answer means reading the model's active weights once per token. The part held on the graphics card is read at the card's memory speed. The part that spills into ordinary memory is read at the memory's speed, which is much slower and differs hugely between machines: a typical desktop has two memory channels, and a server has eight or twelve. So MyLo estimates speed from measured bandwidth instead of size alone.
- A short test reads and writes memory from several processes at once, to measure the whole machine's memory throughput. The graphics card's memory speed comes from a table by card name, and unknown cards get a middle value, flagged as a guess.
- A dense model reads its whole file per token. A sparse model reads its shared part plus only the experts in use.
- Real inference reaches only part of the raw memory speed, and very small models are limited by a fixed cost per token. Both are built into the estimate.
- Speeds map to ratings: Fast at 20 tokens per second or more, Good at 10, Moderate at 5, Slow below that. A model that does not fit in memory is rated Too big and never given a speed.
- Self-correcting. A model that has been timed on the machine shows its real speed. The ratio of measured to predicted speed corrects the estimate for every model not yet timed, within limits so one odd result cannot upset the rest.
Licensing
MyLo reads each model's license from its file and shows it. Open licenses such as Apache and MIT are shown plainly, and anything else is shown as custom, with a note to read it before building a business on it. Builds supplied to business clients use models under open licenses unless the model's makers confirm in writing that another is acceptable.
Planned: a suite of models
MyLo today runs one chat model. We are building toward a suite: several models, each given the jobs it does well, so that the large model is not spent on small tasks.
- Resident helpers are small models kept loaded for quick jobs: titles for chats, running notes for long conversations, writing search queries, routing decisions, searching a library, and answering a second person while the main model is busy.
- The main model keeps the work people rely on: writing, judgment and careful reasoning.
- On-demand specialists, such as a long-document writer, are loaded for a task, with a visible "switching to the writing model" delay, since loading a large model takes tens of seconds.
- Using several graphics cards. On a machine with two cards, for example an older card and a newer, faster one, a small model can serve many quick tasks on the older card while the large dense model has the faster card to itself. The small model answers quickly there, and the large model is not slowed by the small jobs.
- Measured, not guessed. MyLo will offer the suite only when measurement shows it fits, and will state what a helper costs the main model, for example in layers and speed. Small machines will never see the offer. It stays switchable off, and one model remains the default.
- Routing mistakes are the risk, since a hard question sent to a small model gives a quietly worse answer. So every answer shows which model wrote it, people can choose a model themselves, and when unsure MyLo routes to the larger one.
It is not in release 0.1.
Privacy and security
- Accounts. Passwords are stored as salted scrypt hashes. There is no default account or password, and MyLo refuses to start until an administrator exists. A starter password is one-time, and the server enforces choosing a new one before anything else is allowed.
- Sessions. A random token in a secure, HttpOnly, same-site cookie. Only its hash is stored. A wrong username takes as long to reject as a wrong password.
- Sign-in limits. Failed sign-ins are counted per address, and from the internet per username too, so a stranger cannot lock the owner out from home.
- Cross-site protection. Every change request must carry a header a page on another site cannot add.
- Privacy wall. Every query is scoped to the signed-in person. Another person's chat, memory or private library answers "not found". Administrators have no view of anyone's memory.
- Password rules. At least 10 characters, with common words, look-alike substitutions, the username and simple patterns rejected, so it blocks guessable passwords without forcing symbols.
- Mail. The person's mail password is stored only in their own folder with owner-only permission, and is never sent to the browser or logged. Mail hosts must be public and use encryption. Attachments are inspected, never opened or run, and a program can never be sent. The AI can send only an existing draft that the person approves.
- Automatic reports. Off until an administrator opts in. A fixed list of fields is enforced by one check that MyLo runs before queuing a report and the collector runs again on receipt, so anything outside the list is refused at both ends. Error text is scrubbed of addresses, paths, keys and host names, only error-looking lines from the engine log are kept, and chat text is never in reach of the reporter. Reports are rate-limited, wait in a small folder while offline, and the collector keeps no IP addresses.
- No personal data in the image. The installation image has no accounts, chats, memories, libraries or measured settings. Every machine measures itself.
Remote access
The chat page can be put on the internet. The admin panel never is.
- Public listener. MyLo has a second listener that accepts only connections from the same machine. It carries no admin interface, and it reports the real visitor address so sign-in limits work.
- Front door. A web server on the MyLo machine (Caddy) gets and renews the certificate itself and passes requests to MyLo, with streaming turned on so answers appear as written.
- Do-it-yourself route. A dynamic name, a router rule, and a private network coordinator (Headscale) that the owner runs. This is the do-it-yourself path.
- Rented-server route. A small rented server sits in front. It splits incoming connections by site name, reading only the name and never the contents, and passes the family chat's connections to the MyLo machine over the private network. The certificate lives on the MyLo machine, so the server sees only encrypted bytes. A small timer on the server tracks the MyLo machine's private address, so nothing needs hand-editing when addresses change.
- Requirement for any relay we ship: it must pass encrypted traffic through without decrypting it.
The installation image
- An operating system, not an app. It is built on Ubuntu 24.04. Everything runs as system services from boot, and MyLo's own pages are the only interface.
- Reproducible build. A lock step records exactly what the reference machine runs. The build step assembles the image to exactly that or stops. A test step boots it in a virtual machine with Secure Boot on.
- Drivers. NVIDIA's signed, prebuilt modules from the proprietary branch, so Secure Boot works without a key screen. CUDA is pinned to version 12, which still supports older cards. llama.cpp is built for every card generation that toolkit can build. The processor code is built per processor family and chosen at start-up. AMD and Intel cards use Vulkan with open drivers.
- Nothing updates itself. Unattended upgrades are removed.
- Models are not in the image. Setup fetches the one that fits the measured hardware.
- Installer safety. Before touching anything it rescans and matches each planned drive by serial number, model and size, refuses mounted drives and drives with unconfirmed data, and never touches the USB drive or drives you kept. Every step is logged.
Live mode that remembers (built, under test)
A person who wants a gaming PC that stays a gaming PC can boot MyLo from an external drive when needed, shut it down, go back to Windows, and return to the same state later.
- One drive, two jobs. A separate writable partition labelled
MYLO-DATA(ext4) on the same drive holds everything that persists: MyLo's whole data folder, which has accounts, chats, memory, libraries, settings, measured model settings, downloaded models, engines and keys. The system image stays read-only and clean. - Only MyLo's own drive. The partition is accepted only on the disk that also holds MyLo's boot partition. A saved-data partition on any other disk is ignored, and nothing on any other disk is read or written. If two MyLo drives are plugged in and MyLo can't tell which it started from, it refuses to guess.
- Only spare space. Creating it uses only spare space after the last partition. No existing partition is touched, and the drive keeps its own partition table type, so MyLo's boot code is untouched. We confirmed this on an image built with the same options as MyLo's own. Only the partition-table entry for the new partition changed.
- Mounted before anything else. A boot step finds the partition, repairs it if needed, checks a marker file and its format version, and mounts it over MyLo's data folder before discovery, setup and MyLo start. It stops last, so everything is written before it unmounts.
- Never silent. A partition that can't be repaired, has no marker, is from a newer MyLo, or can't be read is not mounted and not changed. A damaged one also stops MyLo adding a second beside it. The reason is shown on the Status page. MyLo never starts empty while looking like it has your data.
- Power cuts. A journaled file system, with repair at boot. Tested by cutting the unmount.
- Windows. The partition has the Linux type, which Windows leaves alone. Not yet proven on a real Windows PC.
- Not encrypted yet. Optional encryption of the saved area is planned.
- Other hardware. If the drive is moved to a different computer, a saved model measurement for the old hardware no longer applies, and MyLo measures again. The hardware scan is rewritten at every boot.
- Not saved yet: remote-access settings, which live in the system and not the data folder, and resuming a job that was running when MyLo was shut down. Saved chats come first.
Benchmarks
These are numbers we measured ourselves, on two machines, with the model and settings named in each table. They are not a leaderboard, and your computer will differ. We list them because MyLo's job is to measure and use what a machine can really do, so we hold ourselves to the same rule. Speed is in tokens per second (a token is a little under a word). "Writing" is how fast an answer appears. "Reading" is how fast MyLo takes in a question or document before it starts. Writing speed varies about ±5–8% from run to run, so small differences are noise, and we only call something a gain when it is outside that.
The two test machines
| Machine | What it has |
|---|---|
| A: server | HPE ProLiant DL380 Gen10, two Intel Xeon Platinum 8160 processors, and a Tesla V100 16 GB graphics card. That card has since been lost to overheating, so these results cannot be repeated on it. |
| B: test box | AMD EPYC 7251 (8 cores, 16 threads), 125.8 GB of DDR4-2400 memory in 8 sticks, a GTX 1080 (8 GB), and an RX 550 (2 GB, through Vulkan). |
A dense 27-billion-parameter model, on machine A
Qwen3.8-27B, 4-bit (Q4_K_M). "Layers on card" is how much of the model sits on the graphics card, and MyLo measures that number for each machine.
| Setup | Writing |
|---|---|
| 56 layers on the card, plain, fixed answers (temperature 0) | 9.76 |
| 48 layers on the card, plain | 6.39 |
| 48 layers, with the model's built-in draft layers (speculative decoding) | 13.3–13.5 (+39% over the 56-layer plain run) |
| Everyday chat settings, with draft layers (48 layers) | 9.95 |
| Everyday chat settings, plain (54 layers) | 8.43 |
| llama.cpp's automatic layer choice (38 layers) versus the layer count MyLo measured (48) | 8.97 versus 13.56 (+51%) |
- Measuring beat the default. Same card, same model: finding the real limit instead of accepting the automatic, cautious choice gave about half again as much speed.
- Fixed-answer numbers flatter speculative decoding. With the settings people actually chat with, the draft layers guess less often, and the gain falls from 39% to 18%. Everyday speed is about 10 tokens a second, not 13.5. We now benchmark with the settings people really use.
- Long conversations slow writing. About 13.5 tokens a second in a fresh chat fell to about 8.3 with 22,000–29,000 tokens of conversation in play.
- Reading is fast and reused. About 217 tokens a second from a cold start. In real sessions, 97–99% of the conversation was reused from the cache each turn, so only the new part needed reading.
A large sparse model, on machine A
Flash-Next is a 125-billion-parameter model that uses about 6 billion of them per word, with its experts kept in ordinary memory and about 7.3 GB on the card. It wrote at about 15 tokens a second, faster than the smaller dense model above, because far less has to be read per word.
| Processor threads | Writing |
|---|---|
| 48, both processors | 15.19 (14.38–15.66) |
| 24, one processor only | 14.73 (14.44–15.29) |
| 24, both processors | 13.96 (13.33–14.91) |
| 12, both processors | 13.02 (12.91–13.12) |
One processor is nearly as fast as two, so the other could serve another person. Four times the threads bought only about 17%, because each word also costs a fixed delay for handing work back and forth between the card and the processor. That is also why raw memory speed alone overestimates very sparse models. Reading long prompts is a separate matter: using fewer, larger batches roughly doubled it (about 60 to 117 tokens a second on a 2,300-token prompt).
Machine B: what each part is worth
Measured with llama.cpp's own benchmark tool. Reading / writing, in tokens per second.
| Model | Processor only | RX 550 (2 GB) | GTX 1080 (8 GB) |
|---|---|---|---|
| Qwen3 0.6B (0.6 GB) | 125 / 40.1 | 612 / 100.8 | 5,575 / 175.4 |
| Qwen3 4B (2.3 GB) | 33.3 / 13.3 | does not fit | 1,232 / 58.5 |
| Qwen3.8-27B (15.65 GB), 28 of 65 layers on the card, the rest on the processor | 4.96 / 2.22 | – | 135.1 / 2.61 |
- Even a weak card helps. The 2 GB RX 550 wrote about 2.5 times faster than the eight-core processor and read about 5 times faster.
- An 8 GB card barely helps a 27B model. Putting 28 layers on the GTX 1080 made reading 27 times faster but writing only about 17% faster, because the layers left on the processor set the pace. After MyLo spread memory across the board's four memory groups, this model wrote at about 3.0 tokens a second.
- More cards are not always faster. Adding the RX 550 for five more layers gave no writing gain and cut reading by 2.4 times, because data hops between two different graphics systems. MyLo's rule: do not split one model across a fast card and a much slower one unless a measurement shows it helps. Give the slow card its own small job instead.
- Sparse beats dense on a machine with lots of memory and a small card. Flash-Next wrote at about 10 tokens a second here, around three times faster than the dense 27B.
- Memory layout matters for the processor's share. Spreading the model across all four memory groups gave +16% on the dense model and +5% on the sparse one. MyLo only turns it on where its own measurement shows a gain of 5% or more.
Not measured yet
Ordinary home computers with a gaming card, NVIDIA RTX 40 and 50 series, large AMD and Intel cards, and an AMD or Intel card with the faster optional engines. Estimates for those, where MyLo gives them, are marked as estimates until a measurement replaces them. If you test MyLo, the optional reports (Admin → Reports) are how those numbers get collected.
Testing
Each feature has automated tests, run before it is delivered, including real-browser checks for the pages. We also run honesty tests: questions where a confident wrong answer is possible, repeated several times, to check MyLo looks things up or says it does not know. These tests found real problems in earlier versions, which were fixed and re-run. Things that cannot be tested without real hardware or large downloads are measured on the real machines, and are marked until then.
Known gaps
- Few machines tested so far. See the release notes for the list.
- One active model at a time. The suite above is planned.
- One machine cannot yet mix NVIDIA generations that need different drivers.
- No thermal protection yet. A guard that reads graphics card and coolant temperatures and refuses to load a model when they climb is planned.
- Faster optional engines for AMD and Intel cards are not built.
- MyLo's own license has not been finalized. We lean toward a permissive one.