[ HYDRA + INSTINCT ]

One router in front of every engine. Off until you ask.

A request routed on its model field, with failover before the first byte

beast-hydra is an OpenAI-compatible router that sits in front of one or more inference engines and routes each request on its model field. beast-instinct is a decision plane beside it that answers typed questions with a calibrated confidence.

[ HOW IT WORKS ]

One router, and a way round a failing engine

Choose a step to light its part of the picture.

Callers
The browser interface, agents, evaluation runs
beast-hydra
beast-hydra: routes on the model field
instinct
beast-instinct: can only skip work
Sparks
The DGX Spark pair
RTX 5090
The RTX 5090
Failing
A failing deployment: passed over
Describe this diagram

A laptop on the left sends requests to a router module in the middle. The router sends them on to two machines on the right, a DGX Spark and a PC tower. A third machine, faded, is a failing deployment: the traffic toward it stops half way. Behind the router a block, beast-instinct, sends it a line.

OPT-IN · v1.7

Both shipped in v1.7 and are off by default; with them unset the stack is byte-identical to one without them. The router is tested against simulated fleets and the rig’s own model server. It has not been run against the Spark pair, which serves without it.

Router and decisions · from the guides

  • NODES

    Kinds of engine a node can be

    4llama, vllm, tensorfold, openai

    The last is anything that speaks the OpenAI API.

  • FAMILY POLICY

    Ways to treat model families

    3uncensored-preferred by default

    The preference is a tie-breaker after every health and capacity filter has run.

  • INSTINCT

    Decisions a setting alone can promote

    0a gate record is required

    Nothing is enforced until its quality is measured on the project’s data and the record is committed.

[ ON THE MAP ]

Where it sits in the system

beast-hydra is one router in front of every engine and machine, plugged into the command center.

[ 01 · ROUTER ]

What changes when it is on

Every consumer on the rig talks to the router instead of the engine. With no fleet file, the router builds a single-node configuration from the existing settings, which behaves like the stack without it.

Consumers before and with beast-hydra
ConsumerBeforeWith the router on
The browser interface
The engine
The router, directly or through the agent router
beast-gate, when enabled
The engine
The router
Spawned agents
The engine
The router, with the route’s id as the model name
Evaluation runs
The engine
The engine. Evaluations bypass the router.

A route picks among deployments by health, capability, context fit and operator drains. A deployment addressed by its own id, or through the pin path, is strict: no rules and no fallback, and an error when that deployment is down. The router never forwards identity headers to a node; it uses them for routing and for its own audit row only.

[ 02 · POLICY ]

Uncensored-preferred, as a tie-breaker

The fleet policy follows the project’s model policy. An operator declares which model families are abliterated; a family is listed only when its weights really are. The Spark pair’s default is stock weights and is not on that list.

Abliterated weights change what a model refuses. They change nothing about keys, roles, file scopes, sandboxing or audit. The model policy

Family policies
PolicyEffect
uncensored-preferred
The default. Every family may serve. Among candidates that passed every filter and have free capacity, an abliterated family goes before a stock one. Priority still wins, and an unavailable abliterated target never blocks a stock one.
uncensored-only
Opt-in. A hard filter on every candidate; a stock deployment is reachable only by pinning its own id.
any
Families play no part in routing.

[ 03 · FAILURES ]

Failover, timeouts and the breaker

The router fails over only before the first byte of a response. A failure in the middle of a stream ends with an error event, never with a silent replay of the request on another node.

[ 04 · INSTINCT ]

A decision plane that can only skip work

beast-instinct answers named questions of four types: yes or no, a choice, a score, or a ranking. Each answer carries a label distribution, a calibrated confidence and one of four outcomes: act, review, abstain or fall back.

Its status in the guide is “built and wired, opt-in; nothing enforces until gated”. The seed dataset is synthetic and is not a gate set.

[ 05 · OPERATE ]

Check before you start

An invalid fleet file stops the stack from starting, so validate it first. A reload validates and swaps the configuration, and a bad file keeps the old one.

scripts/hydra.sh check              # validate the fleet file
scripts/hydra.sh status             # nodes, deployments and routes, with health
scripts/hydra.sh explain '<json>'   # dry-run a routing decision
scripts/hydra.sh drain <node>       # stop new traffic to a node
scripts/hydra.sh decisions          # recent decision traces

The reference topology and its honest status · The engines it routes to

[ 06 · SOURCES ]

Where this page comes from

Everything above restates the project’s own documents, read at upstream commit 8dfddb3c (2026-11-30). Nothing here was measured for this page.