Who it is forA developer or analyst with scripts that call a hosted AI API and who needs to stop sending sensitive text to a third party.
The problemScripts that summarize client notes or internal documents send that text to a hosted provider on every run.
The outcomeThe same scripts keep working, but requests go to a model served on localhost and the text stays on the PC.
What you need first
- A Windows or Linux PC with an NVIDIA card, or an AMD card with 12 GB or more for Qwen3.8-Flash-Next
- Enough disk space for the model file you pick, from about 11 GB to 114 GB depending on the model
- Enough RAM for the model you pick, since large models such as GLM 5.3 Flash and DeepSeek V4 Flash keep most of their file in RAM
- A coding agent that can point at a custom API base, if you want to use one with the local server
Steps
- Install Poly Strata with the one-click installer for your operating system.
- Choose one installed model, such as Qwen3.8-Flash-Next if you have a 12 GB card, and start the server.
- In your script, change only the base URL to the localhost address and keep the request format the same.
- Run the script on one test document and compare the output with what the hosted API returned before.
Prompt for your agent
Take the script at <target script> that calls an OpenAI or Anthropic style API and point its base URL at the PolyStrata server on localhost, using model <model name>. Expected output: the script's summary of <input file> produced without any remote request. Verify that the output is a usable summary and that the network traffic goes only to localhost.
Caveat. Output quality and speed depend on the model and card; the README reports speeds measured on specific PCs, not guarantees for yours.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for VecSzn/PolyStrata and "Point existing AI scripts at a private local 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