Self-Hosted Deployment

Which AI Agent Platforms Can Be Self-Hosted or Run in a Private VPC?

An AI agent platform is the layer above LLMs where organizations build, govern, and operate AI agents — specialized assistants with tools, knowledge, permissions, and audit trails — and compose them into multi-agent workflows, installed and operated by your own team — in your data center, private cloud, or VPC — instead of consumed as a vendor-managed SaaS, giving you control over the stack, the models, and the upgrade cadence.

159documented enterprise use cases
14+orchestration node types
40–60%model cost cut via routing
100%of agent actions audit-logged
Short answer

Which AI agent platforms can be self-hosted or run in a private VPC?

Most open-source agent builders and frameworks can. Dify, n8n and Flowise install on your own servers or cloud account; LangGraph, CrewAI, Microsoft Agent Framework, Google ADK and Strands Agents are libraries that run wherever your code runs; and LangChain and CrewAI sell self-hosted platform editions on enterprise terms. Fine-grained permissions and SSO are usually the part held back for a paid edition.

The hyperscaler agent services work differently. Microsoft Foundry Agent Service, Google's Gemini Enterprise Agent Platform and Amazon Bedrock AgentCore are managed services that reach into your network over private networking, not software you install in your own data centre. VDF AI is a commercial platform that does install on your infrastructure, whether a data centre, a private cloud or VPC, or an air-gapped network, with role-based access, approval gates and audit logs included. The vendor facts below were checked against each vendor's own documentation in October 2026.

Built for regulated deployment Deploys on your infrastructureNo data leaves your boundaryFull audit trailSSO & role-based access
The self-hosted ai agent platform decision

The self-hosted agent stack question is really a build-vs-operate question: LangChain-class frameworks give you parts, not a platform — no registry, no approvals, no audit. A self-hosted agent platform is the middle path teams land on after the DIY prototype meets its first security review: open deployment control, but governance and lifecycle management someone else maintains.

The self-hosted agent question is really a build-versus-operate question. Code-first frameworks give you excellent parts — tool calling, planning loops, memory abstractions — but they are libraries, not platforms. There is no registry, no approval workflow, no audit trail, no lifecycle management, and no answer to "which agents exist and who owns them" beyond reading the repository.

That gap is invisible during the prototype and decisive at the first security review. The questions asked there are consistently the same: what can this agent reach, who approved it, what did it do last Tuesday, and how do we turn it off. Those are platform questions, and answering them with bespoke code means building and maintaining a governance layer that was never the point of the project.

For a business, self-hosted AI means the models, agents, documents and logs live on servers you control, on-premises or in your own cloud account, while a vendor maintains the platform software. It is the position most teams reach after the DIY prototype meets production requirements: deployment control and full model freedom, with the registry, approvals and audit maintained by someone else. The buying decision then turns on three questions: who operates the platform day to day, which workflows justify agents rather than chat, and whether governance arrives built in or has to be written.

Platform comparison

Self-hostable AI agent platforms compared (October 2026)

The table separates three things buyers often blur: whether the software can run on infrastructure you control, which licence governs that, and where fine-grained permissions live. A platform that self-hosts freely but keeps role-based access in an enterprise tier is a different proposition from one that ships permissions in every install.

PlatformType and licenceSelf-hosted, VPC or air-gappedPermissions and SSOBest fit
DifyVisual LLM app and agent builder. Apache 2.0 with added conditions: running it multi-tenant needs written permission from Dify, and the console logo and copyright must stay.Self-host the open-source edition on your own servers or cloud account; Dify Cloud is the hosted service.Workspace roles (Owner, Admin, Editor, Normal). Custom roles and per-app access are documented for Dify Enterprise.Single-organisation assistants and RAG apps built visually. VDF AI vs Dify
n8nWorkflow automation with AI agent nodes. Sustainable Use License: free for internal business use; files marked .ee need an n8n Enterprise licence.Self-host on-premises or in a private cloud; n8n Cloud is the hosted service.The free Community edition has no projects (role-based access), SSO, SAML or LDAP; a Business or Enterprise licence key unlocks them.Integration-heavy automations where an agent is one step in a workflow. VDF AI vs n8n
FlowiseVisual agent and LLM-flow builder. Apache 2.0, except an enterprise directory under a commercial licence.Self-hosted, including air-gapped installs, or Flowise Cloud.RBAC and SSO are listed among its security controls; confirm which edition includes them.Developers composing LangChain-style flows visually. VDF AI vs Flowise
LangGraph with LangSmith DeploymentLangGraph is an MIT-licensed library; LangSmith Deployment is LangChain's commercial hosting layer.The library runs anywhere. LangSmith Deployment offers cloud, hybrid (LangChain's control plane, your agents in your VPC) and fully self-hosted topologies; self-hosted and BYOC need the Enterprise plan.Agent-level permissions, approvals and tool scoping are code your team writes.Engineering teams that want graph-level control of agent state. VDF AI vs LangGraph
CrewAIMIT-licensed multi-agent framework, plus the commercial CrewAI AMP platform.The framework runs wherever Python runs. AMP comes as a managed cloud, a self-hosted Factory edition on your own infrastructure, or a hybrid of the two.Framework-only builds leave access control to your code; AMP Factory brings the platform and its compliance controls onto your infrastructure.Role-based crews of agents written in Python. VDF AI vs CrewAI
Microsoft Foundry Agent ServiceManaged Azure service. The Microsoft Agent Framework SDK (Python and .NET) is MIT-licensed and runs anywhere.The agent service runs in Azure. Its Standard Setup with private networking injects agent compute into a subnet of your virtual network, disables public access and keeps agent data in your own Storage, AI Search and Cosmos DB resources.Azure RBAC on the project (the Foundry User role for people who build agents) with Microsoft Entra ID.Azure-first organisations that accept Azure as the boundary. VDF AI vs Azure AI Foundry
Google Gemini Enterprise Agent PlatformManaged Google Cloud service; Vertex AI became part of it on 22 April 2026 and Agent Engine is now Agent Runtime. The Agent Development Kit (ADK) is Apache 2.0.Agent Runtime is managed in Google Cloud, and ADK agents can be containerised and run on your own infrastructure. For disconnected sites, Gemini models have been generally available on Google Distributed Cloud air-gapped since August 2025.Google Cloud IAM for the managed service; your own code for ADK agents you host yourself.Teams standardised on Google Cloud and Gemini. VDF AI vs Google Vertex AI
Amazon Bedrock AgentCoreManaged AWS service that works with any framework and with models in or outside Bedrock. The Strands Agents SDK is Apache 2.0.Runs in AWS. Runtime, Browser and Code Interpreter support VPC connectivity and AWS PrivateLink, so agents reach private systems without public endpoints; there is no edition for your own data centre.AgentCore Policy checks every tool call that passes through Gateway; AgentCore Identity works with Okta, Microsoft Entra ID, Amazon Cognito and other providers.AWS-centred teams that want managed building blocks. VDF AI vs AWS Bedrock AgentCore
VDF AICommercial governed agent platform: agents, multi-agent networks, RAG, approvals and audit in one product.Installs in your data centre, a private cloud or VPC, or an air-gapped network; VDF AI Cloud is the hosted option.RBAC on every plan and on-premises: roles, permission groups and per-role tool grants. Native Microsoft Entra ID SSO on-premises; Okta, Keycloak and other SAML or OIDC providers through an SSO-aware reverse proxy.Regulated teams that need governance in the box rather than built on top.

Two patterns stand out. Open-source licences are not all alike: Apache 2.0 and MIT impose few conditions, while Dify's added clauses and n8n's Sustainable Use License limit how you may host the software for others, which matters to anyone building a service on top of it. And the hyperscalers answer the private-VPC question well but the on-premises question only through separate model-hosting products such as Google Distributed Cloud. If agents must run on hardware you own, your shortlist is the self-hostable rows.

Deployment patterns

Common deployment patterns for AI agents in the enterprise

Few enterprises pick one pattern for every agent. They choose per workload, according to the data an agent touches and how much of the platform they are prepared to operate. These are the five patterns in use, from least to most control.

PatternWhere agents and data runWho operates itChoose it when
SaaSThe vendor's multi-tenant cloud; prompts, documents and logs leave your network.The vendor.The data is low-sensitivity and speed of adoption matters more than control.
Hybrid (split plane)A vendor-hosted control plane with agent workloads in your cloud account; LangSmith's hybrid mode is one example.Shared: the vendor runs orchestration, you run the compute.Data must stay in your VPC but you want managed upgrades. Check which metadata and traces still flow to the vendor.
Private VPC or private cloudYour cloud account, behind private endpoints with no public ingress. Foundry's private networking setup and AgentCore's VPC mode put the managed services here.You, for self-hosted software; the cloud provider, for a managed service.Policy allows a public cloud provider but not shared multi-tenant AI services.
On-premises data centreServers you own or lease, inside your own network perimeter.Your platform team, or a partner who runs it for you.Regulation, contracts or cost at scale point to hardware you control.
Air-gappedAn isolated network with no internet path; models, images and updates arrive through a controlled transfer.Your team, with signed offline updates from the vendor.Classified, defence or critical-infrastructure workloads. See the air-gapped agent platform guide.

The answer to "SaaS, self-hosted, or something else?" is often a sixth option layered on the others: managed private hosting, where a vendor or partner runs a single-tenant instance for you in a data centre or cloud account you choose. It suits teams looking for guided or private agent hosting because they want the data boundary without staffing the platform. VDF AI offers this through its managed AI service provider programme, in which partners deploy and operate the platform for their customers.

Selection criteria

How to choose a self-hosted agent platform: eight checks

1

Install it where it will run. Ask for a trial on your own Kubernetes or VM estate, not in a vendor sandbox. A platform that only demos in the vendor's cloud has not yet shown that it self-hosts.

2

Fine-grained permissions in the edition you will buy. Check whether roles, per-agent tool scoping and SSO ship in the self-hosted edition you are pricing or sit behind an enterprise key. Ask to see a user who can run an agent but not edit its tools.

3

Approval gates on state-changing actions. An agent should read freely within its permissions and wait for a named person before it writes, sends or pays. Confirm that the approval is stored with the run, not in a chat thread.

4

An audit trail you can replay. Pick one real run and rebuild it from the logs: prompt, retrieved documents, tool calls, approvals and output. If any step is missing, so is your evidence.

5

Model freedom without code changes. Swapping a hosted model for a local open-weight one should be a routing change. Platforms tied to one provider's models are the most common source of lock-in.

6

Licence terms that fit how you will use it. Read the licence for multi-tenant, redistribution and branding clauses before a product team or managed service provider builds on it. Internal-use-only terms suit one company and block a reseller.

7

Honest operating load. Estimate who patches, backs up, upgrades and monitors the platform each month. Self-hosting moves that work to you or a partner; it does not remove it.

8

Air-gap readiness if you may need it. Ask how images, models and updates are delivered with no internet path. Mirroring into an internal registry should be documented, not improvised.

For more depth on each check, read the 2026 agent platform buyer's guide and the comparison of open-source and commercial agent platforms.

Self-Hosted by design

Why teams run their AI agent platform self-hosted

Built for technical evaluators and platform engineers who want deployment control without vendor lock-in.

01

You control the stack, not the vendor

A self-hosted AI agent platform runs where you decide — bare metal, private cloud, or an isolated VPC. You choose the models, the upgrade windows, and the integrations, instead of inheriting whatever the SaaS vendor ships next quarter.

02

Open-source engines, enterprise wrapper

The building blocks — Ollama, vLLM, llama.cpp, open-weight models — are mature. What separates a production AI agent platform from a weekend project is the layer above them: access control, audit, observability, and lifecycle management.

03

No per-token or per-message meter

Self-hosting replaces usage-metered pricing with infrastructure you already budget for. Teams that rolled out a token- or message-metered AI agent platform to thousands of employees routinely find self-hosting cheaper within the first year.

What it does

Core capabilities of an enterprise AI agent platform

Governed agent workspaces

Create agents with scoped tools, knowledge bases, and role-based access — not free-roaming chatbots but permissioned digital workers.

Multi-agent orchestration

Compose agents into networks with routing, approval gates, and eight-phase execution so complex workflows stay observable and controllable.

Tool and MCP integration

Agents call enterprise systems — Jira, GitHub, Slack, databases, internal APIs — through a registered, auditable tool layer.

Full audit trail

Every agent decision, tool call, and model response is logged immutably — the evidence layer governance teams and regulators ask for.

Architecture

What a self-hosted deployment changes

Decide the ops model up front: DIY assembly from open-source parts maximizes flexibility but you own every CVE; a supported self-hosted platform gives you the control without the 2 a.m. pager.

The AI agent platform should be deployable with your standard tooling — Docker Compose for pilots, Kubernetes with Helm for production — and upgradeable without data migration surprises.

Model flexibility is the point: the stack should serve open-weight models locally and route to any API you explicitly allow, so no single model vendor becomes load-bearing.

Reference stack

The self-hosted AI agent platform stack

Self-hosted AI agent platform, layer by layer — with the reason each choice holds up under this deployment mode.

Layer Typical choice Why, here
Agent runtime Containerised platform on your Kubernetes estate It should deploy and upgrade like your other services, with no bespoke operational model to learn or staff.
Tool registry Declared tools with per-agent scoping and credentials This is the security answer at review time. Ad-hoc tool wiring in agent code cannot be audited or revoked centrally.
Model access Routed local models through your gateway Agents consume model calls at a rate humans do not. Routing routine steps to small models is what keeps the cost defensible.
Orchestration Declarative multi-agent workflows with approval gates Chained prompts in code are unreviewable. Declarative workflows can be inspected, versioned, and approved by people who do not read Python.
Memory & state Persistent store with per-agent scoping Shared unscoped memory is a data-leak path between agents that no one thinks about until it happens.
Audit Immutable log of decisions, tool calls, and approvals The single most requested artefact in a security review, and the hardest thing to add retrospectively.
Capacity planning

Sizing a self-hosted AI agent platform

Profile Scale Hardware What actually binds
Prototype 2–5 agents, low volume One GPU; the platform itself is CPU-bound Latency here is dominated by tool calls to external systems rather than by inference.
Small business 10–50 staff, one or two agents on document intake or IT requests One 48–96 GB GPU server, owned or rented as single-tenant capacity Hardware is rarely the limit at this size. The scarce resource is the person who reviews approvals and audit logs each week.
Production workflows 20–50 agents, thousands of steps daily 2–4 GPUs with a small model resident Model spend scales with steps, not with the number of agents defined.
Multi-team platform Several teams building on shared infrastructure Shared model tier with per-team quotas Quotas are what stop one team's runaway loop consuming everyone's capacity.
Compliance drivers

Regulations that point to self-hosted

Vendor risk

Takes the SaaS processor behind your AI agent platform off the vendor-risk register entirely.

GDPR

You are sole controller and processor for everything the AI agent platform touches — no international transfer analysis.

SOC 2 / ISO 27001

A self-hosted AI agent platform inherits your existing certified controls and evidence.

IP protection

Proprietary code and documents stay inside the AI agent platform you operate, never training someone else’s model service.

Honest fit check

When self-hosted is the right call — and when it isn’t

Choose self-hosted when

  • Your team already operates containerized services and wants the AI agent platform to be one more well-behaved workload.
  • You need to swap models freely — open-weight today, a different engine next quarter — without renegotiating a contract.
  • Procurement or security has rejected SaaS AI tools and you need an equivalent capability inside your own environment.

Consider another mode when

  • Nobody owns operations → a self-hosted AI agent platform without an owner becomes shadow infrastructure; consider a supported on-premises deployment with vendor SLAs.
  • Your driver is national jurisdiction or classified data → the sovereign and air-gapped variants of this AI agent platform address those specifically.
Deployment modes compared

AI Agent Platform: Self-Hosted vs the alternatives

Deployment mode Typical owner What you gain — and give up
Self-Hosted (this page) Platform Engineering Lead Complete stack and model freedom with no usage meter — in exchange for your team owning operations, CVE response, and the upgrade cadence.
Air-Gapped CISO / Classified Program Lead Structural security no contract can match — in exchange for moving every model, index, and software update through an offline bundle process.
Sovereign CIO / Chief Data Officer (public sector & regulated EU) Legal control that survives foreign disclosure orders and sanctions — in exchange for in-country hosting constraints and heavier procurement diligence.
Private CISO / Data Protection Officer The fastest route to confidential AI — in exchange for a boundary defined by tenancy and contract rather than by a building you own.
Rollout

How to deploy a self-hosted AI agent platform

  1. 01

    Write down the questions your security review will ask

    What can each agent reach, who owns it, what did it do, how is it stopped. Deciding how the platform answers these before building is much cheaper than discovering the gaps in the review itself.

  2. 02

    Register tools centrally with scoped credentials

    Declare every tool an agent may call, scoped per agent with its own credentials, rather than wiring integrations inside agent code. This is what makes access reviewable and revocable.

  3. 03

    Put approval gates on state-changing steps

    Let agents read freely within their permissions and require human approval to write. This is the configuration that gets a pilot approved, and it can be relaxed selectively as trust accumulates.

  4. 04

    Route agent model calls through the gateway

    Send agent traffic through the same routing layer as everything else so routine steps use small models. Agent workloads are where uncontrolled model spend appears fastest.

  5. 05

    Prove the audit trail with a real incident review

    Take an actual agent run and reconstruct it end to end from the logs. If you cannot, the audit trail is insufficient — and it is far better to learn that in a drill than during a genuine investigation.

Failure modes

Where self-hosted AI agent platform projects fail

Framework prototype presented as production

A working demo built on a code-first framework lacks registry, approvals, and audit entirely. The gap surfaces at the security review, typically after the delivery date has been communicated.

Unscoped shared memory

Agents sharing a memory store without per-agent scoping can surface one workflow's data inside another. It is invisible in testing because prototypes rarely run two agents with different data rights.

Uncontrolled model spend from agent loops

A retry loop or a poorly bounded plan can generate thousands of model calls before anyone notices. Without routing and per-team quotas, this is discovered on the capacity graph.

Buyer checklist

How to evaluate a self-hosted AI agent platform

1

Can agents be created and modified by business teams without code, under IT-defined guardrails?

2

Does orchestration support human approval gates and rollback, not just chained prompts?

3

Is every model call routable — small local models for routine steps, larger models where needed?

4

Are audit logs immutable, exportable, and mapped to your compliance frameworks?

5

Can the platform run your required models where your data lives?

Self-hosting converts an AI agent platform from an opex meter into a fixed platform cost: infrastructure you already budget for plus a licence fixed before you commit, instead of a token or consumption bill that grows after the fact.

How VDF AI delivers it

A self-hosted AI agent platform, on the VDF AI platform

VDF AI is built as exactly this: governed agent workspaces (VDF AI Agents) plus visual multi-agent orchestration (VDF AI Networks), deployable wherever your data must stay.

FAQ

Self-Hosted AI Agent Platform questions, answered

What is a self-hosted AI agent platform?

An AI agent platform is the layer above LLMs where organizations build, govern, and operate AI agents — specialized assistants with tools, knowledge, permissions, and audit trails — and compose them into multi-agent workflows, installed and operated by your own team — in your data center, private cloud, or VPC — instead of consumed as a vendor-managed SaaS, giving you control over the stack, the models, and the upgrade cadence.

Why do enterprises choose a self-hosted AI agent platform over a cloud service?

A self-hosted AI agent platform runs where you decide — bare metal, private cloud, or an isolated VPC. You choose the models, the upgrade windows, and the integrations, instead of inheriting whatever the SaaS vendor ships next quarter. Self-hosting converts an AI agent platform from an opex meter into a fixed platform cost: infrastructure you already budget for plus a licence fixed before you commit, instead of a token or consumption bill that grows after the fact.

Which regulations drive self-hosted AI agent platform adoption?

The most common drivers are Vendor risk, GDPR, SOC 2 / ISO 27001, IP protection. Vendor risk: Takes the SaaS processor behind your AI agent platform off the vendor-risk register entirely.

Can VDF AI run as a self-hosted AI agent platform?

Yes. VDF AI is built as exactly this: governed agent workspaces (VDF AI Agents) plus visual multi-agent orchestration (VDF AI Networks), deployable wherever your data must stay. VDF AI Agents and VDF AI Networks deploy on your own Kubernetes estate with the registry, scoped tool access, approval gates, and immutable audit already built, so you get deployment control without maintaining a bespoke governance layer.

Which agent platforms support on-premises and self-hosted deployment?

Among open-source options, Dify, n8n and Flowise can be installed on your own servers, and frameworks such as LangGraph, CrewAI, Microsoft Agent Framework, Google ADK and Strands Agents run wherever your code runs. LangChain and CrewAI also sell self-hosted platform editions on enterprise terms. Commercial platforms built for on-premises use, such as VDF AI, include governance in the install. The managed agent services from Microsoft, Google and AWS run in their own clouds.

Can Microsoft, Google or AWS agent services run in my own data centre?

Not the managed agent services themselves. Foundry Agent Service, Gemini Enterprise Agent Platform and Bedrock AgentCore run in their providers' clouds and connect to your virtual network privately. Their open-source SDKs can run anywhere, and Google offers Gemini models on Google Distributed Cloud air-gapped, but the managed runtime and the services around it stay in the provider's cloud.

What is a self-hosted agent runtime?

It is the service that executes agents, running their reasoning loop, calling tools, holding state and logging each step, on infrastructure you operate rather than in a vendor's cloud. A framework gives you the loop as a library; a self-hosted runtime adds scheduling, isolation, scaling and the audit record around it.

Is there a self-hosted multi-agent platform without vendor lock-in?

Lock-in comes less from the licence than from model and data coupling. Look for a platform that routes to several model providers and to local open-weight models, keeps agent definitions in an exportable form, and runs on standard Kubernetes or Docker. Open-source frameworks minimise licence lock-in but leave governance to you; commercial self-hosted platforms trade some licence freedom for governance you do not have to build.

Do self-hosted agent platforms support fine-grained permissions?

Most do, but often only in a paid edition. In n8n, projects with role-based access and SSO need a Business or Enterprise licence, and Dify documents custom roles in its Enterprise edition. VDF AI includes roles, permission groups and per-role tool grants on every plan and on-premises.

What does self-hosted AI mean for a business?

It means the AI runs on infrastructure the company controls, its own servers or its own cloud account, rather than in a vendor's shared service. Prompts, documents, agent actions and logs stay inside that boundary, and the company chooses the models. The vendor supplies and updates the software; the company, or its IT provider, runs it. Businesses choose this when client confidentiality, regulation or security policy rules out sending data to a public AI service.

Why not just build agents with LangChain instead of using a platform?

Code-first frameworks are good at what agents do and silent on what enterprises must prove: a registry of which agents exist and who owns them, scoped tool access, approval gates, and an immutable audit trail. You can build that layer yourself, but it is a substantial ongoing product to maintain and it is never the reason the project was funded.

What does a security review actually ask about AI agents?

Consistently four things: what systems can this agent reach, who authorised it, what did it do on a given date, and how is it stopped immediately. Each maps to a platform capability — a scoped tool registry, an ownership record, an immutable audit log, and a kill switch — and none is answerable from application code alone.

How much does it cost to run agents on your own infrastructure?

It scales with agent steps rather than agent count, which surprises people: one multi-step workflow can consume dozens of model calls where a chat user consumes one. The controlling factor is routing routine steps to small local models and applying per-team quotas — without both, agent workloads are where uncontrolled model spend appears first.

Should agents be allowed to act autonomously?

Start with read-heavy, write-gated. Let agents gather and reason freely within their permissions, and require human approval for anything that changes state. Relax gates selectively for specific low-risk actions once the audit history supports it — starting from full autonomy makes the first incident an argument for switching the whole programme off.

Enterprise AI Agents

See enterprise AI agents in production

Watch how VDF AI runs governed, multi-agent workflows on your own infrastructure — then compare it against the platforms you are evaluating.

Or start free — no credit card →