← Back to Blog
Local ModelsBuild vs BuyAction GovernanceGuardrails

The Stack You Run When You Go Local

Shrike Team·September 6, 2026·6 min read

The guides for running an open-weight model in production agree on the stack you should assemble around it. Read together, they are a bill of materials. This post lays that bill out row by row, says honestly which rows the open-source ecosystem covers well, and names the rows that no local stack ships. The point is not that going local is wrong. The point is that the migration ticket rarely lists what left with the provider.

The bill of materials

RowWhat it doesThe self-hosted answerWho runs it
Input classifierLabels a prompt as an injection or jailbreak attempt before the model reads itPrompt Guard as a fast gate, Llama Guard for hazard categoriesYour team: two models to serve, version, and tune
Output validatorChecks the completion for structure, policy, and leakageGuardrails AI, LLM GuardYour team
Dialog and execution railsSteers conversation flow and gates tool execution by programmable rulesNeMo Guardrails, with rails written in ColangYour team: rules to author and maintain per agent
PII handlingFinds and redacts personal data on the way in and outPresidio, or the redaction in the rails aboveYour team
Action gateEvaluates the command, file write, query, or message an agent is about to execute, not just the text it readPartly: execution rails cover the tool calls they were written forYour team, per tool, per agent
ScopeDeclares what this agent is for, which tools it may use, and for how long, so "outside the job" is decidableNot in the stackNobody
Human approvalHolds a consequential action for a person, with a recovery path for the agentNot in the stack; usually a bespoke queueNobody, or an internal build
Session memoryCorrelates turns so a pattern across a session is judged as a pattern, and a locked session has a way backNot in the stackNobody
Evidence recordEvery allow, warn, hold, and block on one record an auditor reads and a SIEM ingestsApplication logs, assembled by hand at audit timeYour team, and your auditor

The first four rows are the content half, and the open-source projects that cover them are good at it. A typical production stack runs Prompt Guard and Llama Guard under NeMo Guardrails, with LLM Guard scanning and Guardrails AI validating outputs (Particula, Spheron). If your team has the headcount to serve, version, and tune five components, the content half is available today, and NeMo's execution rails reach part of the way into the fifth row.

The last four rows are the action half. They are not classifier problems, so no better classifier fills them. They are the questions a security reviewer asks about an agent: what was it allowed to do, who decided the hard cases, what happened across the session, and where is the record. On a hosted API the provider answered some of these on its own terms. On a local stack nobody answers them until somebody builds the answer.

Where the work went

Every row in the table that reads "your team" is a job that used to sit on the provider's payroll. That is the honest accounting of a local-model migration: the risk did not go away, it changed employers. Datanorth says it plainly, open-weight models ship without the guardrails built into hosted APIs and filtering has to be added deliberately (source). Baytech names the operational side: patching, versioning, and lifecycle move to the internal team (source). Neither is an argument against going local. Both are arguments for reading the bill before signing.

The failure mode is not the team that reads the bill and decides to build. It is the retailer whose agent handles returns, whose platform team moved the model on-premise for a sound residency reason, and who now employs three engineers to run a security product instead of selling. They did not choose that. It arrived as a side effect of a ticket that said "data residency" and nothing else.

Two ways to fill the bottom rows

Build them. Some organizations should: those with the scale, the regulatory posture, and the security engineers to own a governance layer as a product. The rows above are the specification, and the open-source content half is a good foundation for it.

Or take them as a service that runs at the boundary you already own. Shrike supplies the action half, and the content half with it, at the SDK, MCP, or proxy layer, for a local model the same as for a hosted one: one base URL points the SDK at Ollama or vLLM, and the policy, the scope, the approval hold, the session memory, and the evidence record apply unchanged. It is a subscription that starts free, and for organizations whose residency reason extends to the governance layer itself, it deploys inside the boundary under an Enterprise engagement. Either way the model stays local, the controls stay yours, and the engineers go back to the shop.

Start with the local models guide. The two halves of the problem are laid out on self-hosted LLM security, and the rows are defined on what is action governance.

Ready to govern your AI interactions?

Start scanning in under 5 minutes. Free tier available — no credit card required.