Why run Shuffle AI agents on self-hosted LLMs
If your alert data is too sensitive to send to a third-party model, you can run Shuffle AI agents against a model you host yourself, using Ollama or vLLM, so inference stays inside your network. This page covers how that setup works in Shuffle, how it compares with routing inference to Shuffle Cloud credits, and the controls that keep a person in charge of agent actions. The decision is not only about where the model runs. It also determines what data leaves your perimeter during enrichment and triage, who pays for inference, and which team owns the model's uptime. Shuffle's own documentation states that all features are available in the open-source edition, which is licensed under AGPL-3.0, so the agent capability itself does not depend on buying a paid tier.
Shuffle's AI features can also consume Shuffle Cloud credits, so the choice is between two inference paths. With Cloud credits, prompts and alert context go to a hosted model and you pay per use. With a local model, your team carries the hardware, the model lifecycle and the operating work, but alert payloads stay on your servers. Before you choose, confirm with Shuffle which AI features call Cloud models and which can be pointed at a local endpoint in your version, because that differs by release. Also confirm which fields a playbook sends to the model, since enrichment prompts often include hostnames, user names and file hashes. Ask your team to inventory those fields and check them against your data classification rules.
Each path has recurring costs to plan for. Cloud credits are a metered recurring charge that grows with agent volume. Self-hosted inference costs hardware or accelerator capacity, power, and the staff time to patch Ollama or vLLM, which ship frequent releases. Ask any implementation partner for a written quote that separates one-time setup from monthly operation, and ask how the design handles a model outage, since a SOC playbook that waits on an unavailable model delays triage. Plan an endpoint health check and a fallback route before go-live.
Choosing between Ollama, vLLM and Shuffle Cloud credits
Ollama suits a single host or a small GPU or CPU footprint where one team wants a local model behind Shuffle agents with little setup. Ollama runs models on your own hardware, and its documentation states that when it runs locally it does not see your prompts or data. The local API at port 11434 needs no authentication by default, so the host should stay on a private network.
- Data location: prompts and alert content stay on the host when the model runs locally.
- Bind address: Ollama listens on 127.0.0.1 by default, and the
OLLAMA_HOSTvariable changes that, so any exposure needs a proxy with authentication. - Concurrency:
OLLAMA_NUM_PARALLELdefaults to 1 request per model, so plan capacity for parallel agent runs. - Cost components: hardware or cloud instance, storage for models under
OLLAMA_MODELS, and the staff who patch and watch the host. Running models on your own hardware is listed as unlimited on the pricing page. - Cloud features: set
OLLAMA_NO_CLOUD=1if cloud models must be disabled.
Confirm your model choices, memory needs and patch cadence with the Ollama release notes before you commit to a host size.
vLLM fits teams that need a serving engine for more concurrent load, an OpenAI-compatible API, or multi-GPU scaling across nodes. It has no paid edition, so cost comes from accelerator capacity, the surrounding infrastructure, implementation and operation. Shuffle agents or other applications written for the OpenAI API can point at a vLLM server started with vllm serve.
- Endpoints:
/v1/chat/completions,/v1/completions,/v1/responsesand/v1/embeddingsare exposed by the server. - Hardware: NVIDIA CUDA, AMD ROCm, Intel XPU, x86, ARM and Apple silicon are supported, so confirm your accelerator against the installation docs.
- Scaling: tensor parallelism works within a node, pipeline parallelism across nodes, and Ray or multiprocessing handles multi-node runs.
- Security work:
--api-keydoes not cover/metrics,/healthor/invocations, so a reverse proxy should allowlist only user endpoints. Multi-node traffic is insecure by default and needs an isolated network. - Operating effort: release cadence is about every two weeks for minor versions, so plan upgrade testing.
Ask your platform team who will own GPU drivers, the proxy and metrics collection before choosing this path.
The Shuffle Cloud credit path sends inference to a hosted service, so the team accepts that prompts and alert content leave your network. It reduces the model server work your team carries, but it changes the data location question entirely, which is why it suits only environments where external processing is already approved. Shuffle licensing is metered on app runs, which are actions that execute in a workflow, and this is separate from any model inference cost you may face.
- Data location: alert content is processed outside your perimeter, so check your data classification rules first.
- Cost model: credits are consumed by usage, so the cost recurs with agent activity rather than hardware.
- Licensing: app runs are counted on execution, and triggers and skipped actions are not counted.
- Operating effort: the model service is operated by the provider, but your team still manages workflows, secrets and approvals.
- Hybrid use: a hybrid setup keeps a local Orborus in your network, but model traffic still depends on the cloud choice.
Ask the vendor for written terms on data retention, processing location and how credit usage is metered before any alert data is sent.
The right path depends on where your alert data may go, how many agent runs happen at once and who can operate a model server. A single host with Ollama lowers early effort but has limited parallel capacity by default. vLLM handles more concurrency and API compatibility, but it adds accelerator management and proxy work. Cloud credits remove the server burden, but they move data outside your network.
- Data rules: if prompts cannot leave the perimeter, rule out the cloud credit path.
- Concurrency: if agents run many parallel requests, compare Ollama's defaults with vLLM's serving design.
- Team skills: GPU operations and reverse proxy hardening are needed for vLLM and for any Ollama exposure.
- Cost lines: separate one-time hardware and setup from recurring power, staff, credits and upgrades.
- Quote scope: ask for who is paid for what, which items recur and what is included in support.
Before you choose, check the current Ollama and vLLM release notes and write your data and concurrency requirements into the scope.
How alert data flows from Shuffle to a self-hosted model
The path starts at the Shuffle backend, which queues the AI action for Orborus. Orborus starts a worker, and the worker launches the app container that calls the model endpoint. Inside the internal network, that call goes to Ollama or vLLM, and the trust boundary is the point to verify: confirm the app container can reach only the local endpoint. The Shuffle Cloud route, shown separately, is the path that leaves the perimeter. Approval and execution trace records are written back to the Shuffle backend's OpenSearch store.
Alert data stays inside the network when the model runs locally.
Configuration options and when each fits
This table compares the settings that control where model traffic goes, who can reach the model endpoint, how much load a model server accepts and where Shuffle keeps its saved credentials. Read each row as a decision: the option, what it changes, and the trade-off you accept when you choose it. The main takeaway is that a local model keeps alert data inside your network only if the endpoint is kept off untrusted networks and the Shuffle encryption secret is backed up before anything else is configured.
| Option | What it controls | When it fits | Trade-off |
|---|---|---|---|
| OLLAMA_HOST | Address and port where the Ollama API listens, default 127.0.0.1:11434 | Keep the default when Shuffle's Orborus runs on the same host as the model. Change it only when a remote worker must reach the model. | Binding beyond localhost exposes an API that has no built-in authentication, so a proxy with access control is needed. |
| OLLAMA_MODELS | Directory where model weights are stored | Move storage to a larger or encrypted disk when models are big or your data policy requires a specific volume. | Model files are large and must be included in capacity planning and backups, or rebuilt after a failure. |
| OLLAMA_NUM_PARALLEL | Parallel requests served per model, default 1 | Raise it when several Shuffle workflows call the same model at once and hardware has spare memory. | Each parallel slot uses more memory, so higher values can slow or crash the model under load. |
| OLLAMA_MAX_LOADED_MODELS | How many models stay in memory at once, default 3 per GPU or 3 on CPU | Lower it on small hardware so agents do not swap models in and out of memory. | Lower values cause reload delays when agents switch between models. |
| OLLAMA_MAX_QUEUE | Requests that wait when the server is busy, default 512 | Lower it to fail fast and surface overload to Shuffle rather than build long agent backlogs. | Too low a limit drops requests during bursts, so workflow steps must handle retries. |
| OLLAMA_NO_CLOUD=1 | Turns off Ollama cloud features so prompts are not sent to ollama.com | Set it on any deployment where alert data must stay inside the network, such as regulated or air-gapped environments. | Cloud-hosted models become unavailable, so the agent is limited to local models you have downloaded. |
| vLLM --api-key | Bearer key checked on /v1, /v2, /inference and /cohere endpoints | Use it as a first control on a vLLM server that Shuffle calls over the network. | It does not protect /metrics, /health, /pause or /abort_requests, so it cannot be the only control. |
| Reverse proxy allowlist for vLLM | Passes only the endpoints users need, such as /v1/chat/completions, to clients | Use it whenever vLLM is reachable from more than one host, which is the common case for Shuffle workers. | It needs its own configuration, certificates and review, and it must be kept in step with vLLM upgrades. |
| Shuffle encryption secret (SHUFFLE_ENCRYPTION_MODIFIER) | Key that encrypts saved app credentials and API keys in OpenSearch with AES-256 | Set it once at install, store it in your secrets manager and back it up before any model or agent credential is saved. | Losing or changing it breaks every saved app authentication, so changes must be planned as a migration. |
How to set up a self-hosted model for Shuffle agents
This sequence takes a self-hosted model from sizing hardware to a verified Shuffle agent run, so alert data is processed on infrastructure you control. Each step ends with a check that tells you whether to move on.
Size accelerator or CPU capacity for the model
Your platform or infrastructure team selects the model you intend to run, then confirms the memory, accelerator and CPU capacity it needs under your expected concurrency. Ollama's concurrency defaults are one parallel request per model and up to 512 queued requests, so agents that run at the same time need explicit planning. Ask your vendor or the model publisher for hardware requirements, and confirm that your chosen runtime supports your accelerator type. Done when you have a written capacity note that names the model, the hardware and the expected number of concurrent agent runs.
Install Ollama or vLLM on an isolated host
Install the runtime on a dedicated host placed on a network segment that Shuffle's Orborus and backend can reach but that has no public route. Ollama suits smaller, single-host setups and vLLM suits GPU-backed serving with OpenAI-compatible endpoints, so choose based on the capacity note from the previous step. Store model files on a volume with enough space, and set OLLAMA_MODELS if you need a different location. Done when the service starts cleanly and the installed model appears in the runtime's model list.
Confirm the local API without public exposure
Send a request to the local API from the host itself, using the default port 11434 for Ollama or the port your vLLM server listens on. Ollama binds to 127.0.0.1 by default and its local API does not require authentication, so keep that binding unless Shuffle runs on another host. If you change OLLAMA_HOST or expose vLLM, put a reverse proxy in front that allowlists only the endpoints Shuffle needs, and confirm that /metrics and /health are not reachable from user networks. Done when a test completion returns from the host and an external scan of the host shows no unintended open port.
Store Shuffle credentials with the encryption secret
Confirm that SHUFFLE_ENCRYPTION_MODIFIER is set and backed up in your secrets store before you save any endpoint or API key in Shuffle. Shuffle encrypts saved app credentials in OpenSearch with AES-256 using this secret, and changing or losing it breaks every saved authentication. If your model endpoint requires a key, such as a vLLM --api-key value, enter it through Shuffle's credential handling rather than in workflow text. Done when you can name where the secret is backed up and a saved test credential is stored without appearing in plain text in a workflow.
Register the model endpoint in Shuffle
In Shuffle, add the model endpoint as an app or connection that points to the internal address of your Ollama or vLLM host, using the port and path from the confirmation step. Name the endpoint so analysts can tell which model it routes to, and restrict which workflows and users can use it. Confirm that the Orborus runtime that executes the agent can reach this address and that no step routes inference to Shuffle Cloud credits by default. Done when the endpoint saves and a connection test from Shuffle returns a successful model response.
Run a test agent on non-sensitive data
Create a simple agent workflow in a test environment and give it a sample input that contains no production alert data, such as a synthetic phishing subject line written for testing. Keep tool permissions minimal for this run, and add an approval step for any action that changes state. Run the agent once and note any output that looks wrong, including tool calls you did not expect. Done when the agent completes with the expected output and the approval step pauses the run as configured.
Check the execution trace before production use
Open the execution trace for the test run and confirm that the model call went to your internal endpoint, not to an external address. Check that each step, tool call and approval appears in the record with the expected inputs and outputs, and that credentials are not shown in readable form. Store the trace as evidence for your security or compliance review, and repeat the test after each runtime or Shuffle upgrade. Done when the trace shows only internal endpoints and the approval and credential checks pass.
How approvals and execution traces keep a human in control
Shuffle AI agents can stop before they finish in two situations: when they need a clarifying answer from a person, and when they reach an action marked as approval-required, such as isolating an endpoint. The control only works if your team decides, before go-live, which actions in the agent's toolset need approval and which can run unattended. Map each MCP tool and Shuffle app action the agent can call to one of those two categories, then test the pause with the exact local model you plan to run. Smaller local models may choose tools differently from larger hosted models, so a pause rule that held in a demo can behave differently in production.
Every workflow execution produces a run history, and that record is what lets an analyst reconstruct why an agent acted. Confirm in your version what each step records: the tool called, the inputs and outputs, the model's reasoning or response, and whether any secrets or sensitive alert fields appear in plain text. Also confirm how long run history is kept, because that depends on the OpenSearch retention you configure, and who can read it. If the trace does not capture something your incident process needs, such as the identity of the approver, decide now whether you will record it elsewhere.
Before relying on these controls, read Shuffle's approval and reasoning control documentation for your release and check its release notes. Shuffle v2.3.0 was published on September 28, 2026, and the agent controls depend on the version you run, so confirm the behavior on that version or later rather than assuming it from older guides. Then run a staged test: trigger a clarifying question, approve one gated action, reject another, and verify both outcomes appear correctly in the run history. Record the results so your change board can review them.
Security risks in a self-hosted LLM path for SOAR
A self-hosted model keeps alert data inside your network only if the model server, its API surface and the agent's tool permissions are locked down. The cards below cover the places where Shuffle AI agents with self-hosted LLMs typically expose data or actions, and the checks to run before connecting production alerts.
Unauthenticated local Ollama API
Ollama's local API on port 11434 does not require authentication, and it binds to 127.0.0.1 by default. Exposing it means setting OLLAMA_HOST, which is often done to let a Shuffle backend or Orborus reach the model across hosts. Keep the listener off public interfaces, restrict it to the workers that need it with host firewall rules, and place an authenticating proxy in front if traffic must cross a network boundary. Confirm which hosts can reach port 11434 from your environment.
Ollama FAQPartial coverage of the vLLM API key
The vLLM --api-key option protects the /v1, /v2, /inference and /cohere endpoints, but not /invocations, /pause, /resume, /abort_requests, /metrics or /health. An operator who assumes the key covers the whole server may leave control and telemetry endpoints open. Place a reverse proxy in front of vLLM that allowlists only the routes Shuffle agents call, and test each unlisted path from outside the cluster to confirm it returns an error.
vLLM security docsUnencrypted node-to-node traffic
In a multi-node vLLM deployment, communication between nodes is insecure by default, with no authorization or encryption. Pipeline parallelism across nodes sends model traffic between machines, so any host that reaches that link can observe or inject data. Place all vLLM nodes on an isolated network segment that only they can reach, and keep the Shuffle-facing endpoint on a separate interface. Ask your platform team to document which segment carries inter-node traffic.
Prompt injection from alert content
Phishing emails, log lines and EDR fields passed to a Shuffle AI agent can contain instructions aimed at the model. If the agent can call apps that isolate hosts, disable accounts or write to ticketing systems, injected text can steer those calls. Limit each agent's tools to the minimum it needs, require human approval for containment actions, and test with known injection payloads before enabling the agent on live queues. Treat model output as untrusted input to the next workflow step.
Overbroad agent tool permissions
A Shuffle agent inherits the app authentications available in its workflow, so a model with access to every saved app can reach far more systems than the task requires. Scope each agent to a specific workflow and set of apps, use separate credentials for read and write actions, and review which apps an agent can invoke before each release. Record the list in your change process so reviewers can confirm the boundary.
Losing the encryption modifier
Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256, using the SHUFFLE_ENCRYPTION_MODIFIER secret. If that value is lost or changed, every saved app authentication stops working, including the model provider keys your agents depend on. Store the value in your secrets manager, back it up alongside OpenSearch, and record it in your recovery runbook before the first agent is connected.
Shuffle configuration docsQuestions buyers ask about self-hosted Shuffle AI agents
What drives the cost of running models locally compared with Shuffle Cloud credits?
Local inference costs are mostly infrastructure and people, while Cloud credits are a metered charge for the work you send. Self-hosted costs include GPU or other accelerator capacity, servers, storage, network, monitoring, and the staff who patch and operate the stack. Shuffle licensing is priced on app runs, meaning actions that actually execute in a workflow, and the pricing article says users, apps and workflows are unlimited. Your choice therefore depends on how many model calls your agents make and how long your hardware stays busy. Ask for a cost model that separates one-time setup from recurring hardware, power, support and operator time, and compare it against the expected volume of agent runs.
Does vLLM have a license fee?
No. vLLM is licensed under Apache-2.0 and has no paid edition, so the cost of running it comes from accelerator capacity, the surrounding infrastructure, implementation and the people who operate it. Ollama is licensed under MIT and runs models on your own hardware without a license charge, although its cloud model plans are a separate paid service. Confirm the license text in each project's repository before you distribute internal modifications, and budget for the GPUs or other accelerators that vLLM supports, since hardware is usually the largest line item.
How long does setup take and what drives the timeline?
The timeline depends on the model choice, the accelerator hardware, the network design and how many systems must connect to the agents. A single-node Ollama test can be stood up quickly, but a production vLLM service with GPU drivers, a reverse proxy, TLS, SSO, audit logging and multi-node networking takes longer. Hardware lead times, approval of the isolated network and the review of model and data handling often set the critical path. Your partner should give a timeline only after the written scope is agreed, with milestones for model validation, Shuffle integration, testing and approval gates.
What must our team provide: GPUs, network and staff?
You provide the compute, the network and the people who own the outcome. Expect to supply GPU or other accelerator capacity sized for the chosen model, servers with enough memory and storage for model files, and an isolated network segment for model servers. vLLM's security documentation says communication between nodes in a multi-node deployment is insecure by default and must be protected by placing nodes on an isolated network. You also need an owner for the Shuffle platform, someone to manage model versions, and a security reviewer for credentials and data flows. Confirm each item with your infrastructure and security teams before the quote is finalized.
Can our internal team set this up alone?
Often yes, if you already run Docker or Kubernetes, operate GPU nodes and maintain Shuffle, but the work spans several disciplines. The stack combines Shuffle's backend, OpenSearch, Orborus and app containers with an inference server, plus proxy controls, credential handling and logging. vLLM's Kubernetes documentation lists several deployment options, and the security documentation recommends a reverse proxy that allowlists only the endpoints meant for users, because the --api-key option does not protect every route. Assess your team's skills in GPU operations, inference serving, secure proxying and Shuffle administration. Where gaps exist, a fixed-scope engagement can fill them with defined deliverables and a handover.
How do Ollama's cloud plans relate to running models locally?
They are separate. Ollama states that running models on your own hardware is always unlimited, and its paid plans cover cloud models. Pro is listed at $20 per month ($200 per year), Max at $100 per month, Team at $500 per month and Enterprise at custom pricing, according to Ollama's pricing page. Local API calls at localhost:11434 need no authentication, but direct cloud inference at ollama.com/api requires an API key sent as a Bearer token. If data must stay inside the network, set OLLAMA_NO_CLOUD=1 or disable cloud features in the server configuration, and confirm that policy in your review. Check the pricing page for current terms before you buy.
Which concurrency settings affect throughput?
Three Ollama settings control how many requests a model serves at once. OLLAMA_NUM_PARALLEL defaults to 1 parallel request per model, OLLAMA_MAX_LOADED_MODELS defaults to 3 times the number of GPUs (or 3 on CPU), and OLLAMA_MAX_QUEUE defaults to 512 queued requests, according to Ollama's FAQ. Raising parallelism uses more memory per model, so the right value depends on your hardware and agent concurrency. For vLLM, throughput depends on tensor and pipeline parallelism, and its Prometheus metrics at /metrics show request counts, token throughput, latency and KV cache use. Measure these during testing before you set limits in production.
What should we ask a partner for in a fixed-scope quote?
Ask for a written scope that names the inference engine, the models, the hardware the partner expects you to provide, and the Shuffle agent workflows in scope. Request deliverables for the network and proxy design, authentication and secrets handling, approval gates, execution trace logging, testing results and an operations handover. Ask which items are one-time and which recur, such as support, model updates and retesting, and what changes if the model or hardware changes. DeployOpen plans and implements fixed-scope work with scope, deliverables and timelines agreed in writing before work starts, and it does not publish a price list, so the quote follows from that written scope.
Where to check the current facts
Confirm every configuration key, API field and version in this design against the documentation for the exact release you deploy. The three products that matter here are Shuffle, Ollama and vLLM, and each publishes its own configuration reference and release notes. Start with the Shuffle configuration docs for SHUFFLE_ENCRYPTION_MODIFIER, Orborus settings and the AI agent options, and the Shuffle architecture docs for where the runtime sits relative to the backend. Check the Shuffle GitHub releases before you pin a tag, because agent features and on-premises model support have changed across recent versions.
For the model servers, use the Ollama FAQ for bind address, model storage and concurrency variables, and the Ollama API authentication docs for the difference between the local API and direct cloud calls. For vLLM, the vLLM online serving docs define which OpenAI-compatible endpoints the server exposes in the version you run, and the vLLM security docs define which paths the --api-key option does not protect. Read the vLLM release notes for each minor version, since endpoint behavior and flags can change between them.
Record the exact versions of Shuffle, Orborus, Ollama or vLLM, and the model weights, in your change record and repeat the check at every upgrade. Ask the Shuffle, Ollama and vLLM contacts to confirm any behavior your compliance or security reviewers depend on, such as where prompts are processed and what is logged, and keep their answers with your architecture decision record. Where a fact in your design cannot be traced to a current document, treat it as unverified until someone has tested it in your own environment.
How DeployOpen scopes and delivers Shuffle AI agent deployments
DeployOpen plans, builds, tests and documents Shuffle AI agents against models you host yourself, so inference and alert data stay inside your infrastructure. Each engagement starts from a written scope that names the agents, the model server, the tools and the approval rules before any build work begins.
How we scope
- Inventory which agent tasks need a model, which tools they may call and which alert data they can read.
- Choose between a local Ollama server and a vLLM deployment based on model needs, accelerator capacity and API requirements.
- Define which actions need human approval, such as endpoint isolation, before any agent is allowed to run them.
How we build
- Connect Shuffle to your self-hosted model endpoint and confirm that no inference traffic leaves your network.
- Restrict the model endpoint behind a reverse proxy that exposes only the routes your agents actually use.
- Test prompt injection, tool permissions and credential handling against the agents before they reach production.
How we hand over
- Deliver a written configuration record covering model versions, endpoints, tool scopes, approval gates and secret handling.
- Document how execution traces and approval records are reviewed, and where they are retained in your environment.
- Walk your operations and security teams through runbooks for model updates, rollback and access changes.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Retesting covers agent changes, new tools, model swaps and Shuffle or model server version upgrades.
- Ask any provider for a written quote that lists hardware, licensing and labor separately before you commit.

