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

How to use Codex with a local model on your Mac with Slotstream

Launch Codex against the Slotstream model so code tasks stay on your machine.

Short answer: Install Codex separately, since it provides the agent interface and Slotstream provides the model; then run the Slotstream install command and then slotstream doctor; run slotstream launch codex from the project folder you want to work in. All steps.

Who it is forA developer who uses Codex and wants code tasks handled on a private local model.

The problemSending proprietary code to a remote model is not always allowed, and Codex needs a model it can reach.

The outcomeCodex connected to the local model through one launch command, with the server started automatically if none is running.

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. Install Codex separately, since it provides the agent interface and Slotstream provides the model.
  2. Run the Slotstream install command and then slotstream doctor.
  3. Run slotstream launch codex from the project folder you want to work in. (inferred, check the README)
  4. Give Codex a small task in that folder, such as adding a comment to one function.
  5. Check that the change appears in the file and that the reply came from the local server.

Prompt for your agent

In the carloslfu/slotstream repo, run `slotstream launch codex` from <project path>. Expected output: Codex opens connected to the local model. Verify by asking it for a one-line code explanation of <file name> and confirming it responds.

Caveat. The README says only one generation runs at a time, so other apps connected to the same server will share the model and wait their turn.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for carloslfu/slotstream and "Use Codex with a local model on your Mac"

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