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
- Install Codex separately, since it provides the agent interface and Slotstream provides the model.
- Run the Slotstream install command and then
slotstream doctor. - Run
slotstream launch codexfrom the project folder you want to work in. (inferred, check the README) - Give Codex a small task in that folder, such as adding a comment to one function.
- 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
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