Running midPilot with a self-hosted or third-party LLM

midPilot needs two microservices, an LLM provider and outbound internet access to read application API documentation. Choosing where inference runs decides your data path, your operating load and your proxy design.

On this page

Running midPilot with a self-hosted or third-party LLM in midPoint 4.11

Teams that want smart integration or connector generation in midPoint 4.11 have to decide where the language model runs before they plan the rollout, because that choice shapes the network design, the data path and the approval conversation with security. Smart integration features need an external smart integration microservice and either a self-hosted LLM inference service or a third-party LLM provider. midPilot itself is two services: midpilot-smart-resource-integration, which supports onboarding suggestions, and midpilot-connector-gen, which generates connectors for applications without a catalog connector. The connector generator analyzes application API documentation retrieved from the internet, so the server hosting it needs outbound access to the documentation sites the target application uses, not only to the LLM endpoint. Confirm the exact outbound destinations for your release in the midPilot setup documentation before the firewall change request is written.

The LLM decision has three parts: who operates the model, where prompts and responses travel, and what each choice costs to keep running. A third-party provider removes inference hosting work but sends prompt content outside your infrastructure, so your data classification and vendor review must allow it. A self-hosted service keeps traffic inside your network, but accelerator capacity, patching and capacity planning become your team's recurring work. Ask any implementation partner to price these as separate line items: the one-time setup of the microservices and model access, and the recurring costs of compute, monitoring and model upgrades. Also confirm which API surface midPilot calls, since OpenAI-compatible endpoints make a self-hosted server easier to substitute, but compatibility should be tested rather than assumed.

Corporate proxies are the most common blocker late in the project. Confirm with your network team whether the microservices can reach documentation sites through the proxy, whether the proxy rewrites TLS, and whether it allowlists the LLM endpoint host and port. Test these paths from the same host and network segment where the services will run, and record the results as evidence for your change board. Plan this check before the rollout date, because a failed proxy rule discovered during connector generation delays both the pilot and the review of how AI service calls are audited.

How midPilot's services, LLM provider and internet access connect

The flow starts in midPoint, which calls the midpilot-smart-resource-integration microservice when smart integration features are used. That service needs an LLM endpoint, which is either a self-hosted inference service or a third-party provider. The midpilot-connector-gen microservice retrieves application API documentation from the internet, so the outbound path is the one to review first. The subgraphs mark the trust boundary you control and the external provider, and the proxy sits on the outbound path. Confirm each hand-off with your own network team before go-live.

Services, LLM endpoints and outbound internet access used by midPilot.

Choosing between self-hosted inference and a third-party LLM provider

vLLM is an open-source inference and serving engine licensed under Apache-2.0, and it has no paid edition. Its server, started with vllm serve, exposes OpenAI-compatible endpoints, so the midPilot services can be pointed at a server in your own infrastructure. Prompts and the connector generator's inputs stay on hardware you run, but the request path still depends on the accelerator, network and proxy design you choose.

  • Where prompts go: Prompts are processed on your GPU or CPU nodes. Only the documentation retrieval step of the connector generator reaches the internet, which is a separate egress path to plan.
  • Who operates it: Your platform team owns the GPUs, the model files, the vLLM upgrades and the metrics pipeline. vLLM ships new minor releases about every two weeks, so an upgrade routine is needed.
  • Licensing and cost: The software cost is zero. Cost comes from accelerator capacity (NVIDIA CUDA, AMD ROCm, Intel XPU or supported CPUs), surrounding infrastructure, and the people who operate it.
  • Security settings: The --api-key option does not cover every endpoint, so the vLLM security documentation recommends a reverse proxy that allowlists only user-facing paths. Multi-node traffic is insecure by default and must sit on an isolated network.
  • Scaling: Tensor parallelism within a node and pipeline parallelism across nodes both raise hardware requirements. Model size determines how many accelerators you need.

Confirm your accelerator model, expected concurrency and endpoint allowlist with your infrastructure team before choosing this path.

Which LLM setup fits which constraint

This table compares self-hosted vLLM, self-hosted Ollama and third-party LLM providers across the constraints that usually decide the choice. Read each row against your own data residency rules, security review and staffing, and treat any figure not listed here as something to confirm with the provider before you commit.

ConstraintSelf-hosted vLLMSelf-hosted OllamaThird-party provider
Data residencyPrompts and model traffic stay in infrastructure you control, provided the inference nodes sit in your environmentLocal runs do not send prompts out, according to the Ollama FAQ; confirm that cloud features are disabled with OLLAMA_NO_CLOUD=1Prompts leave your environment; confirm region, retention and sub-processor terms in the contract
Endpoint authenticationThe --api-key option does not cover every endpoint, so a reverse proxy allowlisting user endpoints is neededLocal API at port 11434 has no authentication by default; add a proxy in front of itBearer API keys or provider-specific credentials; confirm rotation and scope options
Scaling modelTensor parallelism within a node and pipeline parallelism across nodes; multi-node traffic needs an isolated networkConcurrency set by OLLAMA_NUM_PARALLEL, OLLAMA_MAX_LOADED_MODELS and OLLAMA_MAX_QUEUE; intended for fewer, smaller deploymentsCapacity managed by the provider; confirm rate limits and quota increases in writing
Licensing cost basisApache-2.0 license with no paid edition; cost comes from accelerator capacity and operationsMIT license; local use is unlimited, per the Ollama pricing pageMetered or plan-based fees; the Ollama cloud plans list Pro at $20 per month, Team at $500 per month and Enterprise at custom pricing
Operational ownerYour platform or ML operations team, including GPU drivers, upgrades and monitoringYour IT team, usually on a single host or workstationProvider operates the service; your team owns keys, usage and contract review
MonitoringPrometheus metrics at /metrics; protect this path from outside accessConfirm available metrics and logging with your deployment methodProvider dashboards and usage exports; confirm log retention

How to set up midPilot with an LLM endpoint

This sequence takes you from an inference service that is ready to receive requests to a working midPilot setup, where midPoint can call the smart integration microservice, the connector generator can retrieve application API documentation, and a test generation run completes. Each step ends with a check so problems surface before the next layer is added.

  1. Choose and provision the LLM endpoint

    Decide between a self-hosted inference service and a third-party LLM provider, then provision it in the environment where midPilot will run. For self-hosting, the options covered in the supplied material are vLLM, an Apache-2.0 serving engine with OpenAI-compatible endpoints, and Ollama, an MIT-licensed runtime that listens on port 11434 by default. Confirm accelerator, memory and model compatibility with the vendor or project documentation, and confirm with your provider whether the service must be reached over the internet. Done means the endpoint answers a basic chat or completion request from a host on the same network segment the microservices will use.

  2. Restrict the endpoints users and services can reach

    Put the inference service behind a reverse proxy that allowlists only the endpoints midPilot needs, such as the OpenAI-compatible chat completion path. The vLLM security documentation notes that the --api-key option does not protect every route, including metrics and health paths, and recommends this proxy pattern. Ollama binds to 127.0.0.1 by default, so change OLLAMA_HOST only deliberately and keep it on the internal interface. Check from an outside host that administrative and metrics paths return errors, and that the allowed chat path succeeds with the expected key.

  3. Deploy the two midPilot microservices

    Deploy midpilot-smart-resource-integration and midpilot-connector-gen on hosts or containers that your platform team controls. Follow the midPilot setup documentation for the exact versions and configuration keys that match your midPoint release. Keep both services on the internal network with access limited to midPoint and to each other, since the connector generator needs outbound access but midPoint should not be exposed to them directly. Done means both services start cleanly and their health endpoints or logs show no startup errors.

  4. Point midPoint at the LLM and microservice URLs

    In midPoint 4.11, configure the smart integration service URL and the LLM endpoint details, including the model name and credentials if your provider requires them. Store API keys in your secret management process rather than in plain configuration files. Confirm which midPoint administrator role is allowed to use midPilot, since access is guarded by authorization. Done means midPoint saves the configuration and the administration interface shows the smart integration features as available, without connection errors in the server log.

  5. Configure outbound access for documentation retrieval

    The connector generator analyzes application API documentation retrieved from the internet, so it needs outbound HTTPS to the documentation sites you intend to allow. If your organization uses a corporate proxy, configure proxy settings for the connector generator and confirm that the proxy does not rewrite or block the content types the documentation uses. Ask your network team to record which destinations are allowed and to log requests from the service. Done means a test fetch of an approved documentation URL succeeds from the connector generator host and is recorded in your proxy logs.

  6. Verify connectivity between each component

    Test each link in the chain separately before running midPilot end to end. From the midPilot hosts, confirm that the LLM endpoint answers a small request and that the smart integration service can reach it. From midPoint, confirm that it reaches the smart integration service. Check that the LLM endpoint's metrics are reachable only from the monitoring network, if you have enabled them. Done means each connection test passes and you have recorded the endpoints, versions and proxy settings in your configuration documentation.

  7. Run a test connector generation

    Start a generation run against a low-risk application with well-documented APIs, and use a test resource rather than a production system. Review the generated connector and the suggestions before any simulation or deployment, and keep the audit records of the AI service calls for your security team. Done means the run completes, the output is reviewed and the service calls appear in your logs with the expected destinations. If the run fails, check which link failed in the previous step before changing the model or configuration.

Corporate proxies, allowlists and documentation retrieval

The connector generator in midPilot needs outbound internet access because it analyzes application API documentation retrieved from the internet. That makes egress a design input, not an afterthought. The midpilot-connector-gen service has to reach the documentation sources for each target application, and in a locked-down network those destinations are blocked by default. Before the build starts, ask your network team to list every destination the generator will call, separate from the destinations the LLM provider needs, so each can be approved, logged and reviewed on its own terms.

Scope allowlists per destination rather than opening general web access for the midPilot host. Treat each documentation site or API reference as its own entry, with the protocol and port recorded. Where the LLM is a third-party provider, that provider's endpoint is a separate entry with its own data handling review. Where inference runs inside your network, the generator may need no external LLM egress at all, which is a materially smaller approval. Confirm the exact proxy variables, certificate trust and hostnames against the midPilot setup documentation and the target application vendors, since these details depend on your release and environment.

Plan for the proxy itself as a dependency. If outbound traffic passes through a corporate proxy that performs TLS inspection, the generator must trust your internal certificate authority, or documentation retrieval will fail in ways that look like application errors. Test retrieval from the midPilot host using the same proxy path and credentials the service will use, and record the results. Ask the midPoint and security teams to agree who owns each allowlist entry, how changes are approved, and how documentation sources are re-checked when a vendor moves its API reference.

Protecting the LLM endpoint and the data it sees

The LLM endpoint midPilot calls is a service in your infrastructure, and each serving engine has its own defaults for authentication, network exposure and telemetry. The cards below cover the settings to check before midPilot sends it application documentation and resource details.

Limits of the vLLM API key

The --api-key option protects the /v1 endpoints, but not /invocations, /pause, /resume, /abort_requests, /metrics or /health. The vLLM docs warn against relying on the key alone and recommend a reverse proxy that allowlists only the endpoints midPilot needs. Confirm the proxy blocks everything else before you point the microservices at the server.

vLLM security docs

Unauthenticated local Ollama API

The local Ollama API on port 11434 requires no authentication, and Ollama binds to 127.0.0.1 by default. If you change the bind address with OLLAMA_HOST so that midPilot can reach it, put an authenticating proxy in front and restrict access by network. Treat any reachable Ollama port as open to every host that can connect to it.

Ollama FAQ

Node-to-node traffic in multi-node vLLM

In a multi-node deployment, communication between nodes is insecure by default, with no authorization or encryption. Place the nodes on an isolated network so that only inference traffic crosses it, and keep that network unreachable from the midPilot microservices' subnets and from user networks. Ask your platform team to document where that boundary sits.

Metrics and health endpoints

vLLM exposes Prometheus-format metrics at /metrics, covering request counts, token throughput, latency and KV cache use, and a /health endpoint is also available. These endpoints sit outside the --api-key protection, so the reverse proxy should block them for external clients while your monitoring system scrapes them from a trusted network. Review what the metric labels reveal before you share dashboards widely.

Cloud features in Ollama

Ollama states that local runs do not expose your prompts or data to it, but cloud features can route requests to ollama.com. Direct cloud inference requires an API key sent as a Bearer token. Set OLLAMA_NO_CLOUD=1 or the equivalent server configuration entry when the data must stay in your environment, and confirm the setting is active on every node.

Ollama API authentication

Audit of AI service calls

Smart integration sends application documentation, object type details and mapping suggestions to the LLM service, and midPoint 4.11 audits these calls. Decide how long the audit records and any provider logs are kept, who can read them, and whether they contain the sensitive parts of your resource schemas. Ask your compliance team to sign off on that retention before the first onboarding.

midPoint 4.11 release notes

Questions teams ask before running midPilot

What does it cost to run midPilot with a self-hosted LLM?

The software is free, so the cost comes from compute, infrastructure and people. midPilot needs an external smart integration microservice and an LLM, either self-hosted or from a third-party provider. A self-hosted option such as vLLM has no paid edition, so the spend is GPU or other accelerator capacity, the surrounding servers, storage and the staff who operate them. Recurring costs include hardware or cloud instance hours, power or hosting, patching and monitoring. Ask any quote to separate one-time setup from recurring run costs and to state which accelerator and model size it assumes. For a third-party provider, the main recurring cost is usage fees, which Evolveum's documentation does not price.

How much effort does the midPilot setup take?

The effort depends on which LLM path you choose and how much of your environment it touches. midPilot runs as two microservices, midpilot-smart-resource-integration and midpilot-connector-gen, so you deploy and connect both, then point them at an LLM endpoint. A self-hosted model adds work: sizing accelerators, choosing parallelism for the model, placing the endpoint on a network it can reach, and setting up metrics and access control. A hosted provider shifts that work to contracts, network egress and key handling. Ask for a written scope listing each component, the environments covered and the verification steps before work starts.

Can our team set up midPilot without outside help?

Yes, if you have people who already run midPoint, container platforms and inference services. The setup needs skills in midPoint 4.11 configuration, Linux or Kubernetes operations, GPU drivers and a reverse proxy. The hardest parts are usually network design and security review rather than installation. DeployOpen plans, implements and documents self-hosted platforms in your own infrastructure, so a fixed-scope engagement can cover only the parts your team lacks, such as the inference layer or the security evidence. Compare the internal effort with an agreed written scope before choosing.

What does midPilot need from our infrastructure and security teams?

Security and infrastructure teams need to approve several network paths and controls before go-live:

  • Outbound internet access from the connector generator, because it analyzes application API documentation retrieved from the internet.
  • A protected path from midPoint to the smart integration service and from there to the LLM endpoint.
  • Authentication in front of the LLM server. vLLM's --api-key option does not cover every endpoint, so the docs recommend a reverse proxy that allowlists only user-facing routes.
  • Network isolation for any multi-node inference cluster, since vLLM node-to-node traffic is insecure by default.
  • Review of metrics endpoints, logging and model storage locations.
How long does a midPilot rollout take?

No duration is fixed for this topic, so treat any timeline as something to agree in writing. The rollout length depends on hardware lead times, the approval of outbound internet access, proxy and firewall changes, and whether the LLM is self-hosted or hosted. Release timing also matters: midPoint 4.11 is planned for 21 October 2026 according to the midPoint releases page, so confirm which release your environment will run before you plan. Ask any proposal to list the dependencies, the environments and the acceptance tests that close the work.

Does a third-party LLM provider receive our data?

Yes, a third-party provider processes the prompts and content you send, so the data leaves your control unless the setup prevents it. Connector generation retrieves application API documentation from the internet, and the LLM receives the information midPilot sends it. A self-hosted endpoint keeps prompts inside your network. Ollama states that when it runs locally it does not see your prompts, and that cloud features can be turned off with OLLAMA_NO_CLOUD=1. Confirm the provider's data retention, processing location and contract terms with your compliance team before enabling it.

Is a corporate proxy a problem for midPilot?

It can be, because connector generation needs outbound internet access to fetch API documentation and a third-party LLM needs a route to its provider. Confirm which hosts each microservice must reach, whether the proxy inspects TLS traffic, and whether certificates must be trusted by the services. A self-hosted LLM on a private network reduces the outbound list but still needs internal routing from midPoint. Test each path from the same network segment where the services will run, not from a developer workstation.

How DeployOpen works on this

DeployOpen plans and implements the midPilot hosting path inside your own infrastructure, from the inference choice and the two microservices to the network controls around them. The work starts with a written scope that records the LLM provider decision, the egress and proxy requirements and the people who will operate the stack.

How we scope

  • Confirm the midPoint version and whether your target is midPoint 4.11 or later, since smart integration features depend on it
  • Decide between a self-hosted inference service and a third-party LLM provider, with data handling and cost ownership recorded for each
  • Map the outbound internet access that connector generation needs, including any corporate proxy and allowlist requirements

How we build

  • Deploy the midpilot-smart-resource-integration and midpilot-connector-gen microservices in your environment and connect them to midPoint
  • Place the chosen inference service behind an access layer that exposes only the endpoints users need, with authentication and network isolation
  • Configure proxy settings, certificates and logging, then test connector generation end to end against a non-production resource

How we hand over

  • Document the deployed architecture, network flows, configuration keys and the model and provider settings in use
  • Provide runbooks for model updates, service restarts, metrics checks and access changes, sized to your operations team
  • Walk your administrators through the authorization model that guards midPilot so ownership of the setup is clear after handover

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope engagement ends
  • Plan upgrades of midPoint, the microservices and the inference runtime as separate tracks, each tested before production
  • Retest the hosting setup after material changes such as a new model, a proxy change or a new midPoint release

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.