The two SDKs speak the same OCSS Trust Framework protocol under the hood.
All cryptographic signing happens in your process — your private key never leaves your machine.
The hosted census persists, distributes, and confirms; your SDK verifies.
Before you write any code
Run the CLI to prove the setup end-to-end against the shared sandbox in under two minutes. No account required.phosra doctor runs five checks and exits 0 on green:
- Census reachable (
GET /health— mounted at the ROOT, not under/api/v1) - Trust list verified (Ed25519 root signature against the baked-in root key)
- Capabilities doc verified (123-rule self-describing document, WARN if absent)
- Spec-version negotiation (client ↔ server OCSS version range agreement)
- Signed sandbox round-trip (§8.3.2 consent attestation + §8.3.1 rule write, both 201)
phosra init is the production sandbox census
(phosra-api-sandbox-production.up.railway.app) — the one canonical partner host, with
no new backend, no database, no provisioning. (Phosra runs a separate -staging census
for its own pre-release testing; it is not a partner surface — see
Environments → the two sandbox hosts.)
SDK availability
All five SDKs (@phosra/link, @phosra/gatekeeper, @phosra/cli, @phosra/sdk, and @openchildsafety/ocss) are published on npm. See the status page for full version info.
Pricing — the §12.3 line
The OCSS standard and both SDKs are MIT-licensed. You can run your own census at zero cost. You pay Phosra only when Phosra operates the census for you.- SDK operations (signing, verifying, the local
isAlloweddecision) — free, always - Safety-path operations (enforcement profile reads, enforcement confirmations, proposals) — free, never metered
- Hosted census operations (consent ingest, grant mint, endpoint binding, rule writes, profile distribution) — metered per distinct linked family
You pay for the connection, never for keeping a kid safe.For the full billing model, see Billing.
What is live today
Next
CLI quickstart
phosra init → phosra doctor → green signed round-trip in under two minutesProvider quickstart
@phosra/link — connect a family, ingest consent, write rulesPlatform quickstart
@phosra/gatekeeper — receive profiles, decide locally, confirm enforcementBilling model
Per-family FamilyMeter — what is metered, what is always free