Documentation › The Platform

Under the hood

The P2P validators, the log and the gateways that make a passport believable. Nothing a client needs daily; everything an auditor asks for.

Why this page exists#

You do not need any of this to use OSPP: you call the endpoint and get a passport. This page is for those who want to see what stands behind the passport.

What the validators do, and do not do#

A passport's fingerprints are recorded in a log. Independent validators cosign the state of that log and monitor its entries. That is what makes the record hard to change, remove or reorder afterwards, for anyone, OSPP included.

The validators see fingerprints. They never see a prompt or an answer. "P2P validated" therefore means that the record of the call is witnessed. It does not mean that anyone checked the answer. See What a passport proves and Trust model.

OSPP itself stores more than the validators see: the node's definition (model, parameters, system prompt, tool definitions) for every node, and the conversation and the answer of a call only as Model Compare says. Text that must not be stored goes in the conversation, not in the system prompt.

P2P Validations#

Every account has a P2P Validation: a witness that cosigns the log's heads and a monitor that checks the entries and raises findings. OSPP hosts it in the cloud by default. A Self-hosted installation runs its own P2P Validator on its own server; the package sets it up. The Validators page (Infrastructure > Validators) shows the validation's status, its cosigning share over the eligibility window, attestations, uptime and the network ranking with other accounts' ids shortened. Owners set: active or paused, monitor scope (own log or every log), attestation interval, the alert threshold, the alert e-mail and alerts on findings.

An organisation is eligible to make calls while its validation cosigns enough heads; a new organisation becomes eligible about a minute after its first node is registered. Validators that cosign a bad proof or skip a planted canary earn strikes and are suspended after three; reinstatement is an operator's act.

The trust layer#

The Trust network page (Infrastructure > Trust network) shows the trust layer in one place: the witnesses, which party runs each and when each last cosigned, how many of your latest passports carry a witness independent of OSPP, the P2P Validations in the network, your log and its latest head, and the gateways. The Infrastructure menu is shown to Self-hosted organisations and to organisations with a gateway or validator. The public network page at /api/v1/public/network/page shows the same without an account.

Gateways#

A gateway is what sends a call to the model and records the receipts the passport is built from. On OSPP Cloud that is OSPP's gateway. A Self-hosted organisation runs its own: through the local proxy the conversation and the answer never reach OSPP in readable form, and the content of its calls is held on that gateway, not at OSPP. The node's definition does reach OSPP: the local proxy sends the model, the parameters, the system prompt and the tool definitions so OSPP can name and register the node.

The Gateways page lists each registered gateway with its id, profile, mode, status, licence and the last integrity statement. A gateway can be revoked by an owner. OSPP holds a gateway whose licence ended, and releases it when a valid licence exists again. It holds a gateway whose integrity statement was refused or whose challenge went unanswered, and releases it when a later statement is accepted.

Run OSPP on your own server#

The Gateways page has a card with three steps:

  1. Your licence. The licence id, plan and validity, and "Copy licence key": the long text starting with eyJ that the setup asks for. The licence id is not the key.
  2. Install. One command, with the address of your admin UI filled in once you type it: curl -fsSL https://packages.ospp.it.com/install.sh | sudo bash -s -- ospp ospp.example.com. Point the DNS A record at the server first.
  3. The setup asks for the licence key, your organisation's API key, which you can make new on the spot, and your model providers' keys. See Install.

Manual enrolment of a gateway by hand, with an enrolment token, sits under Advanced.

Licences#

A licence is a governance-signed leaf in OSPP's log: plan, validity, grace days. Renewals are issued by OSPP; the installation needs the renewed key pasted on its System page to keep pulling updates. Private: 69 euros a month with 2,000 passports a month included, then 2 cents each. See Plans.