Documentation

OpenHydra wraps the AI engine you already run and exposes one OpenAI-compatible endpoint at http://127.0.0.1:16527/v1. Point any tool at it, locally, or across the peer-to-peer network when you need a bigger model.

OpenHydra runs AI models right on your own computer, and connects you to other people’s computers when you want something bigger. Here’s how to get going, all in the app, no coding required.

Getting started

Three steps, no account, no config:

Getting started takes about a minute, no account, and nothing to set up:

  1. Install the app for macOS, Windows or Linux (the macOS build is signed & notarized).
  2. Install the app for Mac, Windows or Linux, just like any other program. On Mac it opens straight away, no scary warnings.
  3. Run a model. OpenHydra detects an engine already on your machine, or installs one for you (see Engines). It serves that model locally at the endpoint below.
  4. Pick a model and press go. A “model” is the AI brain that answers you. Don’t have one yet? OpenHydra installs one for you with a click, nothing to set up by hand.
  5. Point your tools at http://127.0.0.1:16527/v1 with the model id openhydra/auto. Flip to network mode any time to reach models peers are serving.
  6. Start chatting. Type in the app and the AI replies, running right on your computer. Want a bigger, smarter one? Flip a switch to borrow power from the network.

You usually won’t do this by hand, you just chat in the app, and it sends your messages to the AI for you. “Sending a request” simply means an app asking the AI something and getting an answer back. That same ability is what lets other apps use OpenHydra too, that’s what Connectors are for.

Your first request

The endpoint speaks the OpenAI API, so a plain curl works:

curl http://127.0.0.1:16527/v1/chat/completions \
  -H "Authorization: Bearer oh-local" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openhydra/auto",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'

Any non-empty API key is accepted locally. openhydra/auto lets the router pick a model; you can also name a specific one a provider announces. /v1/chat/completions (with SSE streaming), /v1/embeddings and /v1/models are all supported.

Engine discovery & install

OpenHydra doesn't ship an inference engine, it discovers the ones already running on your machine and can install the ones you don't have yet. Supported engines:

An engine is the program that actually runs an AI model on your computer, think of the model as the “brain,” and the engine as the body it runs in. OpenHydra doesn’t include one; it looks for an engine you already have, or installs one for you with a single click. You never need to touch the technical bits below, they’re only there if you enjoy tinkering. The engines it works with:

Discovery

On launch, OpenHydra probes your machine for a running engine on its standard port (Ollama :11434, OpenAI-compatible :8000, LM Studio :1234, llama.cpp :8080, ComfyUI :8188) and detects installed engines wherever they live, a CLI on your PATH (including Homebrew), a /Applications app, or a known virtual environment. If one is already serving, OpenHydra uses it as-is; you don't have to point at anything.

When you open OpenHydra, it automatically looks around your computer to see if you already have an engine running, and just uses it if so. You don’t have to point it at anything or copy any settings, it works this out on its own.

One-click install

From Engines in the app, missing engines install with a consent → live progress → auto-detect flow. Downloads OpenHydra performs itself show a determinate bar (speed & ETA); vendor installers stream their own progress. What runs is chosen per operating system and verified against each vendor's docs:

Don’t have an engine yet? In the app’s Engines screen, click Install next to one and OpenHydra downloads and sets it up for you, showing progress as it goes. When it’s finished, it’s ready to use. The table below shows exactly what gets installed on each kind of computer, handy if you’re curious, but you never have to run any of it by hand.

EnginemacOSLinux
OllamaOfficial install.shOfficial install.sh (systemd service)
LM StudioSigned .dmg → /Applications, server auto-startedAppImage
llama.cppbrew install llama.cppbrew / package manager
ExoNative app .dmg, or headless CLI (source)Source (git + uv, Python 3.13)
ComfyUIDesktop app .dmg, or headless CLI (comfy-cli)comfy-cli (uv)
vLLMvllm-metal MLX plugin (prebuilt wheels)Docker image or uv venv (NVIDIA)
App vs. CLI. On macOS, Exo and ComfyUI offer a choice: the desktop app (robust, no toolchain) or a headless CLI install for running them without a GUI, pick either in the install dialog.

After install, an engine card is one of three states: Install → not installed · Run → installed & idle (self-serving engines) · Manage → running.

Connectors

OpenHydra is an OpenAI-compatible endpoint at http://127.0.0.1:16527/v1. Point any tool with a custom base URL at it and use the model id openhydra/auto (or any model your provider announces). direct plugs in as-is · shim needs an Anthropic→OpenAI translating proxy (e.g. LiteLLM) in front.

A connector lets you use OpenHydra’s AI inside another app, like a coding assistant, your code editor, or any tool with an AI feature, instead of only chatting in the OpenHydra app. Here’s the trick: most of these apps were built to talk to ChatGPT, and OpenHydra speaks that exact same language. So in the app’s settings you just paste one web address, http://127.0.0.1:16527/v1, pick your model, and the app quietly starts using OpenHydra instead. Same app you know, but now the AI is free and running on your own computer. Ready-made settings for popular tools are below, find yours and copy them in.

OpenCode direct
export OPENAI_BASE_URL=http://127.0.0.1:16527/v1
export OPENAI_API_KEY=oh-local
# model: openhydra/auto
VS Code · Continue direct
provider: openai
apiBase: http://127.0.0.1:16527/v1
model: openhydra/auto
Claude Code shim
# Anthropic API → run a translating proxy
# (LiteLLM) in front of OpenHydra
ANTHROPIC_BASE_URL=http://127.0.0.1:4000
OpenClaw direct
openclaw config set model.baseUrl \
  http://127.0.0.1:16527/v1
openclaw config set model.name openhydra/auto
Neovim · codecompanion direct
adapter = "openai_compatible"
url = "http://127.0.0.1:16527/v1"
model = "openhydra/auto"
Emacs · gptel direct
(gptel-make-openai "OpenHydra"
  :host "127.0.0.1:16527" :protocol "http"
  :models '("openhydra/auto"))
Pi direct
pi config set api.baseUrl \
  http://127.0.0.1:16527/v1
pi config set api.model openhydra/auto
Hermes direct
# Settings → Model provider → OpenAI-compatible
base_url: http://127.0.0.1:16527/v1
model: openhydra/auto
Any OpenAI client works. If your tool lets you set a base URL, it connects: use http://127.0.0.1:16527/v1, any non-empty API key, and a model your provider serves. Tools speaking only the Anthropic API need a translating proxy (the shim pattern above).

Sharing your machine

Running an engine already? Turn on Share to serve the herd while your machine is idle, you earn priority for when you need a model bigger than your own, plus reputation that keeps the network honest. Routing, encryption and NAT traversal are handled for you; you choose which models to offer and can stop with one toggle.

Got a computer that’s often switched on but not doing much? You can let others use its spare power to run AI, and in return, you get to use the network’s bigger models when you need them. Just switch on Share and pick which models you’re happy to offer. Staying private, connecting safely, and everything else technical is handled for you, and you can stop any time with one switch.

Full provider guide → see Share your machine for what makes a good provider, safety details, and the honest FAQ.

FAQ

Is it free?
Running models locally is free. The peer-to-peer network runs on reciprocity today, serve while idle to earn priority. Paid frontier tiers are on the roadmap.
Yes. Running AI on your own computer is completely free. Using the shared network is free too, the idea is simple: help out by letting others use your spare computer power, and they help you back. (Paid options for really big models may come later.)
Do I need a GPU?
No. Small models run fine on CPU or Apple Silicon. When you want something bigger than your machine can hold, route to a peer who has it loaded, it runs there and streams back to you.
No. Smaller AI models run fine on an ordinary computer. When you want a bigger, smarter one, OpenHydra quietly borrows a more powerful computer on the network to do the work for you.
Is my data private?
Local requests never leave your machine. Network requests are authenticated with Ed25519 peer identities and encrypted end-to-end (libp2p Noise / QUIC), even over a relay, the relay only forwards bytes, it never sees your prompt.
Very. When the AI runs on your own computer, nothing you type ever leaves it. When you use the shared network, your messages are scrambled so only the computer answering can read them, not even the computers passing them along can see what you asked.
Which models can I use?
Anything your engine can run, plus whatever peers are serving. Use openhydra/auto to let the router choose, or name a specific model. Pull a model in Ollama or point at a vLLM server and it's instantly reachable.
Lots, any open AI model your computer can run, plus whatever other people on the network are sharing. Not sure which to pick? OpenHydra can just choose a good one for you automatically.
Does it work offline?
Yes, local mode is fully offline. The network is only used when you ask for a model you don't have locally.
Yes. As long as the model is already on your own computer, it works with no internet at all. You only need to be online to reach the shared network.
How do I report a bug?
Open an issue on GitHub, or ask in the Discord.
Found something broken, or have a question? Open an issue on GitHub, or come say hi in our Discord, we’re friendly.