Repository navigation
omxcode 0.1 alpha: one Mojo file, native on Linux, the web and Android, the GPU underneath, agents built in
Pre-releaseSee it in action: https://abhisheksreesaila.github.io/omxcode/
omxcode is a framework for writing an app once, in Mojo, and running it natively on Linux, the web and Android, with Mac and
iPhone building today. The same file computes on the GPU, and any AI agent can use the app as a set of MCP tools.
Its showcase, omxplorer, is a data app in the spirit of Numbers and Power BI, about 2,100 lines of Mojo.
What's in the alpha
- Native controls on every host. One
app.mojobecomes GTK 4 on Linux, HTML on the web (FastHTML), Android views,
AppKit and UIKit. Linux, the web and Android are run by checks; Mac and iPhone build and sign but no check runs them yet. - Data on the GPU, in the app's process. MX frame, a Mojo dataframe engine: sum, median and p90 per group, number
conditions, months, quarters and weekdays. A chart over 1M rows takes 0.5 to 0.7 ms; a 100M-row file opens in 0.2 s. - The chart is its sentence. "Sum of revenue by product, largest first, top 5" — tap a word to
change it, or type "median" or "by month, as a line". It's a keyword reader, instant and offline, not a model. - Agents with no API. Every app is an MCP server from its first line: a button's tag names its tool, and calling the
tool is tapping the button. A disabled button isn't a tool. - Drawn views on the GPU. A 1M-row grid scrolls at 0.8 ms a frame (p95); the Data Lens colours 20M points in 1.5 ms.
Known limits
- At 100M rows in memory, a median chart takes about 0.7 s and the window waits for it. Moving that work off the window is next.
- The GPU path is NVIDIA. Apple and phone GPUs use the CPU path, which runs the same functions.
- Mojo 1.1 has no official iPhone, Android or WebAssembly target; omxcode cross-compiles with two hand-written runtime
functions (spike/kgen_shim.c). There's no Windows build. - The agent can't yet read a chart's figures as text or drag objects on a page.
Try it (x86-64 Linux, GTK 4, libadwaita 1.7+, pixi; an NVIDIA GPU for the GPU path)
git clone https://github.com/abhisheksreesaila/omxcode
cd omxcode && pixi install
scripts/omxplorer.sh # native window
scripts/omxplorer.sh web # the same app at http://127.0.0.1:5001MIT licence. Every number above comes from scripts/check or its benchmarks on one machine (RTX 3090).
Renamed from omxapp to omxcode on 2026-10-21 (omxapp is a common business-suite name).
Mac builds (Apple Silicon, first run on hardware 2026-10-22):
omxplorer-mac-arm64-untested.zip: it runs; the grid and the Report's charts don't show yet. Choosing a file isn't built on the Mac: start from a sample. It computes on the CPU.maccheck-mac-arm64.zip: every control on seven pages. Press Run tests and it walks them by itself, saving a picture and a list of the views after each change to~/Desktop/omxcode-report-maccheck/.- Every Mac app has a Debug menu: Record a report (⌥⌘R), Take a snapshot (⌥⌘S), Open the report folder.
- If macOS says an app is damaged:
xattr -dr com.apple.quarantine <App>.app.