Real-Time Prompt Classification Engine

Classify every prompt. Score every risk.

PromptClassify deploys as a single container into your environment — detecting PII, PHI, and sensitive data in real time, scoring risk, and routing with confidence. Your rules, your infrastructure, your control.

classify_response.json
{
  "risk_score": 8.4,
  "risk_level": "HIGH",
  "contains_phi": true,
  "contains_pii": true,
  "routing_decision": {
    "action": "route_internal",
    "reason": "PHI detected"
  },
  "classifications": [3 entities],
  "compliance_flags": [
    "HIPAA", "NIST_AI_RMF"
  ],
  "audit_id": "pc-a7f2c9e1",
  "policy_version": "2026.03.12"
}
How It Works

Four steps. Sub-200ms.

Every prompt passes through a policy-driven classification pipeline — from ingestion to routing decision — in under 200 milliseconds.

01

Ingest & Classify

Every inbound prompt is analyzed against your policy ruleset — combining pattern matching with entity recognition to detect PII, PHI, and sensitive data.

02

Score Risk

Detected entities are weighted by category, severity, and context to produce a normalized 0–10 risk score with full confidence metrics.

03

Route or Block

Policy-driven routing rules determine the action — route internally, sanitize and forward, block for review, or pass through — all based on your thresholds.

04

Log & Audit

Every classification, score, and routing decision generates a traceable audit record with a unique ID — ready for your SIEM, observability stack, or compliance backend.

Classification Response

Everything you need in one response

Every classification returns a rich, structured payload designed for immediate programmatic action and long-term auditability.

Risk Score & Level

A normalized 0–10 risk score with a categorical level (LOW, MEDIUM, HIGH, CRITICAL) — immediately actionable for gateway routing or alerting.

PHI & PII Detection Flags

Boolean flags indicating the presence of Protected Health Information and Personally Identifiable Information — enabling instant routing logic.

Routing Decision

An explicit action (route internal, sanitize, block, pass), target, and human-readable reason — ready to drive your API gateway or workflow engine.

Audit Trail

A unique audit ID, policy version, applied policy layers, and full classification metadata — immutable evidence for compliance and forensics.

Compliance Flags

Automatic tagging of applicable regulatory frameworks based on detected data types — HIPAA, GDPR, NIST, and more — surfaced in every response.

POST /classify
// Your prompt goes in
{
  "text": "Patient John Doe, MRN:482910,
    DOB 03/15/1985, SSN 412-55-..."

}

// Classification comes back
{
  "risk_score": 9.2,
  "risk_level": "CRITICAL",
  "contains_phi": true,
  "contains_pii": true,
  "classifications": [
    {
      "type": "PHI",
      "subcategory": "mrn",
      "confidence": 0.98
    },
    {
      "type": "SENSITIVE_PII",
      "subcategory": "ssn",
      "confidence": 0.97
    }
  ],
  "routing_decision": {
    "action": "block",
    "reason": "risk_score > 7.0"
  },
  "compliance_flags": [
    "HIPAA", "NIST_AI_RMF"
  ],
  "audit_id": "pc-e3b1f8d2"
}
Deployment

Your environment. Your control.

PromptClassify ships as a single Docker image. Deploy it where your data lives — no external calls, no data leaving your perimeter.

🐳

Single Container Deploy

One Docker image. Pull, configure, run. Deploys into any container orchestration platform — Kubernetes, ECS, Docker Compose, or bare metal. Production-ready in minutes.

⚖️

Horizontally Scalable

Run one instance or fifty. Stateless by design, PromptClassify scales horizontally behind your load balancer to meet any throughput requirement. Managed entirely by your team.

📡

Standard Observability

Structured stdout logs and native OpenTelemetry metrics, traces, and logs. Route to your SIEM, your observability backend, your audit system — through the mechanisms you already use.

Compliance & Standards

Built to meet the standards that matter

PromptClassify maps detection categories and audit output directly to the frameworks your compliance team cares about.

HIPAA

Protected Health Information

PHI detection and routing controls designed for healthcare environments — ensuring patient data never reaches unauthorized endpoints.

NIST AI RMF

AI Risk Management

Risk scoring and audit trails aligned with the NIST AI Risk Management Framework — providing measurable, documented governance controls.

ISO 42001

AI Management System

Classification and policy controls that map to ISO 42001 requirements for establishing and maintaining an AI management system.

GDPR

Data Protection

PII detection and data minimization support for EU data protection requirements — identify and control personal data before it reaches LLM providers.

OWASP LLM Top 10

LLM Security

Prompt injection detection, sensitive information disclosure prevention, and input validation aligned with OWASP's LLM-specific security framework.

SOC 2 / EU AI Act

Expanding Coverage

Continuous policy updates from the PromptClassify cloud extend coverage as new standards emerge and existing frameworks evolve.

Methodology

Powered by AI GovOps

PromptClassify is the enforcement engine for AI GovOps — Amalfi AI's pioneering methodology that treats governance as a continuous operational flow embedded directly in infrastructure, not a periodic compliance exercise.

Learn more at Amalfi.AI →
Continuous Classification

Every prompt is classified in real time — not sampled, not batched, not reviewed after the fact. Governance runs at the speed of inference.

Policy as Code

Your governance rules are defined in structured policy layers — versioned, auditable, and enforceable. Compliance becomes an engineering artifact.

Immutable Audit Trail

Every classification, score, and routing decision is logged with a unique audit ID. Evidence generation is automatic, not reconstructed.

Cloud-Managed Rulesets

Always current. Always enforced.

Your PromptClassify instance automatically fetches updated rulesets from the PromptClassify cloud — ensuring your classification policies evolve as threats and standards change.

Automatic Updates

On startup and periodically during operation, your instance checks for new and updated classification rules from promptclassify.ai — no manual intervention, no downtime.

Your Rules First

Cloud rulesets merge with your custom policies — your organization-specific rules always take priority. Add, override, or extend any classification pattern to match your environment.

Versioned & Auditable

Every ruleset update is versioned and recorded in the audit trail. You always know which policy version was active when a classification was made.

promptclassify.ai cloud
↓ fetch ruleset v2026.03.12
↓ merge with local policies
↓ validate & compile rules
↓ hot-reload classifier engine
✓ live — zero downtime
Get Started

See PromptClassify in action

Request a demo to see how PromptClassify classifies, scores, and routes prompts in real time — deployed in your environment, governed by your rules.

Request a Demo →
johndesp@amalfi.ai