Skip to content

Add an MLX + Core ML row to Install > AI for Apple Silicon - #14805

Open
joshuaswarren wants to merge 3 commits into
omacom:quattrofrom
joshuaswarren:feat/mlx-core-ml-install-row-v4
Open

joshuaswarren wants to merge 3 commits into
omacom:quattrofrom
joshuaswarren:feat/mlx-core-ml-install-row-v4

Conversation

@joshuaswarren

Copy link
Copy Markdown

Adds one row, install.ai.mlx, to Install > AI. It replaces #14250, which the bot closed while it still depended on the convergence branch. #14431 has merged, so this is two signed commits on current quattro.

"install.ai.mlx": {"icon":"󰘚","label":"MLX + Core ML (Apple Silicon)","disabled":"omarchy-pkg-present omarchy-mac-ml","action":"omarchy-install-app 'MLX + Core ML (Apple Silicon)' omarchy-mac-ml","when":"omarchy-hw-aarch64-apple"},

What it does. The row installs omarchy-mac-ml through omarchy-install-app in a floating terminal. That meta package is local machine learning on the Mac: MLX on the GPU and Core ML models on the Neural Engine. The package and its dependencies are already on omarchy-pkgs (#745, #747, #764, #791). disabled: keeps the row listed but dim once the package is installed, like every Install row.

Why it keeps a when:. MLX runs on the Mac's GPU and the Core ML models on its Neural Engine. A package cannot give either to another machine, so the row shows only where omarchy-hw-aarch64-apple is true. This is the same exception the Windows VM row keeps for needing an x86_64 host. install.ai.mlx is in the Install when: whitelist in menu-test.sh, and apple-silicon-quirks-test.sh pins the guard. docs/menu.md says so.

Changes from #14250 for current quattro. Quattro renamed the Apple predicate, so the row uses omarchy-hw-aarch64-apple instead of omarchy-hw-apple-silicon. I dropped the link to platform-guard.md from docs/menu.md: that file is not in quattro.

Tests (Debian host with bash and node, at the branch head):

menu-test                  132 ok, 0 not ok
menu-guards-test            18 ok, 0 not ok
apple-silicon-quirks-test   10 ok, 0 not ok
platform-packages-test       9 ok, 0 not ok

With the row's guard changed to omarchy-hw-x86, menu-test and apple-silicon-quirks-test both fail. The full ./test/shell run on this host has 44 files with one failing check each. They fail the same way on quattro without this change; the host lacks magick, lua and socat, among other things. No file fails only on this branch. This was not run in an Arch chroot.

@greptile-apps

greptile-apps Bot commented Oct 10, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The install path appears safe to merge; the remaining feedback concerns Markdown formatting and a repetitive test.

Findings

  1. P2 Paragraph breaks Markdown style ▶
  2. P2 Tests repeat the menu value ▶

Summary

Adds MLX + Core ML to Install > AI for Apple Silicon Macs.

  • Apple Silicon Macs get an MLX + Core ML install option in the AI menu.

Reviews (3) · Last reviewed commit: "Merge remote-tracking branch 'origin/qua..." · Reviewed by Greptile

The row installs omarchy-mac-ml, the meta package for local machine
learning on the Mac's GPU and Neural Engine, with omarchy-install-app.
Its disabled: guard dims it once the package is installed, as for every
Install row.

Its when: is the platform alone. The Install rows no longer ask the
sync databases, and omarchy-mac-ml cannot help a machine that is not an
Apple Silicon Mac: MLX runs on the Mac's GPU and the Core ML models on
its Neural Engine, and a Snapdragon that syncs the same aarch64
repository can run neither. apple-silicon-quirks-test.sh and
menu-test.sh pin the guard, as they do for the other platform rows.
The package ships MLX for the Mac's GPU and Core ML models for the
Neural Engine, so the row and its install display name now say
'MLX + Core ML (Apple Silicon)'. The id and both guards stay.
@joshuaswarren
joshuaswarren force-pushed the feat/mlx-core-ml-install-row-v4 branch from 3940941 to 3e21b84 Compare October 25, 2026 01:36
Comment thread docs/menu.md
Comment on lines +110 to +113
A few Install rows keep a `when:` because no package fixes another machine:
the Windows VM needs an x86_64 host, and `install.ai.mlx` needs an Apple
Silicon Mac, since `omarchy-mac-ml` runs MLX on the Mac's GPU and its Core ML
models on its Neural Engine.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Paragraph breaks Markdown style

The new paragraph in docs/menu.md wraps across four lines. AGENTS.md requires full lines in Markdown, with breaks only at structural boundaries. Put this paragraph on one line before merging to satisfy that requirement.

Suggested change
A few Install rows keep a `when:` because no package fixes another machine:
the Windows VM needs an x86_64 host, and `install.ai.mlx` needs an Apple
Silicon Mac, since `omarchy-mac-ml` runs MLX on the Mac's GPU and its Core ML
models on its Neural Engine.
A few Install rows keep a `when:` because no package fixes another machine: the Windows VM needs an x86_64 host, and `install.ai.mlx` needs an Apple Silicon Mac, since `omarchy-mac-ml` runs MLX on the Mac's GPU and its Core ML models on its Neural Engine.

File Used: AGENTS.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Comment thread test/shell.d/menu-test.sh
Comment on lines +342 to +346
assertEqual(
defaultById['install.ai.mlx'].when,
'omarchy-hw-aarch64-apple',
'menu hides the MLX row off every machine that is not an Apple Silicon Mac'
)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Tests repeat the menu value

This assertion and the one in test/shell.d/apple-silicon-quirks-test.sh reread install.ai.mlx and compare its when value with the string just added. AGENTS.md forbids dedicated tests for small declarative changes and checks that merely restate edited config. Remove both assertions before merging; keep the update to the existing Install whitelist.

File Used: AGENTS.md (source)

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

@omarchybot omarchybot added the enhancement New feature or request label Nov 2, 2026
…nstall-row-v4

# Conflicts:
#	test/shell.d/apple-silicon-quirks-test.sh
#	test/shell.d/menu-test.sh
@joshuaswarren

Copy link
Copy Markdown
Author

[Joshua's agent] Merged quattro into the branch at 5f9d467; the menu, guard, Apple Silicon quirk, and platform package checks pass locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants