Skip to content

Latest commit

 

History

History
147 lines (126 loc) · 6.39 KB

README.md

File metadata and controls

147 lines (126 loc) · 6.39 KB

gmlx

gmlx runs GGUF models on Apple Silicon. It runs the K-quant and IQ-quant files that the community publishes, unchanged, on Metal kernels for Apple's MLX framework. One command, gmlx, chats with a model in the terminal, serves it over OpenAI and Anthropic compatible APIs, connects coding agents to it and talks to it by voice.

These pages are the starting points:

Getting started

  • Installation: Homebrew, uv and pip, the optional features, upgrading and removal.
  • Quickstart: A first model, the server, a request and a connected client.
  • Image generation: Choosing an image model, a first image on the command line, the API, and LoRAs.
  • Migrating from other tools: What carries over from llama.cpp, Ollama and LM Studio.

Serving

  • Configuration: gmlx.yaml, its models, its profiles and how a request gets its settings.
  • Menu bar app: Server status and controls in the macOS menu bar.
  • Speech, embeddings and rerank: The services a server can host beside chat models.
  • Image API: The OpenAI image routes, their request fields and their errors.
  • ComfyUI: The gmlx node pack, which runs the server's image models in ComfyUI graphs.
  • RAG pipelines: Retrieval with the embeddings and rerank services.
  • Structured decisions: A probability for each answer to a fixed set of questions.

Agents and containers

  • Agents and chat apps: Claude Code, other coding agents and Open WebUI, set up by gmlx launch.
  • Container mode: A client in an Apple container that sees only the folders you share.
  • Container access: Shares, the private home, volumes, forwarded ports, pasted files and SSH in a container.
  • Container sessions: Second terminals, background apps, stopping sessions and logs.
  • Custom container images: Packages, Containerfiles, ready-made images and services for container mode.
  • Container recipes: pi packages, dsh plugins, tool servers, a headless browser, Postgres and web search for Open WebUI.
  • Custom agents: A program of your own that gmlx launch runs in a container against the server.
  • Agent examples: A chat page, a notebook server and coding agents in the background, ready to copy.
  • Container security: What a client in a container can still reach on the Mac and the server, and the limits of a session.

Clients

  • Chat: The terminal chat client, its commands, sessions and themes.
  • Voice chat: Talking to a model with gmlx talk.
  • Assistant: Tools and long-term memory for chat, voice and served models.

Models

Performance

Help

  • Troubleshooting: gmlx doctor, common failures, and where gmlx keeps its files.
  • Glossary: The terms these pages use.

Reference

Development