← all posts
July 25, 2026·boracoder01

Introducing boringai: Privacy-First LLM Gateway

A gateway that strips sensitive data — PII, credentials, secrets, PHI — at the edge before forwarding to any LLM. Your data stays yours. The model only sees what it needs to.

AIPrivacySecurityLLMVercel
A woven mesh screen set in a gateway: a key, a paper tag, a wax seal and a stamped token are caught in a shallow tray on the near side while plain round beads pass through and roll across the courtyard toward a small lamp, with a crested crane perched on the gatepost.

Every time you send data to an LLM — patient records, source code with API keys, user chat messages, financial documents — you're handing sensitive information to a third party. boringai strips that data at the edge, before it reaches any model.

But boringai isn't just a privacy filter. It's an agent-native gateway — designed for AI agents to use safely. MCP support built in. GraphQL auto-generated. REST for everything else. Your data stays yours; the model only sees what it needs to.

The problem

A hospital wants to use GLM-4.7 to draft synoptic pathology reports. The input contains: patient name, DOB, MRN, accession number, clinical history, specimen details. If you send this directly to z.ai:

  • You need a BAA — Enterprise tier, expensive.
  • Patient data leaves your infrastructure.
  • HIPAA breach notification requirements if anything fails.
  • In practice, many hospitals just... don't use AI.

We asked: what if the PHI never leaves your boundary?

The architecture

boringai sits between your application and the LLM provider. PII is detected and redacted before forwarding. The model receives de-identified text only.

The key insight: if we strip PII at the edge, what leaves our system is de-identified data. Under HIPAA's Safe Harbor method, de-identified data is NOT subject to HIPAA. The LLM provider never becomes a Business Associate.

How PII detection works

12 tools, 4 categories

Every tool is registered once and exposed three ways — REST, MCP, and GraphQL — all generated from the same definition.

pii_check2 cr
mask/replace/hash/shift · HIPAA/GDPR profiles
hl7_redact2 cr
Field-aware PID/NK1/PV1 redaction
draft_synoptic_report3 cr
CAP protocol · 14 specimen types
simplify_for_patient3 cr
10 languages · Kiswahili/Luganda
clinical_ner2 cr
Disease/drug/gene via HuggingFace
drug_interactions3 cr
Severity: minor→contraindicated
icd10_lookup3 cr
ICD-10-CM from clinical text
lab_interpret3 cr
Normal/low/high/critical per test
medical_translate3 cr
Clinical translation + glossary
image_analyze10 cr
MedGemma GPU on Modal
scan_interpret25 cr
Radiology: CXR/CT/MRI on Modal
batch0 cr
Bulk process any tool

Domain namespaces

Tools are organized into domains. Healthcare today. Education and Legal coming next.

Try it

# Strip PII from any text
curl -X POST https://boracode.ai/api/tools/pii_check \
  -H "Authorization: Bearer bai_..." \
  -d '{"text":"Email: patient@hospital.com"}'

# Response:
{"redacted_text":"Email: [REDACTED:email]","counts":{"email":1}}

boringai is built by boracode labs — a software studio and AI experimentation hub in Kampala, Uganda. Open source. Privacy by design. Agent-native.

A wide horizon at dusk: layered hills in muted plum and ochre above a lake that holds the last light, a family of crested cranes at the water's edge, an acacia in silhouette and a single bright star above the ridge.
Introducing boringai: Privacy-First LLM Gateway — boracode