Who it is forA developer building an app or script that calls an LLM and wants a local endpoint with no external API key.
The problemPrototyping an AI feature usually means paying for a hosted API and sending test data off the machine.
The outcomeA local server on the Mac that answers requests from Ollama-style or OpenAI-style clients.
What you need first
- An Apple Silicon Mac with at least 16 GB of memory
- macOS 14 or later
- About 110 GB of free SSD space
- An internet connection for the one-time model download
- Terminal access to run the install command
Steps
- Run the Slotstream install command and then
slotstream doctor. - Run
slotstream serve --prefix-cache-dir <folder>with a folder you choose for saved conversation prefixes. (inferred, check the README) - Point your Ollama or OpenAI client at the local server address shown in the startup output.
- Send one test request from your app and confirm a reply comes back.
- Read the engineering guide for the API references and command options before going further.
Prompt for your agent
In the carloslfu/slotstream repo, run `slotstream serve --prefix-cache-dir <folder>` and send one OpenAI-compatible chat request to the local address printed at startup. Expected output: a JSON chat response from the local model. Verify that the response contains generated text and that the server log shows the request.
Caveat. The README notes that the server handles one generation at a time, so load tests with many simultaneous requests will queue.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for carloslfu/slotstream and "Connect your own app to a local model API"
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