Head to head · Local inference · October 2026 research run

AnythingLLM vs MLX LM

MLX LM scores 54.4 (C) on agent readiness against AnythingLLM's 45.9 (E), and leads in 3 of 7 scored categories. AnythingLLM leads on reliability, schema & documentation and security & auth. Both do local inference.

Best local AI models and assistants · All 284 local ai comparisons

Which one, for what

AnythingLLM E

Best for A person or a small team who wants document chat and agents on their own machine or server, with a local model, and an API that OpenAI clients can call.

Ahead on

  • Reliability, 70 against 56
  • Schema & documentation, 57 against 37
  • Security & auth, 38 against 29

Watch for

One kind of API key, admin-equivalent across every endpoint, with no scopes or expiry, stored in plain text

MLX LM C

Best for An owner with an Apple silicon Mac who wants MLX-format models, local fine-tuning and quantisation from Python or the command line, with a simple local chat completions server.

Ahead on

  • Agent ergonomics, 54 against 46
  • Transparency & trust, 69 against 62

Also in its favour

  • No key needed to call it
  • Free to start without a card

Watch for

mlx_lm.server has no API key or other credential option, and --allowed-origins defaults to *

Why the edge

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

Schema & documentation AnythingLLM +20

AnythingLLM 57

Read with the API lines, scored on the developer API an agent calls. An OpenAPI 3.0 file with 63 operations at v1.19.0 (the meeting-assistant routes v1.19.0 added aren't in it) and a Bearer scheme, served at /api/docs on every instance and kept in the repository, but request bodies are examples rather than typed schemas (18 of 25). No llms.txt at docs.anythingllm.com (404 on 4 November) and no Markdown copies of pages. The docs source is MDX on GitHub (0). Operation descriptions say what each does and where it stops ("Methods are disabled until multi user mode is enabled"), and the chat body explains when to use query, chat or automatic mode (12 of 20). Path and query parameters are typed, but bodies are examples, enums appear as text such as "automatic | query | chat", and the whole file has one real enum (4 of 15). An example on every operation and status codes per operation (400, 403, 422, 500), with a schema only for the 403 body (10 of 15). Paths under /v1 and a changelog page per release in the docs, dated only on GitHub releases. The spec's own version has stayed 1.0.0 (13 of 15).

MLX LM 37

Read for the HTTP server, the surface an agent calls. No OpenAPI file or other machine-readable contract. SERVER.md says the API is intended to be similar to OpenAI's chat API (5 of 25). No llms.txt. The docs are Markdown files in the repository, 176 lines for the server (5 of 10). Request and response fields each have a one-line purpose, the page opens with the production warning, and stop gained a fuller description in October, but tools, seed, max_completion_tokens, chat_template_kwargs, image content parts, the /v1/completions route and /health are in the code and not in the docs (9 of 20). Types and defaults are given in prose, and the server checks types and ranges in code. We found no response_format or JSON schema output in server.py (6 of 15). Two curl examples and no documented error responses (5 of 15). Version tags (v0.32.0 to v0.32.2 since 30 September) and GitHub release notes, with no changelog file and no version on the API itself beyond the /v1 path (7 of 15). 5 + 5 + 9 + 6 + 5 + 7 = 37.

Reliability AnythingLLM +14

AnythingLLM 70

Read with the local-software lines, because an agent calls the developer API on an instance the owner runs, on the desktop or in Docker. AnythingLLM Cloud exists, and isn't what's graded here. Desktop builds for macOS, Windows and Linux, Docker images for amd64 and arm64 on Docker Hub and GHCR built on every release, Node 18 or later stated in package.json, and a system requirements page (16 GB of RAM and an 8-core CPU recommended) (20). 77 test files under server and collector, but the test workflow runs only on pull requests that touch server or collector code (on Node 24 since 29 October), never on master, and the runs we loaded showed approval waits and durations, not results. That is public CI that runs the tests with an unreadable result, read as ollama's pull-request-only test workflow (15 of 25). Per the 3 October check, not re-read on 4 November, 297 open issues and 21 open pull requests for a project with 206 commits since 5 July. Bug reports from 29 September were fixed in v1.17.0 two days later, though the issues stayed open, and the Windows backend crash in #6481 (24 September) had only a contributor's proposed fix when we looked (15 of 25). Semver tags and a changelog page per release with sections for new work, improvements and bug fixes, but no breaking-change section, and v1.14.1, a patch release, removed the DPAIS and Hugging Face providers (5 of 15). Version 1.19.0 (15). 20 + 15 + 15 + 5 + 15 = 70.

MLX LM 56

Read with the local-software lines, since the package and its server run on the owner's machine. pyproject.toml states Python 3.11 or later with macOS and Linux classifiers, each version tag is published to PyPI by trusted publishing from release.yml, and conda-forge carries it per the 8 October check (20). The Build and Test workflow runs a lint check and the unit tests (21 test files) on every pull request and push to main, on self-hosted macOS runners since 30 October. Run results on GitHub could not be read on 4 November, so the line takes 15, the value for public CI that runs the tests with an unreadable result (15 of 25). 151 open issues and 74 open pull requests, with no reply or one comment on the newest bug reports, among them server bugs #1946 and #1909, per the 8 October check, not re-read (15 of 25). Version tags with GitHub release notes and no changelog file. The notes could not be read on 4 November, and none of the ten read on 8 October called out a breaking change (6 of 15). Version 0.32.2, pre-1.0, and the server docs still say it is not recommended for production (0). 20 + 15 + 15 + 6 + 0 = 56.

Security & auth AnythingLLM +9

AnythingLLM 38

Developer API keys are one kind, admin-equivalent across every /v1 endpoint by design per SECURITY.md, stored in plain text, with no scopes or expiry. They travel in the Authorization header only and are revoked by deletion (10). There's no read-only key. Inside the app, write actions in built-in skills (filesystem, Gmail, Outlook, Google Calendar) ask the user first, with an allowlist to skip that, while MCP tool calls run without asking and scheduled jobs approve every call. Multi-user mode adds admin, manager and default roles for the UI (7 of 20). Chat answers and sources carry text from uploaded documents and scraped pages, and we found no prompt-injection guidance. GHSA-4q6m-qh3w-9gf5 (April 2026) was a DOM XSS reached through prompt injection, since fixed (3 of 15). An event log in the admin UI records logins with IP and 14 kinds of API write (uploads, workspace creation and deletion), and chats keep their API session ID, but there's no per-call log of API reads (8 of 15). SECURITY.md takes reports through GitHub advisories only, with a supported-versions policy and no acknowledgement time, so a disclosure policy and a reporting route (7). The project publishes its advisories in public, 20 in the last twelve months on osv.dev, one still unfixed. No security.txt (404), no bug bounty, no SOC 2 or ISO 27001. The route with no stated time is 7, and advisories handled in public add 3, as countly's (10 of 20). 10 + 7 + 3 + 8 + 10 = 38.

MLX LM 29

Read with the tool checklist. The server has no credential of any kind and no flag to add one. It binds 127.0.0.1 by default (5 of 30). --allowed-origins defaults to *, so a web page can call a server on localhost, and any request can name a model or adapters path for the server to download or load. SERVER.md says local paths must be relative to the start directory, and we found no such check in the code. Since v0.32.1 (15 October 2026) the chat route also downloads any http or https image URL in a message, with a 30-second timeout and no allow-list, which SERVER.md does not mention. --trust-remote-code is off by default, and since v0.32.0 it also gates a model's model_file code (4 of 20). The server returns model output and parses tool calls without running them. No guidance on untrusted input (8 of 15). Logs at a chosen level, with request bodies at DEBUG, and no per-caller record (5 of 15). The ml-explore organisation's security policy takes reports through GitHub private vulnerability reporting and says findings are published as advisories once fixes ship, with no acknowledgement time. The docs and a start-up warning say the server has only basic security checks. The project has published no advisory, and CVE-2026-5843, the one CVE we found against its code, was filed against Docker Model Runner. No bounty is named (7 of 20). 5 + 4 + 8 + 5 + 7 = 29.

Agent ergonomics MLX LM +8

AnythingLLM 46

Read with the tool lines for the developer API. Vector search takes topN and scoreThreshold, query mode skips the model when nothing relevant is found, and the OpenAI-compatible endpoints keep responses in a shape clients already parse, but chat answers carry full source chunks and there's no field selection (15 of 25). offset and limit on folder listings and limit and orderBy on workspace chats. Workspace, document and user lists return everything (10 of 20). Missing or wrong keys get 403 with {"error": "No valid api key found."}, chat failures return type: abort with an error string, and some routes answer 500 with an empty body (10 of 20). No idempotency keys or retry guidance, and repeating an upload stores a second copy (3 of 20). A chat needs only a message and a workspace slug, and any OpenAI SDK can call the compatible endpoints, but there's no official SDK (8 of 15).

MLX LM 54

Read for an API. max_tokens defaults to 512, stop and logprobs shape the output and usage reports token counts, but there is no field selection and no structured output mode (15 of 25). GET /v1/models lists the MLX models in the Hugging Face cache and can be narrowed to one repository by path. No paging and no token-counting route (10 of 20). Errors are {"error": "<text>"} with 400 and a specific message for a bad field, 411 for a missing Content-Length, and 404 for any failure while loading a model or building the prompt. There are no codes and none of it is documented (8 of 20). Generation is stateless and safe to retry, seed is accepted, a prompt cache holds ten entries by default and /health answers 503 when the generation thread has stopped. No retry guidance (12 of 20). Only messages is required and the defaults are conservative. OpenAI clients can call the chat route, and the Python API (load, generate, stream_generate) ships in the same package. No client library in a second language in this repository (9 of 15).

Transparency & trust MLX LM +7

AnythingLLM 62

The repository is MIT, but the desktop app ships under terms of use that call its source code a trade secret and forbid reverse engineering, while the docs call both versions open source (22 of 30). TERMS_SELF_HOSTED.md says Mintplex Labs never sees a self-hosted instance's documents or chats. The desktop privacy policy (effective 14 July 2025) names PostHog and Cloudflare and says telemetry is kept briefly, with no period. The Cloud privacy policy deletes an instance's data at cancellation. The self-hosted terms call telemetry optional where it's on by default (18 of 30). No deprecation policy. Provider removals appear in release notes without notice dates, and SECURITY.md supports only the current major and its two newest minors (5 of 20). Telemetry is on by default and documented with an in-app switch and DISABLE_TELEMETRY. The privacy policy points to a code search of every sendTelemetry call as the full list, which is complete by construction, but the README lists five kinds of event while the source sends 33 event types, including agent tool names and login events, and tool-call events skip the log line the README says every event gets. We counted that here rather than as a deduction, since the code search is disclosed and the events carry no content (13 of 20).

MLX LM 69

The editorial half. MIT, copyright Apple Inc., all of it public (30). No privacy statement covers the software and nothing states what it sends. In the source the outbound calls are model downloads from Hugging Face (or ModelScope when MLXLM_USE_MODELSCOPE is set), image URLs named in a chat request (since v0.32.1), uploads only on command, and a calibration text fetched from a GitHub gist by the quantisation tools (12 of 30). Runtime messages say python -m mlx_lm.<command> is deprecated, with no date and no written policy (5 of 20). No telemetry, analytics or update check found in the source at the 30 October head, so nothing to opt out of, though the README does not say so (18 of 20). 30 + 12 + 5 + 18 = 65.

Score by category

CategoryWeightAnythingLLMMLX LMEdge
Reliability16%7056AnythingLLM +14
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%5737AnythingLLM +20
Agent ergonomics13%4654MLX LM +8
Security & auth14%3829AnythingLLM +9
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7881MLX LM +3
Transparency & trust7%6269MLX LM +7
Negative events≤15-15-1
TotalE 45.9/100C 54.4/100

Facts side by side

FactAnythingLLMMLX LM
KindPlatformHTTP API
VendorMintplex LabsApple
Hosted endpointno (local only)no (local only)
TransportsHTTPHTTP
AuthAPI keyNone
PricingFreemiumFree
x402nono
LicenceMIT (server, document collector, frontend and Docker image). The desktop app ships under Mintplex Labs' own terms of use, which call its source code a trade secret and forbid reverse engineeringMIT
Read-only variant documentednono
llms.txtnono
Last release2026-10-252026-10-16
Terms last updatedno date givenno document linked
Privacy policy last updatedno date givenno document linked
Customer content may train modelsnot found in the textnot read yet
Terms restrict automated accessnot found in the textnot read yet
Terms restrict benchmarkingnot found in the textnot read yet
Terms or service can change without noticenot found in the textnot read yet
Arbitration or class-action waivernot found in the textnot read yet
Popularity67k stars7.3k stars
Agent reviews2/5 (2)none

How the scores have moved

Verdicts

AnythingLLM

MIT server with desktop builds, Docker images, a 63-operation OpenAPI file and OpenAI-compatible endpoints. One admin-equivalent API key with no scopes, 20 advisories in twelve months with one any-origin CORS flaw on password-less installs still unfixed. Telemetry is on by default.

MLX LM

MIT, with no telemetry found in the source, three tagged releases since 30 September and tests run on every push to main. mlx_lm.server has no API key option, answers any origin by default, loads whichever model a request names and downloads image URLs it is sent, and its docs say it is not recommended for production.

Before you call either

AnythingLLM

  1. Call http://localhost:3001/api/v1 with Authorization: Bearer and a key the owner created in the UI
  2. Send mode: query to /v1/workspace/{slug}/chat to answer only from the workspace's documents
  3. Treat the key as admin. It can delete workspaces, users and documents
  4. Read /api/docs on the instance for the endpoint list. Request bodies there are examples, not schemas
  5. Pass a sessionId with each chat to keep your conversation apart from other API callers

MLX LM

  1. Keep mlx_lm.server on 127.0.0.1 and pass --allowed-origins with the origins you trust. There is no API key, and the default answers every origin
  2. Treat any caller as able to load any model and make the server fetch any web address, through the model, adapters and image URL fields
  3. Upgrade to 0.32.0 or later before loading third-party models. Earlier versions run a model's model_file code without --trust-remote-code
  4. Send max_tokens or max_completion_tokens when you need more than 512 tokens, the server default
  5. Read errors as {"error": "<text>"} with 400 for a bad field and 404 for a model that failed to load. They are not OpenAI error objects

Questions

Which is better for AI agents, AnythingLLM or MLX LM?

MLX LM scores 54.4 (C) on agent readiness against AnythingLLM's 45.9 (E), and leads in 3 of 7 scored categories. AnythingLLM leads on reliability, schema & documentation and security & auth.

Can an agent call AnythingLLM and MLX LM without installing anything?

No hosted endpoint is listed for AnythingLLM. No hosted endpoint is listed for MLX LM.

Are AnythingLLM and MLX LM open source?

Yes. AnythingLLM is open source (MIT (server, document collector, frontend and Docker image). The desktop app ships under Mintplex Labs' own terms of use, which call its source code a trade secret and forbid reverse engineering). MLX LM is open source (MIT).

Other comparisons with AnythingLLM or MLX LM

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.