Skip to content
clocksmithPublic

About

P2P browser-native WebGPU compute exchange over WebRTC.

Topics

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

3,489 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reploid

Run an open model on a participating computer, or contribute your own compute and storage, from a browser, CLI, or OpenAI- and Anthropic-compatible HTTP API without downloading model weights on the requesting machine. Today, using open models usually means choosing between a centralized cloud API with opaque routing or downloading gigabytes of weights onto one machine large enough to hold the whole model alone.

Reploid turns participating computers into shared inference capacity. The public route table distinguishes local solo, remote solo, local + peer split, and remote-only split. A physically checked remote-solo route lets the requester ask without downloading weights. The two split routes are not yet qualified for public use. Serving computers can read the input they execute. Quick start · Who can read what

Try Reploid · CLI and local setup · Contribute a computer · Verified evidence

Play Reploid Daily — get the model to say today's target in five tries, then dare a friend to beat your word count.

A requester types a question and presses Send once. One ready peer that already holds the whole model runs it with Doppler and streams the answer back. The serving computer can read the prompt.

Try it

Browser (zero weight downloads)

  1. Open replo.id, type, and press Send. Reploid joins the mesh and picks an available model automatically. You can change it.
  2. Before you send, the composer names the computer kind and the model. The serving computer can read the input it executes. The qualification below tested reconnect to the same verified identity and fresh consent for a replacement.
  3. Watch the answer stream. You can stop a response. The claim index and fleet service distinguish cancellation, interruptions, and settlement evidence.

Command line (npx reploid)

Inspect available models, ask a ready peer directly without downloading weights, or serve a model from your own GPU:

npx reploid models
npx reploid ask "Explain speculative decoding in two sentences."
npx reploid ask 35b "The same, from a named model."
npx reploid serve

Without a model, ask uses the smallest model a ready provider serves and says which, and serve serves the 0.8B, the smallest catalog model. Name a model (npx reploid serve 2b --model-directory /path/to/weights) for any other.

Local workspace and HTTP API

From a repository checkout:

npm install
npm start

Open http://localhost:8000, or expose /v1/chat/completions, /v1/responses, and /v1/messages over an enrolled fleet requester (server/fleet/text-api.js). Running a model locally in your own browser requires WebGPU and local model files; requesting from a prepared peer requires only a connection to that peer. See the testing guide for verification checks.

What is verified

  • 0.1.5 qualification, the last qualified release (reploid@0.1.5 + dopplerx@0.1.5). The Doppler package in use now is pinned in shared/config/doppler-package.json; this qualification does not cover it. Results: Signed /v1/chat/completions and /v1/responses execution with 34-token prefix-cache reuse, mid-stream cancellation (0 unacknowledged tokens charged, 0 open holds), fresh Chromium conversation with 0 weight bytes downloaded, returning-provider cryptographic reconnect + replacement-machine consent gate, two-supplier verified WebRTC piece transfer (one 8 MiB sample per arm, 8.04x, 57.07 MB/s; not a throughput claim), and zero-downtime backend rollback checks (on the former Cloud Run backend; not re-run on the Cloudflare Worker). 0.1.5 qualification receipts
  • Surface-by-surface claim ledger: Use the public claim index and hash-verified historical evidence catalog as the canonical evidence entry points.

Components

I want to… Start here
Work on chat, contribution, or the network view Product UI, called Poolday internally
Preview or host the daily reverse-prompt game Daily game and circle setup
Embed conversations or coordinate peers Reploid library
Load or execute a model Doppler and Reploid's runtime pin
Serve models or supply verified files from a desktop Native participant guide
Run hosting, service APIs, or accounting Server and product contract
Explore the separate Zero and X agent workspaces Setup and routes

Component ownership

Reploid handles discovery, permissions, placement, verified piece custody, and accounting. Doppler executes the model on each participating GPU. The technical architecture diagram follows a request across several stages.

Long-term goal

Launch serves each request from one ready peer that holds the whole model. The north star beyond that, a confidential request split across independently operated peers, is defined in GOALS.md. Ordinary split routes are separate and not yet qualified; see the route table.

Goal, not yet qualified: a requester sends a prompt. Two contributors run successive layers of one model with Doppler, and the answer returns to the requester.

How a model is stored and split

A piece is a hash-verified portion of a model file. A machine can store and supply pieces without executing requests, and receivers pull verified pieces concurrently across multiple suppliers with bounded slot backpressure. A stage runs a contiguous range of model layers. On a split route, each stage keeps its own model state and forwards activations; the final stage samples the token that streams back to the requester.

One recorded three-stage route ran layers 0–7 in a browser and layers 8–23 in two native stages on a second machine, averaging about 1.05 seconds per token on a quiet link. Placement measurements · Precision measurements

Lifecycle of one request

A contributor advertises a prepared model or stage. Reploid selects an eligible route, reserves capacity, and binds permission to that attempt's cryptographic recipients. A retry gets a new attempt and a new admission check. Completed, cancelled, and interrupted attempts keep their own work records. Request flow and receipts · Security and trust

Credits and accounting

Configured fleet services can quote a request and reserve non-cash service credits. This ordinary exchange is executor-readable: the serving computer can read the request and its answer, the recipients are shown before anything is sent, and it is not confidential pooling. Settlement is bound to accepted terms and verified evidence, with distinct rules for completed, cancelled, and interrupted work. What counts as an independent trade, and the north star beyond launch, are defined in GOALS.md. A tested cancellation does not establish that every interruption route settles. Public token sales, cash payouts, and open marketplace settlement are not established features. Product contract · Fleet service · Goals

For direct payments between participants, npm run payment in a repository checkout (not the published npx reploid CLI) can quote jobs in USD, send native USDC and verify the finalized transfer through the recipient’s own Solana RPC. It has been rehearsed only on a local validator by one operator. Wallet commands and earn-and-spend rehearsal

Read next

Documentation · Governance · Hash-verified historical evidence · Goals · Contributing

License

MIT.

About

P2P browser-native WebGPU compute exchange over WebRTC.

Topics

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages