MLX-LM can resolve the Hugging Face repository ID directly:
bash
1pip install -U mlx-lm
23mlx_lm.generate \4 --model eunjay/WebSailor-3B-MLX-8bit-community \5 --prompt "Reply with one short sentence."\6 --max-tokens 64
For a local checkout, replace the repository ID with ./WebSailor-3B-MLX-8bit.
The model weights alone do not browse the web; web-search or browser tool calls require an external tool/backend and an agent loop.
Tool calling and web-search scope
The original WebSailor-3B agent harness uses both search and visit tools through WebAgent. This MLX conversion was validated only with a one-shot search tool-call smoke test; the full WebSailor/WebAgent search + visit harness was not run against this conversion.
For the smoke test, an explicit JSON-format instruction was supplied so the model emitted a parser-compatible call:
If you need the search tool, output exactly one valid JSON object between <tool_call> and </tool_call>. Use double-quoted keys and this shape: {"name":"search","arguments":{"query":["query text"]}}. Never output YAML labels such as name: or arguments:.
The local OpenAI-compatible MLX server parsed that single call successfully. The search service itself remains external and must execute the requested query. This result is not validation of the complete WebSailor search agent or its visit flow.
Compatibility note
Hugging Face may display Pi, Hermes, or OpenClaw connection examples automatically for compatible serving endpoints. Those examples indicate endpoint connectivity, not validation of WebSailor's search-agent behavior. Tool-call markers and parsers can vary across MLX-LM versions, so treat the result above as a one-shot smoke test and verify the full agent harness before production use.
Attribution
Please retain the original model attribution and Apache-2.0 license when redistributing this conversion. This repository contains converted weights and supporting tokenizer/configuration files; it is not a replacement for the original model card or project code.