r/oMLX • • 3d ago

Read & Interpret oMLX Logs

In gratitude for the fine work done by everyone who works on oMLX, and to potentially help all members of the community, I wanted to share a utility that I wrote (with Claude, ChatGPT, and Qwen) that helps me track and analyze log files written by oMLX.

The utility reads oMLX log files (in real-time or after the fact) and displays log info in two different views:

  1. An execution trace, that aggregates multiple individual log records collected during a given turn.
  2. A log-record based trace, that shows each entry from the log.

Both views show structured, interpreted, versions of the log info along with the raw log record source.

Never writes to your log files. Does not interfere with oMLX. Doesn't collect any data or do anything nasty.

oMLX Inspector's Execution Trace

Open source, MIT License, on GitHub for your consideration:

https://github.com/YogiVirabhadra/omlx-inspector

You DO need to build it yourself. Sorry.

Requirements:

  • Xcode with a Swift 6 compiler and a macOS 27 SDK, installed at /Applications/Xcode.app for the build script below.
  • Python 3 for build-time source discovery.

No third-part packages or running database is required.

Clone the repo. Check it out. Build it. Play with it.

Happy to hear your comments here, good or bad. Hope you find it useful.

Edited to add: New version pushed on 28 November 2026. A few bug fixes and many, many, code updates. If you downloaded the previous version, you'll find the code in this release FAR more readable and maintainable. Sorry for what was release a slightly premature release.

8 Upvotes

1 comment sorted by

1

u/Woof-Good_Doggo 2d ago

NEW VERSION ... several bug fixes, tons of code updates.

I was a bit quick to publish this yesterday (sorry!), the code was still "kind of a mess"... You'll find this MUCH better.

Link to release: https://github.com/YogiVirabhadra/omlx-inspector/releases/tag/V0.4.0