A dark hall where amber threads rise from six mismatched computers into one glowing column of stacked glass layers

Run the model
you can't fit.

trail splits a model by layers across the machines you already own, CUDA, Metal, Vulkan or CPU, and streams tokens through them like one card.

The model you want is bigger than any single machine you own.

Each one alone runs out of memory.

model.gguf / 48 layers
node 01: out of memory

Dark matte heatsink fins edged in warm amber light

But you have more than one machine.

Forty-eight dark glass model layers stacked with amber light along their edges
node 01 / CUDA / layers 0–17
node 02 / Vulkan / layers 18–27
node 03 / Metal / layers 28–47

One model.
48 layers.

Each machine holds a slice. Activations hop between them over RAIL, mutual-TLS QUIC. Weights never move.

Only the last stage samples / per-cluster CA, no relay, no account / OpenAI-compatible /v1/chat/completions

Three nodes running one pipeline

Dark anodized cooling fins bathed in a thin line of warm amber light

node 01

Backend
CUDA
Assigned layers
18 layers / 0–17
A graphics card in low amber light

node 02

Backend
Vulkan
Assigned layers
10 layers / 18–27
A compact desktop machine resting in shadow with an amber rim reflection

node 03

Backend
Metal
Assigned layers
20 layers / 28–47

Different hardware.
Different backends.
One plan.

Any GPU, any backend. The planner weighs each node's measured memory and speed and gives it a contiguous range of layers.

Pull a cable.
The answer keeps streaming.

Unplug a machine in the middle of an answer. The coordinator notices, gives its layers to the machines that are left and replays the stream. Your app sees a short pause, not an error.

  1. 01 Heartbeat missed
  2. 02 Layers replanned on the survivors
  3. 03 Prompt and tokens replayed
  4. 04 Same stream continues
A hand pulling a network cable out of a small switch on a desk under warm lamp light
/v1/chat/completions streaming node 02 unreachable resumed on node 01 + node 03

Why is the sky blue? Keep it short.

Sunlight is made of every color. As it passes through the air, tiny molecules scatter the short blue waves far more than the long red ones, so blue light reaches your eyes from every direction of the sky. At sunset the light crosses more air, the blue is scattered away, and the reds are left.

Built to be boring to run.

The parts you would otherwise wire up by hand, already there.

  • One binary

    The same trail-agent runs every role, on every machine.

  • Any backend

    CUDA, Vulkan, Metal and CPU nodes in the same cluster.

  • Private by default

    Nodes talk mutual-TLS QUIC under a CA that only your cluster holds. No relay, no account.

  • Verified weights

    Every tensor is checked against its SHA-256 when a node fetches its layers.

  • Drop-in API

    OpenAI-compatible /v1/chat/completions, streaming included.

  • Survives failures

    Lose a machine and the coordinator replans on the rest and replays the stream.

Today, the machines on your desk.
Next, a community's.

TRAIL starts on your LAN with the hardware already on your desk. The direction ahead is larger: groups, labs and friends pooling idle GPUs over authenticated links with fair share and verification—shared hardware clusters built from the machines people already own.

Set up in a browser, not a terminal.

Run trail-agent setup on each machine. A guided page opens in your browser and walks you through it.

  1. 01 Run trail-agent setup on the first machine and create a cluster.
  2. 02 Run it on each other machine and paste the invite code.
  3. 03 Pick a model, check the plan, start.
Prefer the terminal?
  1. Create a cluster

    Generates the cluster CA. Every node talks mutual-TLS QUIC from here on.

    trail-agent cluster init
  2. Invite the other machines

    Prints a one-time invite. Run join on each machine you want to add.

    trail-agent cluster invite
    trail-agent cluster join trail-invite:…
  3. Profile and plan

    Each node measures its memory and speed; the planner assigns contiguous layer ranges.

    trail-agent profile --model model.gguf
    trail-agent plan --model model.gguf --replicas 1 --tier ram
  4. Serve

    Workers host their stage; the coordinator exposes an OpenAI-compatible API.

    trail-agent stage-serve --model model.gguf --port 7412
    trail-agent coordinator --model model.gguf --worker … --bind 0.0.0.0 --port 8080