Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Agentic AI Fraud Detection: Spring AI, Claude, MCP, pgvector
New
1 students

Agentic AI Fraud Detection: Spring AI, Claude, MCP, pgvector

Build a production-style financial fraud detection system using Spring AI, Claude, PostgreSQL/pgvector and MCP tooling
Created byAnup Bhagwat
Last updated 11/2026
English

What you'll learn

  • Build a real AI-native fraud detection platform — using Spring Boot, Spring AI, MCP, RAG, and dual-layer memory
  • We will build a complete fraud detection platform for a bank — the kind of system a compliance team would actually use.
  • This is not a toy chatbot demo — it's a regulated-domain system with a deterministic rule engine, an AI reasoning layer, live tool-calling, and a real Postgres-
  • It's going to screen transactions in real time using a rule engine, then hand that result to an AI assistant that can explain *why* something looks risky
  • It will also pull live data from Postgres, remember past conversations, and even take action — like notifying compliance or blocking an account.

Course content

11 sections • 11 lectures • 52m total length
  • Introduction1:00

    This is not a toy chatbot demo — it's a regulated-domain system with a deterministic rule engine, an AI reasoning layer, live tool-calling, and a real Postgres-backed memory architecture.

Requirements

  • Spring boot
  • Java
  • Intellij
  • postgres

Description

Financial fraud costs institutions billions every year, and rule-based systems alone can’t keep up with evolving attack patterns. In this hands-on course, you’ll build a complete Financial Fraud Detection System from scratch. It combines the reliability of Spring Boot with the reasoning power of large language models.

You won’t just watch slides. You’ll build a real, end-to-end application that ingests transactions, scores risk, retrieves similar historical fraud cases, and uses Claude to explain why a transaction looks suspicious, all surfaced through a custom analyst dashboard.

What you’ll build

  • A Spring Boot 3 backend with clean, layered architecture

  • Spring AI 1.1.5 integration with Claude Sonnet for transaction analysis and risk explanations

  • A RAG pipeline using PostgreSQL + pgvector to find similar past fraud patterns

  • An MCP (Model Context Protocol) server that exposes fraud-investigation tools to the AI agent

  • A custom fraud analyst UI for reviewing alerts, flagged transactions, and AI-generated reasoning

What you’ll learn

  • Designing AI-assisted fraud detection workflows, from rules to LLM reasoning

  • Prompt engineering for structured, explainable risk assessments

  • Storing and querying embeddings with pgvector

  • Building and exposing tools through an MCP server

  • Using Spring AI’s ChatClient, advisors, and tool calling in real applications

  • Structuring AI features so they are testable, auditable, and production-ready

  • Presenting AI decisions to human analysts with clear, trustworthy explanations

Who this course is for

  • Java and Spring Boot developers who want to add practical AI skills

  • Backend engineers working in fintech, banking, or payments

  • Developers exploring Spring AI, RAG, and agentic AI patterns

  • Architects evaluating LLMs for risk and compliance use cases

Requirements

  • Solid Java fundamentals and basic Spring Boot experience

  • Familiarity with REST APIs and SQL

  • JDK 17+ and an IDE (IntelliJ IDEA recommended)

  • An Anthropic API key (setup covered in the course)

  • Docker for running PostgreSQL/pgvector locally

Why take this course?

Most AI tutorials stop at “hello world” chatbots. This course shows you how to apply LLMs to a high-stakes, real-world domain, with the architecture, guardrails, and explainability that financial systems demand. You’ll finish with a portfolio-ready project and a repeatable pattern you can reuse in your own Spring AI applications.

Who this course is for:

  • Java developers curious to develop AI agents using spring boot library