The Pipeline, in One Diagram
The pipeline, in one diagram
// 3.0 · fourteen steps · ParalleliX AI to operator node
One canonical sequence. Every ParalleliX AI inference request walks it. The order is fixed; the actors do not change roles mid-pipeline. A single inference is autoregressive, so it is dispatched whole to one operator node and served there, never split. Credits are metered off-chain, so there is no per-request on-chain payment. (Segment and aggregate steps exist only for the planned open marketplace, where a genuinely parallelizable job fans out into sub-tasks across nodes.)
- // 01RequestParalleliX AICoordinator
request(prompt) · credits metered off-chain
- // 02AdmitCoordinator
check credit balance · alloc request_id
- // 03MatchCoordinator
match(request) → node_i · capability + uptime
- // 04EncryptCoordinator
encrypt(request, pubkey_i)
- // 05DispatchCoordinatorNode N
dispatch(request) · encrypted envelope · whole to one node
- // 06DecryptNode N
decrypt with node.privkey
- // 07ExecuteNode N
run inference · local GPU / CPU
- // 08PoENode N
PoE = SHA-256(request_id ‖ result ‖ node_id)
- // 09ReturnNode NCoordinator
result + PoE + sig
- // 10Verify sigCoordinator
verify sig · reconstruct PoE
- // 11SampleCoordinator
sampled re-dispatch → node_j · compare
- // 12AnchorCoordinatorChain
ExecutionRecord → chain
- // 13Return resultCoordinatorParalleliX AI
result streamed back to the user
- // 14SettleCoordinatorNode N
credit operator reward weight (uptime) · meter user credits off-chain
Note·Four state-crossing steps
What the diagram commits to
// 3.0.1 · invariants surfaced by the pipeline shape
- Credits precede work. No
request_idis allocated until the user's off-chain credit balance clears. There is no per-request on-chain payment. - Coordinator never holds plaintext mid-transit. Encryption happens before dispatch; only
node_ican decrypt the dispatchedrequest. - PoE is a commitment, not a proof. Honesty rides on the sampled re-dispatch (step 11), not the hash alone.
- Anchor before settlement. The execution record commits on-chain (step 12) before the operator's reward weight is credited (step 14).