Reference Systems

Working reference systems, source available for inspection, documented decisions.

These public reference systems show how Archetype Core approaches traceability, governed data movement, and reproducible technical decisions. The code is available for inspection.

Reference System

Audit-Ready RAG System

A traceable, citation-grounded retrieval architecture tested against dense USCIS policy documents. The system demonstrates how retrieval, citations, deterministic configuration, and audit records can make AI outputs inspectable in policy-heavy environments.

The Architecture

A RAG pipeline that ingests PDF documents, chunks them with respect to legal hierarchy, stores embeddings in pgvector, and retrieves relevant context to generate grounded answers.

What Makes It Auditable

Source citations on grounded answers, an explicit no-source fallback when retrieval evidence is insufficient, retrieval choices designed to reduce redundancy, and architecture decisions made for repeatability.

Why This Matters

The same architecture pattern can be adapted for compliance documents, internal knowledge bases, policy libraries, and other controlled document collections.

Architecture Decisions

AWS Bedrock Claude Sonnet 4.6 Titan Embeddings v2 PostgreSQL pgvector LangChain FastAPI Docker S3 Python

Reference System

ETL Architecture for AI Governance

A working ETL reference implementation for ingesting, classifying, validating, and governing AI-processed data. It demonstrates traceable data movement, AI-assisted classification, data quality gates, audit records, and infrastructure-as-code patterns.

The Architecture

An Airflow-orchestrated pipeline that ingests raw documents, classifies them using Claude on Amazon Bedrock, applies data quality gates via Great Expectations, and lands validated records in Databricks Delta Lake with a record-level audit trail keyed by pipeline run and record ID.

What Makes It Auditable

Each processed record is tied to a pipeline run and audit record. AI classification decisions retain model version, prompt hash, and confidence score. Quality gates block invalid records before they reach governed tables. The local development stack is reproducible from a single Makefile command.

Local-to-Cloud Parity

The stack runs locally through Docker Compose and LocalStack, while Terraform modules document an AWS deployment path. Teams can test DAGs, quality gates, and classification logic without requiring a live client environment.

Architecture Decisions

Apache Airflow 3.2 Amazon Bedrock Claude Sonnet Databricks Delta Lake PostgreSQL Great Expectations Terraform Docker Compose LocalStack Python

Apply the same patterns to your environment.

Archetype Core can adapt these reference patterns to governed data pipelines, document workflows, Databricks modernization, and traceable AI systems in a defined client environment.

Discuss Your Use Case

Need auditable data infrastructure?

If your team is building pipelines, AI workflows, or data platforms that must be reliable, traceable, and explainable, start with a defined use case.

Get in Touch