On-Prem vs Air-Gapped AI Agents: How to Choose
Corebots Team · · 6 min read
On-premises AI agents run on infrastructure you control, but may still reach the internet for models, updates, or licensing. Air-gapped AI agents run on a network with no internet connection at all, so every component, including the language model, has to run inside it. The difference decides which models you can use and how you operate the system.
The four ways to run AI agents
| Mode | Where it runs | Models | Good for |
|---|---|---|---|
| Vendor cloud | The vendor's multi-tenant service | Any hosted provider | Fastest start, no infrastructure |
| Your cloud / VPC | A single-tenant install in your AWS, Azure, or GCP account | Hosted providers through your own accounts, or self-hosted | Your network boundary, IAM, and egress rules |
| On-premises | Your data center or internal network | Hosted providers through controlled egress, or local models | Data that must stay on your hardware |
| Air-gapped | A network with no internet access | Local models only | Classified, critical-infrastructure, or strictly regulated work |
Five questions that decide it
- Can prompts and data leave your network? If not, you need local models, which means on-prem with no model egress, or air-gapped.
- Does a regulator or contract name a location? Data-residency rules can push you to your own cloud region or your own hardware.
- Who will run it? Self-hosting means your team patches, monitors, and backs it up. Be honest about that cost.
- How good do the models need to be? Local models are capable and improving fast, but the largest hosted models still lead on the hardest tasks.
- How will updates arrive? Online installs can pull updates. Air-gapped installs need a manual, verified update process.
Air-gapped checklist: no hidden phone-home
"On-prem" and "air-gapped" are often used as if they mean the same thing. They do not. Before you call a deployment air-gapped, check that nothing needs the internet:
- The language model runs locally, for example with Ollama.
- Embeddings and search for the knowledge base run locally.
- No telemetry, crash reports, or analytics are sent out.
- Licensing works offline.
- Updates arrive on a manual channel and can be verified before install.
- Agent tools point only at systems inside the network.
- Fonts, scripts, and other assets in the admin app are served locally.
Running agents on local models with Ollama
Ollama makes it simple to run open models on your own servers. For agents, test three things before you commit: how reliably the model calls tools, how well it follows long instructions, and how fast it responds on your hardware. Many teams use a mix: local models for sensitive work and hosted models through their own keys for everything else, chosen per agent.
Keep the same controls in every mode
Wherever agents run, you still need approvals on risky actions, review of every agent change, role-based access, and an audit log. A platform that behaves the same in every mode lets you start in the cloud and move on-prem later without rebuilding your agents.
Corebots runs in our cloud, your cloud or VPC, on-premises, or fully air-gapped, with any major model provider through your own keys or local models through Ollama. It is built for teams in healthcare and insurance that need their data to stay put.
See it on your own use case
We’ll walk through the agents, approvals, and deployment option that fit your team.