Hosted History
RapidAPI + Cloud Run
Proves the service was packaged and exposed through a public API path before deactivation for cost.
Does not prove sustained traffic, availability, or an SLO.
A case study in enforcing content safety, compliance, and output quality without putting every request through the slowest and most expensive model.
3 layers
Tiered supervision
Deterministic filters, lightweight classifiers, and an LLM judge cover different risk and latency profiles.
Formerly public
RapidAPI deployment
The API was served through RapidAPI with a Google Cloud Run backend before being deactivated for cost.
Local validation
Evidence boundary
Functionality was exercised locally; no claim is made about sustained production traffic or production SLOs.
My Role
Sentinel was an independent build. I defined the product boundary, implemented the API and detection pipeline, shaped the verdict contract, deployed the former hosted version, and documented the operational model.
Owned
Evidence Boundary
The Problem
LLM applications can leak sensitive data, follow prompt injections, generate unsafe advice, or violate domain policy even when the underlying model is generally capable.
Sentinel inserts an independent supervision boundary between generation and delivery. It evaluates the prompt, draft output, and application context before a response reaches the user.
Architecture
A layered pipeline resolves obvious cases quickly and spends semantic compute only when the decision remains ambiguous.
Application context and active policies travel with the request.
Schemas, regex, PII patterns, and explicit deny rules.
Toxicity, injection, and domain-risk classifiers.
Contextual reasoning for difficult or conflicting signals.
Return a verdict, reasons, policy IDs, and audit signals.
Key Decisions
Teams define what must be protected; Sentinel chooses the cheapest reliable mechanism that can enforce it.
DECISION 01
Fast deterministic checks handle known patterns; ambiguity escalates through classifiers to semantic review.
DECISION 02
Policy IDs, reasons, evidence, and actions make decisions auditable and easier to integrate.
DECISION 03
Not every violation requires a hard block; targeted transformation can preserve usefulness while removing risk.
DECISION 04
A dedicated service centralizes enforcement, telemetry, rollout, and SaaS gateway concerns.
Trade-offs
Thresholds, latency, cost, and user friction move together. Sentinel exposes those choices instead of hiding them behind a single safety score.
Aggressive thresholds catch more harmful content but create more review and false-positive cost.
Semantic judges improve contextual coverage but belong off the common request path.
Shared enforcement reduces drift, while domain teams still need configurable rules and rollout control.
Structured reasons constrain implementation but make downstream handling and audit far more reliable.
Evidence
The project demonstrates a working product contract and a previous deployment path. It does not establish production scale or detector quality on representative traffic.
Hosted History
Proves the service was packaged and exposed through a public API path before deactivation for cost.
Does not prove sustained traffic, availability, or an SLO.
Functional Validation
Exercises configured detection, redaction, and verdict flows in the reference implementation.
Does not prove production accuracy on representative datasets.
Interactive Artifact
Makes PASS, FIX, and FAIL semantics inspectable without depending on an active backend.
Illustrates the contract; it is not the production detector.
Runs deterministic browser-side examples of PASS, FIX, and FAIL behavior. The former RapidAPI and Cloud Run deployment is currently inactive.
Run the illustrative check to inspect a structured supervision verdict.
This interaction demonstrates the product contract, not model accuracy or production performance.
Lesson and Next Step
The architecture is only credible when policy quality, failure behavior, rollout, and appeals are measurable. The next iteration would establish reproducible benchmarks first, then evolve a repeatable safety release process.
Continue the Conversation
I work across AI infrastructure, distributed systems, safety, capacity, and reliability—and I stay close enough to implementation to make the trade-offs concrete.