Remote script. The quick start pipes install.sh into bash; use the Homebrew formula on Apple Silicon if you prefer.
Who it is forA developer who wants a local endpoint for apps that already speak the OpenAI API.
The problemSetting up a backend, downloading a model and exposing an API by hand takes several tools.
The outcomeA local /v1 API on port 9337 and a web console on port 3131, ready for chat completions.
What you need first
- macOS, Linux or Windows (install script, PowerShell or Homebrew on Apple Silicon)
- One or more machines with a GPU or enough memory for the model
- curl and jq for the README's test requests
Steps
- Install with
curl -fsSL https://raw.githubusercontent.com/Mesh-LLM/mesh-llm/main/install.sh | bash - Finish setup with
mesh-llm setup - Start serving with
mesh-llm serve --auto - List models with
curl -s http://localhost:9337/v1/models | jq '.data[].id' - Send a chat completion request to http://localhost:9337/v1/chat/completions from your app
Prompt for your agent
Install Mesh-LLM/mesh-llm on this machine, run setup and serve --auto, list the available models, and send one test chat completion to localhost:9337 so I can point <app> at it.
Caveat. This card is written from the Mesh-LLM/mesh-llm README, not from a test run by Deduped. Before you start, make sure you have macOS, Linux or Windows. Check the repo for newer instructions before you rely on these steps.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Mesh-LLM/mesh-llm and "Run a local model behind an OpenAI-compatible API in one command"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer