DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to connect your own app to a local model API with Slotstream

Run the Slotstream server and point an Ollama or OpenAI client at it.

Short answer: Run the Slotstream install command and then slotstream doctor; then run slotstream serve --prefix-cache-dir <folder> with a folder you choose for saved conversation prefixes; point your Ollama or OpenAI client at the local server address shown in the startup output. All steps.

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

  1. Run the Slotstream install command and then slotstream doctor.
  2. Run slotstream serve --prefix-cache-dir <folder> with a folder you choose for saved conversation prefixes. (inferred, check the README)
  3. Point your Ollama or OpenAI client at the local server address shown in the startup output.
  4. Send one test request from your app and confirm a reply comes back.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer