Skip to main content
OllaBridge Logo

OllaBridge ⚡️

Bring your own LLMs, devices, GPUs, and provider accounts. Use them securely from anywhere through one OpenAI-compatible API.

PyPI version Python 3.10+ License: MIT Code style: black

Quick Start • The Dashboard • Why OllaBridge • Local vs Cloud vs Enterprise • Docs

OllaBridge Dashboard — live routing control tower

The OllaBridge control tower: your models, devices, providers, and cloud relay — live, in one place.


🎯 What is OllaBridge?

One gateway. All your LLMs. Everywhere.

OllaBridge turns your PC into a private, OpenAI-compatible LLM provider in ~60 seconds — and grows with you into a hybrid control plane for every model you can reach: local Ollama, remote GPUs, your team's workstations, and your own OpenAI/Anthropic/Gemini accounts.

The problem: your models live everywhere (laptop, cloud GPU, gaming PC, hosted APIs), and every app needs a different endpoint, key, and config.

The OllaBridge answer: apps connect to one URL with one key. OllaBridge routes each request to the right compute — and can always tell you exactly where it went.

graph TB
    A[Your Apps] -->|OpenAI SDK| B[OllaBridge<br/>Control Plane]

    B -->|Auto Routes| C[Local Laptop<br/>llama3.1]
    B -->|Auto Routes| D[Free GPU Cloud<br/>deepseek-r1]
    B -->|Auto Routes| E[Remote Workstation<br/>mixtral]

    C -.->|Dials Out| B
    D -.->|Dials Out| B
    E -.->|Dials Out| B

    style B fill:#6366f1,stroke:#4f46e5,stroke-width:3px,color:#fff
    style A fill:#10b981,stroke:#059669,stroke-width:2px,color:#fff
    style C fill:#8b5cf6,stroke:#7c3aed,stroke-width:2px,color:#fff
    style D fill:#ec4899,stroke:#db2777,stroke-width:2px,color:#fff
    style E fill:#f59e0b,stroke:#d97706,stroke-width:2px,color:#fff

Key innovation: compute nodes dial out to your gateway over outbound WebSockets. No port forwarding, no VPN, no config hell — your gaming PC at home can serve your laptop at a coffee shop.


⚡ 60-Second Start

pip install ollabridge
ollabridge start

That's it — Ollama is installed if needed, a model is pulled, an API key is generated, and your OpenAI-compatible endpoint is live at http://localhost:11435/v1.

Building from source? Two commands give you the full product, backend and dashboard:

make install      # backend + frontend into .venv (never touches system Python)
make run          # gateway + dashboard at http://localhost:11435/ui

Then point any OpenAI SDK at it:

from openai import OpenAI

client = OpenAI(
    base_url="http://localhost:11435/v1",
    api_key="sk-ollabridge-...",   # printed at startup
)

print(client.chat.completions.create(
    model="llama3.1",
    messages=[{"role": "user", "content": "Hello!"}],
).choices[0].message.content)

Works out of the box with the OpenAI SDK, LangChain, Node.js, cURL — anything that speaks the OpenAI API. More in docs/EXAMPLES.md.


🖥️ The Dashboard

A real-time command center for your entire LLM infrastructure — models, sources, devices, and the cloud relay, all visualized live at http://localhost:11435/ui.

🎛️ Share exactly what you choose — per model

Every model gets its own independent switches: This PC · Cloud · per-app allow-lists · Routing. Nothing leaves your machine until you flip a switch, and the Published to OllaBridge Cloud panel always shows precisely what your paired apps can see — no surprises, no hidden catalog.

Models & Access — per-model sharing controls: This PC, LAN, Cloud, allowed apps, routing

One model published to the cloud and scoped to a single app — the others stay private to this PC. Safe by default, opt-in by design.

🔌 Every AI account in one hub

Connect OpenAI, Anthropic, Google Gemini, IBM watsonx.ai, Azure OpenAI, AWS Bedrock, Groq, Mistral and more — 14 providers plus any OpenAI-compatible endpoint — with one uniform add → test → rotate → remove flow. Keys are encrypted at rest, stored on your machine, and never echoed back. New sources start local-only, private, and routing-off.

External Sources hub — 14 providers including IBM watsonx.ai, uniform add/test/rotate/remove, keys encrypted and local

Sources are peers, not modes — local Ollama and enterprise APIs side by side, each with its own keys, models, and sharing scope.

☁️ Pair once, reach your models anywhere

Cloud Relay Device Pairing
Cloud Relay page — live connection, shared models, device identity Pairing page — link devices with short codes
Model Inventory Local Runtimes
Models page — local model catalog with capability detection Local Runtimes — Ollama and HomePilot execution backends with per-runtime enable toggles
More screens: Providers Hub, Settings & classic Sources
Providers Hub Settings
Providers Hub — BYOK provider routing with encrypted key storage Settings page
Sources (classic)
Sources page (classic)
# Install frontend dependencies
make ui-install

# Development (hot-reload, proxied to OllaBridge API)
make ui-dev

# Production build (served at /ui when gateway is running)
make ui-build

Once built, the dashboard is served at http://localhost:11435/ui whenever the gateway runs. React 19 + TypeScript + Vite, TanStack Query live polling, Framer Motion animation.

OllaBridge Dashboard – Broadcast Tower


🚀 Why Teams Choose OllaBridge

🔒 Local-first by default No cloud login, no telemetry, no prompt logging. Prompts, responses, and keys stay on your machine unless you decide otherwise.
🎛️ Per-model sharing controls Decide model by model what's visible where — this PC, the cloud, a specific app. Publishing is explicit, scoped, and always inspectable.
🎯 One source of truth Every app, every device, one OpenAI-compatible URL. Models can move between machines — your code never changes.
🌍 Any GPU, anywhere Nodes dial out — add a gaming PC, a Colab notebook, or a fleet of cloud GPUs in one command each. See docs/SCALING.md.
🔑 Secure BYOK provider hub Bring your own OpenAI, Anthropic, Gemini, Groq, Bedrock, Mistral keys and more — encrypted at rest, redacted everywhere, routed across your authorized devices and workspaces. See docs/PROVIDER_KEYS.md.
☁️ Optional cloud relay ollabridge login pairs your device with OllaBridge Cloud so your models are reachable from anywhere — metadata-only sync, verifiable end to end.
🧭 Enterprise-grade trust ollabridge doctor verifies every link in the chain. Request tracing, policy routing, RBAC interfaces, audit posture — built in, documented, tested. See docs/ENTERPRISE.md.

🧭 Local vs Cloud vs Enterprise

OllaBridge is local-first. Cloud is optional. Enterprise builds on both.

Mode What runs What leaves your machine How to enable
Local (default) OpenAI-compatible gateway on localhost:11435 Nothing. No cloud login, no telemetry, no prompt logging. ollabridge start
Cloud (optional) Local gateway + outbound relay to OllaBridge Cloud Metadata only by default: device status, model names, routing profiles, health metrics. Never prompts, responses, or provider keys. ollabridge login
Enterprise Cloud orgs, fleet enrollment, shared policies Same metadata rules, org-scoped; bootstrap tokens for fleet provisioning See docs/ENTERPRISE.md
ollabridge start          # local only — no cloud required
ollabridge login          # optional: pair with OllaBridge Cloud
ollabridge sync status    # see exactly what syncs (and what never does)
ollabridge sync disable   # turn all cloud sync off
ollabridge logout         # unpair and delete credentials

The privacy contract (docs/PRIVACY.md, docs/CLOUD_SYNC.md): prompt content, conversation history, provider API keys, RAG documents, and persona memory are never synced unless you explicitly enable each one — and they are all off by default.


🩺 Trust, Verified — ollabridge doctor

You should never have to hope your AI infrastructure works. Verify it:

ollabridge doctor             # all checks, human-readable or --json
ollabridge doctor relay       # WSS connect, register, ping/pong, reconnect
ollabridge doctor e2e         # full request path with latency breakdown
ollabridge doctor security    # secrets at rest, permissions, auth, CORS
Relay:
  ✅ WSS connection established — wss://app.ollabridge.com/relay/connect
  ✅ Device registered — hello accepted
  ✅ Model list sent — 1 models
  ✅ Ping/pong — app-level heartbeat OK
  ✅ Reconnect test — second connection accepted

Every request carries a request_id (X-Request-ID), and the trace store records routing metadata only — never prompt content:

ollabridge traces list        # which model answered, was cloud used, latency
ollabridge route explain coding   # which backend WOULD serve this alias, and why

Policy aliases (local-private, fast, cheap, best, coding, …) are explicit and explainable — local-private is fail-closed: local devices only, no external providers, no relay, no prompt logging. Details: docs/RELAY_VERIFICATION.md.


🔑 BYOK Providers

Secure BYOK routing across your authorized devices and workspaces — keys encrypted at rest (OLLA_SECRET), never printed, never synced by default:

ollabridge providers add anthropic     # choose: local-only / cloud vault / org vault
ollabridge providers test anthropic    # validates the key — no tokens spent
ollabridge providers rotate anthropic  # replace key, stamp rotation time
ollabridge providers list              # keys always redacted

Supported: OpenAI, Anthropic, Gemini, Azure OpenAI, AWS Bedrock, Groq, OpenRouter, Hugging Face, DeepSeek, Mistral, Together, Fireworks, plus any generic OpenAI-compatible endpoint. Free-tier alias routing (free-best, free-fast) via the Providers Hub.


🏗️ Architecture

OllaBridge end-to-end architecture: local gateway, Providers Hub, Hugging Face Inference Providers, and OllaBridge Cloud

  • Gateway (control plane) — FastAPI server exposing /v1/*, the dashboard, and admin APIs
  • Nodes (compute plane) — Ollama/HomePilot/provider adapters that dial out over WebSockets
  • Cloud relay (optional) — outbound-only WSS bridge so your devices are reachable from anywhere, tenant-isolated per account

Deep dives: docs/ARCHITECTURE.md • docs/SCALING.md • docs/THREAT_MODEL.md


🤖 AI-Agent Native

OllaBridge ships an MCP server so AI agents can manage your infrastructure — create enrollment tokens, list runtimes, check health — through the Model Context Protocol:

ollabridge-mcp        # stdio MCP server for Claude Desktop, IDEs, agents

See docs/MCP.md.


📚 Documentation

Getting started Operations Security & Enterprise
Quickstart CLI Reference Security Policy
Tutorial API Reference Privacy
Examples (SDKs, LangChain, cURL) Configuration & Auth Threat Model
Install Guide Scaling & Public Access Deployment Hardening
Setting up AI sources (step by step)
Relay Verification Enterprise Architecture & RBAC
Cloud Sync Provider Keys (BYOK)
Providers Hub Enterprise Readiness Audit
HomePilot Integration Enterprise Roadmap
MCP / AI Agents Avatar Bridge
Local Model Catalog

🗺️ Roadmap

  • Control plane + dial-out node architecture (no port forwarding)
  • Web dashboard (Broadcast Tower visualization)
  • Optional cloud pairing + relay with end-to-end verification (doctor relay, doctor e2e)
  • Explicit, metadata-only cloud sync with privacy-first defaults
  • BYOK provider hub with encrypted key storage, rotation, and redaction
  • Policy routing with explainable aliases (route explain)
  • Request tracing without prompt content
  • Multi-provider free-tier routing (score-based selection)
  • HomePilot persona integration • MCP server for AI agents
  • 🚧 Cloud encrypted vault & organization vault APIs
  • 🚧 Relay streaming (delta/done frames end to end)
  • 🚧 Prometheus metrics • more runtimes (vLLM, llama.cpp, LM Studio)

Full phased plan with shipped/planned status: docs/ROADMAP_ENTERPRISE.md


🤝 Contributing

We welcome contributions! Areas we'd love help with: runtime adapters (vLLM, llama.cpp), monitoring/metrics, security reviews, docs.

  1. Fork the repo
  2. Create a branch (git checkout -b feature/amazing)
  3. Make your changes and add tests (make install-dev && make test)
  4. Submit a PR

📄 License

Apache License 2.0 — see LICENSE

🙏 Built With

FastAPI • Ollama • WebSockets • SQLModel • React + Vite

💬 Support

📖 Documentation • 🐛 Report a Bug • 💡 Request a Feature • 💬 Discussions

🌟 Star History

If OllaBridge helped you, give it a star! ⭐


Compatible with HomePilot

HomePilot

OllaBridge is the recommended gateway for HomePilot personas. Route persona:* and personality:* models to HomePilot while serving local LLMs via Ollama — all through a single OpenAI-compatible endpoint. Setup: docs/HOMEPILOT.md.

It also relays the avatar session: 3D Avatar Chatbot opens one socket to OllaBridge and reaches HomePilot through it — locally as a straight proxy, and through Cloud over the relay link to your own machine. The browser presents OllaBridge's credential and never holds HomePilot's, and there is nothing to configure beyond enabling HomePilot. See docs/AVATAR_BRIDGE.md for the whole workflow.

OllaBridge Architecture

Connect 3D Avatar Chatbot for an immersive VR persona experience with lip sync, gestures, and voice.

3D Avatar + HomePilot Pipeline


Made with ❤️ for the local-first AI community

Stop paying cloud tokens. Use your own compute.

Metadata

Release files for ollabridge 0.1.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ollabridge 0.1.9
File Size Uploaded Provenance
ollabridge-0.1.9.tar.gz 262.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ollabridge 0.1.9
File Interpreter ABI Platform
ollabridge-0.1.9-py3-none-any.whl Python 3 none any Details

Total release size: 588.0 kB

Release files / ollabridge-0.1.9.tar.gz

Download URL ollabridge-0.1.9.tar.gz
Size 262.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3998ab7ee0f70d89b175ab1ccde3c56fd0c3f36b6e101e4ca8fae5e1c0fbaad7
BLAKE2b-256 checksum
How to use checksums
98410e33a19811f9d93f28aa5aaf3aa58065b3558a4518c990a08f52ab40dd20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / ollabridge-0.1.9-py3-none-any.whl

Download URL ollabridge-0.1.9-py3-none-any.whl
Size 325.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83a61661c58a192bb5de19872f440344d420ea5faf68423a5605a3ca565726fb
BLAKE2b-256 checksum
How to use checksums
51dcc51794b06743078a73eae622e3ddbaf04988a4987952e5700158fb6f83a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for ollabridge 0.1.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ollabridge-0.1.9.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page