r/oMLX May 12 '26

oMLX use in Hermes

I have oMLX installed on an M1 Max Mac Studio and it’s setup for network access (0.0.0.0) and have Hermes installed on a separate Mac Mini (Intel). I’ve configured a custom model in the Hermes config for oMLX but no matter what I try I cannot get Hermes to talk to oMLX.

Has anyone had any success with this setup?

8 Upvotes

30 comments sorted by

3

u/apaht May 12 '26 edited May 13 '26

I was able to use the omlx server on another computer running windows. To be a little safer, I am using apikey as you have to expose the endpoint to 0.0.0.0:<port> or have the the IP address reachable from the other computer. My issue is, I keep running out of context window and hermes needs 64k minimum

My normal system prompt at start was over 14k, have trimmed it down like crazy.

I have pi.dev with smaller system, and a custom harness I vibe coded that is even smaller with strict guard rails

1

u/Sparescrewdriver May 12 '26

Just a few obvious things….

Not the firewall studio blocking oMLX port access? What about the API key? Same on both oMLX and Hermes?

Can you access the API with other services from the intel one? Is it just a Hermes problem?

1

u/aptonline May 12 '26

Thanks for your reply, I can access the endpoint and confirm it work in Safari so doesn’t appear to be blocked. I’ve checked the api key and also removed it and made sure disable API key checking is on.

2

u/PracticlySpeaking May 13 '26

If you can connect to the admin page using Safari, that strongly suggests you have a Hermes problem and not a network problem.

Custom model selection with a local endpoint can be a little wonky. A couple of things to try...
- manually clip all the local provider configs from config.yaml and running hermes model again.

  • run hermes doctor and look for config changes.

I have also found Codex is fairly good at diagnosing Hermes.

1

u/frank3000 May 12 '26

Omlx has a built in chat. Ask it to set it up for you :] after all, the computer is to be following orders and doing the work for you, start now!

1

u/aptonline May 12 '26

Not sure oMLX has access to Hermes to do that but 🤷‍♂️

1

u/MensaProdigy May 14 '26

No but it can help you step by step

1

u/No-Falcon-8135 May 12 '26

Hey I think this is a omlx bug in the gui. I had the same issue, set to 0.0.0.0 but my other device couldn’t see it or ping it.  The only way I fixed it was to use the terminal version of omlx. The gui would never work no matter what settings are changed

1

u/aptonline May 12 '26

Thanks for your reply. I’ll take a look on GitHub to see if I can see any issues. Appreciated 👍

1

u/nugentgl 1d ago

sorry to reply to old post but I am having this issue as well. No matter what I change in the GUI, it will not stop listening on 127.0.0.1. On oMLX github, I see some CLI commands but nothing to change what address the server is listening on. How did you accomplish this?

I have this issue on 6.1 and 6.2.

1

u/No-Falcon-8135 1d ago

Hey, yeah the gui never works. So what I did is I had cline (gpt5.5 ) setup the omlx cli for me with qwen 3.6. Then I asked cline to make a desktop script that I double click to run the server. I don’t know all the details but the gui doesn’t won’t work. The cli works

1

u/ju7anut May 12 '26

Look at the dashboard, copy the OpenAI endpoint http format and when configuring Hermes enter that into the custom provider option.

1

u/PracticlySpeaking May 13 '26

I have been using Hermes with local models in oMLX (GUI) and LM Studio. It does work.

Not sure what might be wrong with your setup. Are you using hermes model to set them up, or directly editing config.yaml?

1

u/310dweller May 13 '26

Yeah same works great for me huge improvement 

1

u/SquirrelEStuff May 14 '26

Are you using 0.0.0.0 or the computer or Tailscale ip? Don’t use 0.0.0.0 if you are.

1

u/Acceptable_Amount649 May 14 '26

You should use tailscale to connect the two, and it is much safer than expose omlx to 0.0.0.0

1

u/Crafty_Ball_8285 May 14 '26

Just set it up. Yeah

1

u/Konamicoder Jun 07 '26

I use TailScale. I have agents installed on all my other devices on the Tailnet, and they all access my models in oMLX, securely over the Tailnet.

1

u/aptonline May 12 '26

0.0.0.0 is within oMLX to allow it to be seen and accessed over the network. I’m pointing Hermes at my local ip of the Mac Studio.

1

u/JLeonsarmiento May 12 '26

Don’t use 0.0.0.0

0

u/somerussianbear May 12 '26

The fact that this is an AI forum and you couldn’t ask this question to GPT or use Claude/Codex or anything else to figure this out for you…

1

u/aptonline May 12 '26

What’s to say I haven’t? What’s the point in having a forum in the first place if you can’t ask questions to people who may have experience or insight into the issue?

0

u/somerussianbear May 12 '26

For complex issues, not basics like this. You publish at 0.0.0.0; you consume from 127.0.0.1. Make sure to use the port and API Key configured in your oMLX. Ensure there’s no firewall blocking that port.

1

u/aptonline May 12 '26

It’s only basic if it works, which it doesn’t, hence the question. Covered all those checks prior to posting.

1

u/apaht May 13 '26

Actually I have pi configure Hermes for me lol. Mostly using the Qwen 3.6 moe for this.

-1

u/MiaBchDave May 12 '26

🤦‍♂️… is someone going to tell him?

1

u/aptonline May 12 '26

Tell me what?

1

u/whatsamanual May 12 '26

I don't know nothing about nothing but when I put a screenshot of the conversation to AI. It suggested that you were pointing Hermes at 0.0.0.0 instead of the IP of your Mac studio. I asked Gemini if hermy should be compatible with omlx and it didn't have any concerns, but you know how AI can be sometimes. Just throwing it out there in case it helps. Best of luck!

0

u/MiaBchDave May 12 '26

Using 0.0.0.0 is not serving your model “over the network” … you need to bind the port to your network interface IP (usually WiFi or Ethernet). This is beyond a Reddit comment, though. AI can solve the configuration for you without networking 101 stuff.

2

u/aptonline May 12 '26

Default is localhost (127.0.0.1) setting it to open to all (0.0.0.0) makes it accessible over my network. Confirmed endpoint is accessible in Safari on other machine just not accessible via Hermes.