Graph-Based Agentic AI · APRA Compliance · Production Architecture
Compliance decisions need
reasoning chains, not scores.
Graphs make the reasoning explainable.
A multi-agent APRA compliance monitoring system built on Neo4j, Claude, and OpenAI Embeddings — demonstrating that graph-native architecture is the only way to make AI-driven regulatory decisions auditable and defensible at production scale.
Compliance officers and risk analysts need explainable, evidence-backed verdicts — not black-box scores. When a regulator asks "why was this loan approved?", the answer must be traceable to specific regulatory text, threshold values, and the reasoning chain that produced the decision. LoanGuard AI makes every compliance verdict auditable by design, persisting full reasoning chains, cited regulatory sections, and semantic evidence to a Neo4j knowledge graph.
Why a Knowledge Graph?
Financial compliance is inherently relational. A single loan application connects a borrower, their ownership structure, their jurisdiction, their industry, and multiple APRA regulations — across three distinct data layers. A relational database treats each layer in isolation. A graph makes the traversal native.
LoanGuard AI's three-layer Neo4j graph connects financial entities (Layer 1) to regulatory obligations (Layer 2) through a Jurisdiction bridge, then writes compliance assessments (Layer 3) as first-class graph nodes — creating a queryable audit trail that spans the full decision chain.
Why Agentic AI?
Compliance questions are not single-step lookups. They require multi-step reasoning: traverse the entity graph, retrieve applicable regulations, evaluate thresholds against actual data, surface anomaly patterns, and synthesise a verdict with citations. That is an agent loop, not a prompt.
The Orchestrator routes questions to specialist agents — ComplianceAgent for threshold evaluation and InvestigationAgent for graph traversal and AML risk signals — running them in parallel when both are needed. Every tool call is tracked. Every reasoning step is persisted.
-
1Cross-layer traversal in a single query. From a loan application, traverse to its borrower, to their jurisdiction, to the applicable regulations, to specific threshold values — in one Cypher hop chain. In a relational system, this is five joins and an ORM nightmare.
-
2Anomaly patterns that require relationship depth. Transaction structuring, layered ownership (OWNS chains of depth ≥ 2), guarantor concentration — these are fundamentally graph patterns. They require traversing relationship chains, not scanning tables.
-
3Audit trails as first-class graph nodes. Layer 3 Assessment, Finding, and ReasoningStep nodes are linked to the entities and regulatory sections they reference. The audit trail is not a log file — it is a queryable subgraph that can be traversed, visualised, and replayed.
-
4Semantic similarity that respects document boundaries. SEMANTICALLY_SIMILAR edges connect chunks from different regulations (cosine > 0.85) — but not same-document pairs. Agents can traverse regulatory cross-references semantically, not just by citation.
2. evaluate_thresholds → PASS/BREACH/TRIGGER
3. retrieve_regulatory_chunks (optional)
4. persist_assessment → Layer 3
2. One comprehensive first-degree query
3. Targeted follow-ups (≤3 more calls)
4. Structured risk signal summary