Xpersona
O

Ollama Load Balancer

CLAWHUB · Unverified

Ollama load balancer for Llama, Qwen, DeepSeek, and Mistral inference across multiple machines. Load balancing with auto-discovery via mDNS, health checks, q... Skill: Ollama Load Balancer Owner: twinsgeeks Summary: Ollama load balancer for Llama, Qwen, DeepSeek, and Mistral inference across multiple machines. Load balancing with auto-discovery via mDNS, health checks, q... Tags: auto-discovery:1.0.3, deepseek:1.0.3, distributed-inference:1.0.2, failover:1.0.3, fleet-routing:1.1.0, health-check:1.0.3, high-availability:1.0.2, inference-routing:1.1.0, latest:1.0.4, llama:1.0.

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17dgy27g44azc3tday4qh394d83ensj:ollama-load-balancer
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-twinsgeeks-ollama-load-balancer/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

54,872 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: ollama-load-balancer
description: Ollama load balancer for Llama, Qwen, DeepSeek, and Mistral inference across multiple machines. Load balancing with auto-discovery via mDNS, health checks, queue management, automatic failover, retry on node failure, and zombie request cleanup. Zero configuration. 负载均衡Ollama推理分发。Balanceador de carga Ollama para inferencia distribuida.
version: 1.0.4
homepage: https://github.com/geeks-accelerator/ollama-herd
metadata: {"openclaw":{"emoji":"scales","requires":{"anyBins":["curl","wget"],"optionalBins":["python3","sqlite3","pip"]},"configPaths":["~/.fleet-manager/latency.db","~/.fleet-manager/logs/herd.jsonl"],"os":["darwin","linux","windows"]}}
---

# Ollama Load Balancer

You are managing an Ollama load balancer that distributes inference requests across multiple Ollama instances with automatic discovery, health monitoring, and failover. The load balancer handles all routing decisions transparently.

## What the load balancer solves

Ollama has no built-in load balancing. One machine goes down, your app gets errors. No health checks, no failover, no queue management. You're manually pointing clients at specific machines and hoping they stay up.

This load balancer auto-discovers Ollama instances via mDNS, monitors their health continuously, and distributes load based on real-time scoring. The load balancer automatically retries on failure. Zero config files. Zero Docker. `pip install ollama-herd`, run two commands, and load balancing is active.

## Deploy the load balancer

```bash
pip install ollama-herd
herd              # start the load balancer on port 11435
herd-node         # start load balancer backend node on each machine
```

Package: [`ollama-herd`](https://pypi.org/project/ollama-herd/) | Repo: [github.com/geeks-accelerator/ollama-herd](https://github.com/geeks-accelerator/ollama-herd)

## Load Balancer Endpoint

The load balancer runs at `http://localhost:11435`. Drop-in replacement for direct Ollama connections — same API, same model names, with load balancing built in.

```python
from openai import OpenAI
# Load balancer client — requests are balanced across all backend nodes
load_balancer_client = OpenAI(base_url="http://localhost:11435/v1", api_key="not-needed")
load_balanced_response = load_balancer_client.chat.completions.create(
    model="llama3.3:70b",
    messages=[{"role": "user", "content": "Explain load balancing for LLM inference"}]
)
```

## Load Balancer Health Monitoring

### Fleet-wide load balancer health check (15 automated checks)
```bash
curl -s http://localhost:11435/dashboard/api/health | python3 -m json.tool
```

The load balancer checks: offline nodes, degraded nodes, memory pressure, underutilized nodes, model thrashing, request timeouts, error rates. Each load balancer check returns severity (info/warning/critical) and recommendations.

### Load balancer node status and metrics
```bash
curl -s http://localhost:11435/fleet/status | python3 -m json.tool
```

Returns p

_meta.json

{
  "ownerId": "kn72g7wz3nryt6zm4333kt1t7s818fkf",
  "slug": "ollama-load-balancer",
  "version": "1.0.4",
  "publishedAt": 1775254712073
}

skill-card.md

## Description:

Ollama Load Balancer helps agents guide deployment and operation of ollama-herd for load-balanced Ollama inference across multiple machines, including mDNS discovery, health checks, queue management, failover, and retry behavior.

This skill is ready for commercial/non-commercial use.

## Publisher:

[twinsgeeks](https://clawhub.ai/user/twinsgeeks)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and engineers use this skill to deploy and operate an Ollama load balancer, inspect fleet health, manage routing behavior, and troubleshoot local multi-node inference services.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill includes package installation and local service commands for ollama-herd.

Mitigation: Install in a virtual environment, pin and review the ollama-herd package version before running it, and avoid elevated privileges.

Risk: Settings changes or model pull/delete actions can affect fleet behavior, disk usage, and network usage.

Mitigation: Require explicit user approval before changing settings or pulling or deleting models.

## Reference(s):

- [ClawHub skill page](https://clawhub.ai/twinsgeeks/skills/ollama-load-balancer)
- [ollama-herd package](https://pypi.org/project/ollama-herd/)
- [ollama-herd repository](https://github.com/geeks-accelerator/ollama-herd)
- [Publisher profile](https://clawhub.ai/user/twinsgeeks)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration guidance]

**Output Format:** [Markdown with inline bash, Python, curl, and SQL examples]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include local service URLs, operational checks, package installation commands, and confirmation-gated model management guidance.]

## Skill Version(s):

1.0.4 (source: frontmatter and server release metadata)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Ollama Load Balancer and adjacent AI workflows.