AZ
← Projects/Compass
Open SourceGitHub ↗

Compass

An AI-native compliance operating system that combines deterministic rules with LLM reasoning, with an auditable decision log and an explicit human approval boundary for high-risk content.

FastAPISQLiteReactNext.jsLLMs

Problem

Compliance reviews in regulated industries are slow, error-prone, and nearly impossible to audit consistently.

Plugging an LLM into the process without accountability boundaries creates legal and reputational risk.

Teams need a structured review workflow where a person owns every decision.

Solution

Built a full-stack compliance workflow: content comes in, gets risk-classified, receives a compliant rewrite suggestion, and has required disclosures attached.

A deterministic rules layer handles predictable checks; LLM reasoning is invoked only where judgment is genuinely needed.

High-risk content is gated behind an explicit human approval step, with every decision persisted to an auditable log.

Key Engineering Decisions

Designed accountability into the architecture: AI assists and recommends, humans approve. The boundary is explicit and enforced.

Persisted structured decision records (inputs, outputs, model rationale) so every review is reproducible and defensible.

Kept rules, models, and UI as independent modules so each can evolve without breaking the others.

What It Demonstrates

The win was redesigning the review workflow around accountability instead of bolting an LLM onto the old process.

Risk-based gating and full traceability designed to map to actual compliance and legal requirements.

Full-stack ownership from FastAPI backend and SQLite persistence through to React + Next.js frontend.