Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
e25d281
Add AML fraud investigation agent
fcogidi Jan 29, 2026
edc42d1
Add simpler AML investigation agent
fcogidi Jan 30, 2026
13d59ee
Remove AML investigation policy and workflow implementations
fcogidi Jan 30, 2026
8ae76f6
Add ReadOnlySqlPolicy to enforce SQL statement restrictions
fcogidi Jan 30, 2026
743159e
Refactor AML case model to replace suspected_pattern_type with trigge…
fcogidi Jan 30, 2026
ab0693f
Add unit tests for AML case generation and parsing utilities
fcogidi Jan 30, 2026
41c6835
Refactor AML investigation agent: improve database handling, update a…
fcogidi Jan 30, 2026
9681b3f
Merge branch 'main' into fco/aml_investigator
fcogidi Jan 30, 2026
f458e92
Fix Langfuse client initialization to handle optional secret key
fcogidi Jan 30, 2026
2a922d8
Refactor DatabaseConfig and Configs classes: enhance field descriptio…
fcogidi Jan 30, 2026
9eeca4f
Reorganize .env.example: move AML database configuration to the end a…
fcogidi Jan 30, 2026
1eb6eb1
Update lookback_days default to 30 and add warning for zero value in …
fcogidi Jan 30, 2026
719c575
Change audit logging level from info to debug in ReadOnlySqlDatabase
fcogidi Jan 30, 2026
39bba83
Enhance case generation logic: adjust window start handling for zero …
fcogidi Jan 30, 2026
3711313
Refactor concurrency handling: replace hardcoded semaphore value with…
fcogidi Jan 30, 2026
0b8d43f
Add pytest-asyncio as a development dependency
fcogidi Jan 30, 2026
abe8650
Address PR comments
fcogidi Jan 30, 2026
186546c
Add imports and define __all__ for AML Investigation utilities
fcogidi Feb 2, 2026
f84b897
Add docstring to __init__.py for clarity on AML investigation data mo…
fcogidi Feb 2, 2026
4bc4575
Refactor CaseFile, GroundTruth, and AnalystOutput models to use Pydan…
fcogidi Feb 2, 2026
6c80a66
Enhance documentation in agent.py with detailed usage examples for AM…
fcogidi Feb 2, 2026
1d7ee69
Update CLI documentation section header from 'Typical usage' to 'Exam…
fcogidi Feb 2, 2026
f7e7691
Merge branch 'main' into fco/aml_investigator
fcogidi Feb 2, 2026
eabafa5
Enhance safety notes in README to clarify read-only SQL tool usage an…
fcogidi Feb 2, 2026
3cbb664
Use type literals
fcogidi Feb 2, 2026
6666e4a
Simplify attempt ID serialization and deserialization
fcogidi Feb 2, 2026
9c73e1f
Merge branch 'main' into fco/aml_investigator
fcogidi Feb 2, 2026
c633e52
Merge branch 'main' into fco/aml_investigator
fcogidi Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ DEFAULT_EVALUATOR_MODEL="gemini-2.5-pro"
# LangFuse for agent execution tracing and evaluations
LANGFUSE_SECRET_KEY="sk-lf-..."
LANGFUSE_PUBLIC_KEY="pk-lf-..."
LANGFUSE_HOST="https://us.cloud.langfuse.com"
LANGFUSE_BASE_URL="https://us.cloud.langfuse.com"

# AML Database Configuration
AML_DB__DRIVER="sqlite"
AML_DB__DATABASE="implementations/aml_investigation/data/aml_transactions.db"
AML_DB__QUERY__MODE="ro"

# Report Generation (all optional, defaults are in implementations/report_generation/env_vars.py)
REPORT_GENERATION_OUTPUT_PATH="..."
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ wheels/

.env
.gradio
implementations/report_generation/data/*.db
.adk
*.db
implementations/report_generation/reports/*
22 changes: 22 additions & 0 deletions aieng-eval-agents/aieng/agent_evals/aml_investigation/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
"""Utilities for AML Investigation agent."""

from .data.cases import (
AnalystOutput,
CaseFile,
CaseRecord,
GroundTruth,
LaunderingPattern,
build_cases,
parse_patterns_file,
)


__all__ = [
"AnalystOutput",
"CaseFile",
"CaseRecord",
"LaunderingPattern",
"GroundTruth",
"build_cases",
"parse_patterns_file",
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
"""Data models and utilities for AML investigation agent."""

from .cases import AnalystOutput, CaseFile, CaseRecord, GroundTruth, LaunderingPattern, build_cases, parse_patterns_file
from .utils import (
Filenames,
IllicitRatios,
TransactionsSizes,
apply_lookback_window,
download_dataset_file,
normalize_transactions_data,
)


__all__ = [
"AnalystOutput",
"CaseFile",
"CaseRecord",
"Filenames",
"IllicitRatios",
"LaunderingPattern",
"TransactionsSizes",
"GroundTruth",
"apply_lookback_window",
"build_cases",
"parse_patterns_file",
"download_dataset_file",
"normalize_transactions_data",
]
Loading