17th Street LabsStart a project
← Blog

Some Data Doesn’t Get to Leave.

Local AI can keep sensitive work inside your environment. Check the whole route.

Sometimes the first model-selection question is very simple: is this information allowed to leave the environment?

If the answer is no, an impressive benchmark does not change the requirement.

Sensitive source code, internal investigations, proprietary workflows, and customer information can all constrain how an AI system is deployed. Local inference can make useful work possible within those constraints. It also changes what the team is responsible for operating and protecting.

Follow the data all the way out

Running the model locally means the inference can happen on infrastructure you control. It does not prove that the surrounding application is offline.

A tool may call an external service. A search feature may send part of the prompt elsewhere. Logs, telemetry, crash reports, or backups may carry pieces of the same information. A local model in the center of that system does not close those routes.

Draw the complete path: input, model, tools, storage, logs, and exported results. Identify where each component runs and who can access its output. Include fallback behavior when the preferred model fails.

That last item matters. A system that silently switches to a cloud model during an error may violate the very boundary the local deployment was chosen to preserve.

“Local” needs a test

Use runtime settings appropriate to the intended environment, then verify the behavior. For example, Ollama documents a local-only mode that disables its cloud features. That setting covers Ollama’s features; it does not control every other application or tool on the machine.

For an environment that must operate offline, test it under the actual network restrictions. Observe attempted outbound connections. Check what the system does when a dependency is unavailable. Make failure explicit rather than letting the application improvise a new data route.

Treat this as a deployment requirement with evidence, rather than a description on an architecture slide.

Choose capability inside the boundary

Once the data boundary is clear, compare models and hardware that can operate within it. Start with a bounded workflow and an acceptance test.

A smaller model may handle a useful portion of the work. A difficult case may need more capable local hardware, additional context, or a human reviewer. Escalation does not have to mean sending the data to an external API.

If an approved hosted environment is an option, evaluate it separately. Hosting on a rented GPU is still hosting with another provider. It should not be described as equivalent to an offline workstation simply because you manage the model process.

Keep the permissions narrow

Local tools can still read the wrong files, alter data, or expose results to another user. Give the system only the access its job requires. Separate test work from sensitive production resources, protect stored artifacts, and define who can approve consequential actions.

Untrusted documents also remain untrusted when processed locally. Their text can contain instructions that conflict with the task. Application controls must enforce the intended authority boundary; the location of inference does not resolve that problem.

Write down the trade you are making

A useful deployment decision should explain what stays inside the environment, what may leave, how those rules are enforced, and how the team verified them. It should also name the performance and maintenance costs being accepted.

Now engineering, security, and the person paying for it can discuss the same decision.

Local AI is valuable when it enables a task under requirements you can actually meet. The goal is a system whose data behavior you can explain and demonstrate—not a reassuring label that everyone hopes means the same thing.

This is part of our work on AI Security.

The useful bits. In your inbox.

Our newsletter brings you practical AI lessons, experiments, and ideas worth your time.

Keep reading

The Agent Is Working. Does Anyone Know What It’s Doing?

Let’s talk

Got a hard one of your own?

Blog

There’s more where
that came from.

Enjoying the useful bits? Pop in your email and explore the Blog.

Free access, remembered in this browser. We use your email to register your access—not to sign you up for marketing.

Tell us what you are building.

A few sentences is plenty. An engineer reads every message.

Goes straight to the team. Reply within a business day.