Contract intelligence platform for aircraft maintenance
The airline group needed to flag overbilling and contract non-compliance in aircraft maintenance (MRO) invoices: 450 contracts checked against millions of invoices and work orders across 3 airlines.
- Snowflake, APIs, vendor CSV/XLSX, S3 documents
- Bronze
- Silver (dbt)
- Gold (PostgreSQL / pgvector)
- Knowledge graph and compliance agents
What I built
- Co-designed and built the platform's data foundation from an empty repository to UAT: an S3-to-PostgreSQL/pgvector medallion architecture orchestrated with Airflow on EKS.
- Built the founding Python ingestion pipeline (boto3, SQLAlchemy, Alembic) and made it idempotent on a SHA-256-based document identity: corrections become new versions, retries are no-ops and a re-run never pays twice for the same LLM call.
- Delivered typed Gold models (contracts, price books, scope rules, turnaround commitments, billing lines) linking each invoice to its contract, with Bedrock embeddings and SCD2 history, as the source for the reasoning team's knowledge graph and compliance agents.
- Owned source integrations from Snowflake, external APIs and vendor feeds into airline-scoped Gold tables, and integrated a document-AI extraction gateway into the contract registry FastAPI service.
- Secured the stack with no long-lived credentials (IRSA, short-lived RDS IAM tokens, TLS verify-full) and per-airline row-level security; migrations are proven reversible by a CI round-trip test on real PostgreSQL.
Results
- 4 releases
- from empty repository to UAT in 4 months
- 6 DAGs
- on Airflow, with 57 dbt models and 2,150 tests
- 83.2% → 91.4%
- compliance-rule coverage after a rule review with business SMEs
- Python
- Airflow
- EKS
- dbt
- PostgreSQL
- pgvector
- S3
- Snowflake
- Amazon Bedrock
- FastAPI
- Alembic