PrivacyPal's SDK lets one agent encode sensitive data into Privacy Twins, share the twins with another agent or third-party API, and decode the response back to real values — without ever exposing PII, PHI, or proprietary IP outside your trust boundary.
Node.js and Python today — fully supported, production-ready. A public REST API is also available for any runtime that speaks JSON. Additional language SDKs are in progress.
Node.js 18+ & browser. ES Modules. TypeScript types built in. Encode/decode, batch, file encoding, streaming AI chat, multi-turn sessions, optional client-side NLP.
Python 3.9+. Sync API today, async coming. Same encode/decode/batch surface as Node, with helpers for pandas DataFrames and request bodies.
Go module with net/http middleware and context-aware encode/decode. Targeting the same v1 wire protocol as Node and Python.
Plain HTTPS — encode, decode, batch — for any runtime that speaks JSON. Use directly when an SDK isn't available for your stack.
Encode the sensitive parts of an inbound request, hand the twins to whatever agent or API you need, then decode the response back to real values. The protected entity stays inside your boundary.
HIPAA, GDPR, and SOC 2 friendly out of the box. PII, PHI, and PCI classes are detected automatically, with structure-preserving twins so downstream parsers and prompts keep working.
Server-Sent Events helpers for OpenAI, Anthropic, and Gemini. Encode the prompt, stream the model's response, decode tokens on the way out — your end users see normal token-by-token output.
Run the same SDK against PrivacyPal Cloud inside your own network. Encode/decode never leaves your VPC, and audit logs land in storage you already own.
Discover and classify sensitive data sitting in your own databases, file shares, and document stores — so you know what an agent should encode before it ever leaves the row.
Coming on the roadmap: agents will be able to require x402 payment before decoding sensitive results — enabling agentic marketplaces where data is shared only on settled terms.
Three patterns from production deployments — encode/decode the way the SDK actually works.
Encode the sensitive input, hand the twins off to an external agent, then decode the response back to original values.
Encode PHI before sending to a vendor API, decode the analysis on the way back — HIPAA-compliant by design.
Encode trade info to protect trader identity, match through Privacy Twins, and (in a future release) decode only after x402 payment is settled.
Sign up for a PrivacyPal Cloud account, drop the SDK into your agent, and start encoding sensitive data on the way out the door.