# SENTINEL-X — Explainable Fraud Scoring

> Score transaction CSVs for fraud — XGBoost model, rule layer and velocity checks in one hybrid risk score, with a SHAP explanation for every flag. Train it on your own labeled data or use the bundled demo model. Fully offline, analyst-ready reports.

SENTINEL-X — Explainable Fraud Scoring is a paid AI agent skill on Agensi by Hamidreza Akbarpour, in Finance & Accounting. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $29 (one-time purchase)
- Creator: [Hamidreza Akbarpour](https://www.agensi.io/creators/hamidreza-akbarpour)
- Category: [Finance & Accounting](https://www.agensi.io/skills/finance-accounting)
- Version: 1.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/sentinel-x-explainable-fraud-scoring
- Tags: finance, fraud-detection, xgboost, shap, fintech, risk-scoring, machine-learning

## What it does

- Trains on your own labeled transaction CSV — columns auto-detected, no fixed format required
- Scores new transactions with a hybrid risk score: 0.6 model + 0.2 rules + 0.2 velocity
- Explains every flagged transaction with SHAP top factors and plain-language triggered rules
- Produces an analyst-ready report (Markdown + JSON + scored CSV)
- Runs fully offline — no API keys, no network; your data never leaves your machine

## Who it's for

- **Fintech and risk analysts:** Explained fraud flags with analyst-ready reports, not black-box scores Try: "Score this transactions CSV and explain the riskiest flags"
- **ML engineers prototyping fraud detection:** A complete working fraud pipeline — training, scoring and SHAP explanations — to prototype fast Try: "Train a fraud model on my labeled transactions CSV"
- **Indie builders of payment products:** Fraud checks for a payment product without building ML infrastructure Try: "Add fraud scoring to my checkout transactions"

## About this skill

SENTINEL-X scores transaction data for fraud and — unlike a bare model — explains every decision it makes.

### Two workflows

A) Your own data: give the trainer a labeled CSV (amount, timestamp, label; merchant/card/user columns optional) in any ordinary format. Columns are auto-detected, velocity features are built per card/user, training is time-aware with a held-out validation split, and the flag threshold is picked by best validation F1 with honest metrics printed. Then score new transactions with your trained model.
B) Demo mode: score a Kaggle creditcard-format CSV (Time, V1–V28, Amount) with the bundled demo model and the SENTINEL-X R001–R006 rule layer.

### How it works

An XGBoost model produces a fraud probability; a transparent rule layer and a velocity heuristic (burst/repeat activity) are combined into one hybrid risk score: 0.6 × model + 0.2 × rules + 0.2 × velocity, graded LOW / MEDIUM / HIGH. SHAP names the top 3 features behind every flagged transaction, next to the rules it triggered in plain language.

### Outputs

scored_transactions.csv (row-level scores and factors), report.json, and report.md — an analyst-ready report of flagged transactions with amounts, risk scores and reasons.

### Honest limits

The bundled demo model was trained on clearly labeled synthetic data from the open-source SENTINEL-X project (the open-source SENTINEL-X project on GitHub) — it demonstrates the workflow and is not real-world fraud performance. For real decisions, train on your own labeled data (Workflow A). Models are only as good as their training data; validation metrics come from a time-based holdout of the training file.

## Requires

- Python 3.10+

Runs 100% locally and offline. No network access, no environment variables, no external services. Your transaction files never leave your machine.

## Technical details

Python 3.10+. Dependencies (pinned in requirements.txt): pandas, numpy, scikit-learn, xgboost, shap, joblib. Package contents: SKILL.md, scripts/train_model.py, scripts/score_transactions.py, scripts/generic_features.py, a bundled demo model (268 KB), data-format reference and two sample CSVs (Kaggle-format and generic labeled). 100% offline at runtime: no network calls, no environment-variable reads, no subprocesses. Velocity features only use the file provided.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the SENTINEL-X — Explainable Fraud Scoring skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it work with my own transaction format?

Yes — training auto-detects amount, time, label and entity columns in ordinary CSVs; no vendor format is required.

### Is the bundled demo model trained on real data?

No — on clearly labeled synthetic data, to demonstrate the workflow. Train on your own labeled data for real use.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
