Payment Intelligence Agent banner
aubinhaba aubinhaba

Payment Intelligence Agent

AI community

Description

Cloud-native, event-driven payment transaction intelligence agent. Ingests simulated payment events, detects anomalies via rules + LLM, and produces automated risk reports through Claude with autonomous tool calling.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Payment Intelligence Agent (PIA)

Cloud-native, event-driven payment transaction intelligence agent. Ingests simulated payment events, detects anomalies via rules + LLM, and produces automated risk reports through Claude with autonomous tool calling.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE) ![Java](https://img.shields.io/badge/Java-21-orange.svg) ![Spring Boot](https://img.shields.io/badge/Spring%20Boot-3.4.x-brightgreen.svg) ![AWS](https://img.shields.io/badge/AWS-ECS%20%7C%20SQS%20%7C%20DynamoDB%20%7C%20S3-ff9900.svg) ![Terraform](https://img.shields.io/badge/Terraform-1.9%2B-623ce4.svg) ![Angular](https://img.shields.io/badge/Angular-18%2B-dd0031.svg) ![Anthropic](https://img.shields.io/badge/Anthropic-Tool%20Calling-black.svg) ![CI](https://github.com/aubinhaba/payment-intelligence-agent/actions/workflows/ci.yml/badge.svg)


Table of contents


Why this project exists

PIA is a **portfolio-grade** implementation of a production-ready autonomous analysis agent for payment transactions. It demonstrates:

  • Hexagonal architecture with strict separation between domain, application and infrastructure.
  • Event-driven ingestion using SQS with DLQ, idempotent consumers, and the Outbox pattern.
  • Autonomous LLM agent — the Claude API is wired with a proper tool-calling loop (not a one-shot prompt), giving the model first-class access to domain-aware tools.
  • AWS cloud-native deployment on ECS Fargate with IaC via Terraform.
  • PCI-DSS mindset: zero PAN, tokenized card references, PAN masking in logs, SSM secrets, IAM least-privilege.
  • Full observability: structured JSON logs, Micrometer/CloudWatch metrics, OpenTelemetry traces.

Architecture

C4 — C