Skip to content
iarjunganeshPublic

About

ARGUS (Agentic Risk & Governance Unified Screening): multi-agent KYC risk screening research prototype on synthetic data. Fixed rules set the score and tier; a language model only explains them for a human reviewer. Microsoft Agent Framework, FastAPI, Next.js. Hack for Good winner, Microsoft Agents League 2026.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

Β 

History

224 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

ARGUS

ARGUS β€” Agentic Risk & Governance Unified Screening. Explainable KYC screening, built for the people automated compliance fails.

Rules decide. A language model explains. A person reviews.
Open, explainable KYC screening, and a study of whether its explanations keep the facts.

Microsoft Agents League β€” AI Skills Fest 2026 | Hack for Good winner (1 of 3)

Agents League β€” Reasoning Agents badge Β Β  The Microsoft IQ Series: Foundry IQ badge

CI SonarQube Cloud Codecov Release License: GPL v3 Watch Video

Platform and toolchain badges

Microsoft Agent Framework Azure OpenAI Foundry IQ Azure AI Search Cosmos DB Document Intelligence Azure Container Apps Azure Monitor

Next.js React TypeScript Node.js Tailwind CSS shadcn/ui Playwright axe Vercel Hobby

Python FastAPI Pydantic uv Ruff Mypy pytest Docker Tesseract

Azure OpenAI tier Foundry IQ tier Azure AI Search tier Cosmos DB tier Document Intelligence tier Azure Container Apps tier Azure Monitor tier

Vercel live frontend Azure live API


ARGUS runs the checks of a bank's know-your-customer (KYC) screening: identity, sanctions and politically exposed persons, company ownership and transactions. Four agents gather the evidence and a fifth combines it. Fixed, versioned rules turn it into a risk score, a tier and the obligations that follow. A language model writes the explanation and nothing else, and every case waits for a person to decide. Every customer, document and transaction ARGUS screens is synthetic.

Try the live demo Β· Watch the 5-minute video Β· Read the study plan


Why it matters

Screening decides who gets a bank account. When software makes that decision, the analyst who reviews it, and the customer who later asks why, depend on its explanation. Language models make such explanations cheap to write, and they write fluently whether or not the text matches the decision. A model can drop a finding, call a potential sanctions match confirmed or cleared, or leave out that a person still has to decide. A wrong explanation is worse than none: it misleads the reviewer exactly where care is needed.

The stakes are real. About 1.3 billion adults still have no account (World Bank, Global Findex 2025), and the Financial Action Task Force, which sets the global anti-money-laundering standards, runs a project on its standards' unintended consequences, de-risking and financial exclusion among them. ARGUS began as a Hack for Good project with the people at that edge in mind: those whose documents or countries fall outside what a screening system expects.

ARGUS does not claim to fix that. It isolates one thing that has to hold before an automated decision can be reviewed fairly: the explanation must say what the decision actually rests on. So ARGUS keeps the decision and the explanation apart, and measures what happens between them.


How ARGUS works

One KYC request in five steps: submit; four agents run in parallel with fixed scoring rules; the Compliance and Risk agent weights the dimensions and sets the tier; a language model writes the explanation but cannot change the score; the report goes to a human reviewer.

  1. Agents gather the evidence. The Identity, Screening, Corporate and Transaction agents run in parallel in one Microsoft Agent Framework workflow, and the Compliance & Risk agent combines their results.
  2. Fixed rules decide. Every result becomes typed findings, and one versioned policy (argus-risk-v1) computes the dimension scores, the weighted score, the tier and the obligations. A potential sanctions match holds the case at CRITICAL whatever the score.
  3. A language model explains, and only explains. It receives the decision and writes three to five sentences for the analyst. It cannot change a score, a tier or a finding. Without a model, a fixed template writes the explanation, and the report says so.
  4. A person decides. Every report is pending human review. Every result says how it was produced (computed, fallback when a service was unavailable, or demo_profile), every finding carries its uncertainty and evidence, and every regulation cited names its source document and article.

See it

The ARGUS report for Cayman Synth Capital, a synthetic company, beside the queue of six demo cases: risk tier CRITICAL, risk score 76 of 100, the tier set by a sanctions hold, enhanced due diligence required, and a notice not to onboard or process transactions until a compliance officer confirms or clears the potential sanctions match.

Cayman Synth Capital, a synthetic company with a potential sanctions match: the tier is held at CRITICAL, and nothing moves until a person confirms or clears the match.

The web UI reads a report as an analyst's case file:

  • Case header: the tier, the score, what set the tier (the score band or a sanctions hold), the sanctions status, whether enhanced due diligence is required, the recommendation and the review's state.
  • Potential sanctions match: the listing beside the customer it may concern, to confirm, clear or escalate.
  • Why this score: each dimension's score times its weight, and behind it the findings with their uncertainty, source and evidence records.
  • Explanation: the analyst explanation, and whether a model or the template wrote it.
  • Review: a simulated review kept in the browser and sent nowhere. The analyst decides with a reason, and a HIGH or CRITICAL decision waits for an approver's sign-off.
  • Audit trail: which agents ran, how each result was produced, which tools fell back, and the full report as JSON.

The same report further down. Why this score: identity 30 times 20 percent is 6, screening 100 times 30 percent is 30, corporate and ownership 40 times 15 percent is 6, regulatory 100 times 25 percent is 25, transaction 90 times 10 percent is 9, total 76 of 100; the sanctions hold, not the score band, sets the tier. Review: awaiting the analyst. Explanation, written from a template because no language model answered: the case is held at CRITICAL because screening found a potential sanctions match, and a compliance officer must confirm or clear it before any onboarding decision.

Rules decide, the explanation follows. The dimension scores add up to 76, the sanctions hold sets the tier, and the explanation says who wrote it: in this local run no model was configured, so the fixed template did.

Demo scenarios

The six demo cases, riskiest first. The live site offers only these.

Entity Type Jurisdiction Score and tier Recommendation
πŸ”΄ Cayman Synth Capital corporate KY 76.0 CRITICAL Hold until the sanctions match is confirmed or cleared
πŸ”΄ Synthetic Payments AG corporate DE 56.5 HIGH Enhanced due diligence (PEP match, offshore owners, structuring)
🟠 Synthetic Holdings B.V. corporate NL 44.0 MEDIUM Enhanced due diligence (PEP match)
🟠 Synthetic Nordic Bank A/S corporate DK 36.0 MEDIUM Enhanced due diligence (PEP match)
🟒 Synthetic Pacific Banking Corporation corporate AU 18.2 LOW Standard onboarding, despite adverse media and a structuring flag
🟒 Jane Synthetic individual DE 3.0 LOW Standard onboarding

Every entity is invented. The four parallel agents' results come from recorded profiles; the scoring, the decision and the explanation run live. A test (tests/test_demo_scenarios.py) fails if any scenario's score, tier or recommended actions change.


Where ARGUS is heading

Now: does the explanation keep the facts?

The next piece of work is a small, planned study, with every procedure written down before any model output is read (the protocol). It asks three questions:

  1. When a model explains a decision that rules made, does it keep the findings, the evidence, the uncertainty and the need for human review?
  2. Does that change when it receives minimised typed findings, without the entity's name, instead of the raw case? Which case strings reach the model either way?
  3. What happens when a case field carries an injected instruction, or one workflow step's result is missing?
Design
Cases 24 synthetic cases in eight strata, from clear cases to many findings, with PEP matches, potential sanctions matches, partial evidence, missing assessments and conflicting findings. 8 tune the prompts; the outputs of the other 16 are not read until the prompts are frozen.
Arms A: today's analyst prompt with the raw case. B: the same instructions with minimised typed findings. C: the fixed template, no model.
Reference Written for each case before any output is read: the required facts, the evidence, the uncertainty, the review status and the permitted next steps.
Stress tests The same injected instruction in two fields of six cases, and two missing-step variants of six cases, with the expected behaviour written down first.
Model Azure OpenAI gpt-5.4-mini, version 2026-03-17, pinned, with five repeats per item to measure variability.
Spend US$20 for the whole study, enforced in code: each attempt reserves its worst-case cost before it is sent, and the run stops before an attempt that would pass the ceiling.
Reporting Every request and response saved. Each result given with its numerator and denominator, by stratum, with failures quoted in full and null results reported as null.
Step Status
Typed findings and the decision record every arm is checked against βœ… Done (16 November 2026)
The protocol, the model and the budget βœ… Model and budget approved on 22 November 2026; protocol frozen on 25 November 2026
Week 1: a baseline of today's explanation (six demo scenarios, arm A, five repeats) πŸ”§ Command and spending stop built; the first model run is next
Week 2: the case set, the per-case references and the minimised input Planned
Week 3: arms A, B and C on every case Planned
Week 4: the injection and missing-step pairs Planned
Week 5: one targeted improvement, rerun, with its regressions reported Planned
Week 6: the technical report and a summary article, with the run files to reproduce them Planned

The study measures faithfulness to ARGUS's own rules on synthetic cases. It will not show that ARGUS improves real screening, and it does not try to.

After the study

The v2 runtime, partly built, with the built part deployed: Next.js on Vercel, one FastAPI container on Azure Container Apps, a Microsoft Agent Framework workflow with the planned explanation study and human review, one model-provider setting, Foundry IQ, the later Fabric IQ and Work IQ integrations, and a data plane with Azure and local implementations.

The target runtime: solid outlines are built, dashed ones are planned.

  • Plain language for the person screened. Once faithfulness is measured, the follow-up question is whether the wording can be made simpler without losing it. A plain-language variant of the explanation is in the code, not yet wired in.
  • All three Microsoft IQs. Foundry IQ already serves the regulations. Fabric IQ, for evaluation data and ownership relationships, and Work IQ, for case-handover context, come after the first write-up.
  • Neutral where it's cheap. The model provider already changes with one setting; the goal is the same for the container host, the tools (MCP) and telemetry. The data plane stays Azure, with a local implementation for tests and self-hosting.
  • Longer term, in docs/roadmap/: an accessibility review with assistive technology, a community edition for NGOs, durable execution, an open knowledge graph, multimodal identity evidence and adverse-event reports.

What works today, and what doesn't

ARGUS was rebuilt after the hackathon. This table describes the current code; the dated checks and the next step are in HANDOFF.md.

Capability Status
Orchestrator fan-out and fan-in across five agents βœ… Works, as one in-process Microsoft Agent Framework workflow inside the API. GET /api/v1/kyc/stream/{id} follows each agent's progress as server-sent events.
Deterministic risk scoring, tiering and gap analysis βœ… Works
Plain-English decision explanation βœ… Works. On the deployment, Azure OpenAI gpt-5.4-mini writes it; elsewhere, the model chosen by ARGUS_MODEL_PROVIDER (Azure OpenAI, OpenAI or GitHub Models). Without one, a fixed template writes it, labelled as such.
Local data plane (default): knowledge-base search, entities, ownership, transactions, reports βœ… Works with no cloud account, on the synthetic data in data/. A clone without generated data finds nothing, and says so.
Azure data plane (ARGUS_DATA_BACKEND=azure): Foundry IQ knowledge bases on AI Search, Cosmos DB, Document Intelligence ⚠️ The deployment runs the knowledge-base search (regulations) and the report store live. The entity store, the sanctions and adverse-media searches and Document Intelligence have not yet run live: the public demo takes the four parallel agents' results from recorded profiles, and the API takes no documents.
OCR without Azure βœ… Tesseract reads the synthetic identity documents (PNG and PDF) when it is installed (the ocr dependency group and the Tesseract program); without it, documents are reported as unread, labelled fallback. ⚠️ The API does not accept documents yet: OCR runs when the Identity agent is called directly.
The six demo scenarios ⚠️ Their parallel-agent results come from recorded demo profiles (utils/demo_profiles.py), not live calls. The compliance fan-in still runs live.
Web UI (web/: Next.js, TypeScript, shadcn/ui) βœ… Works locally (submit an entity or a demo case, follow each agent live, read the report as a case file) and at argus.arjunganesh.dev, which offers the six demo cases only. Tested end to end with Playwright and axe.

Architecture

The current runtime: the Next.js web UI calls one FastAPI process from the browser, which runs the orchestrator's Agent Framework workflow (four agents in parallel, then compliance) and reads data through one data plane: local synthetic data by default, or Foundry IQ knowledge bases, Cosmos DB and Document Intelligence.

Agent Tools Knowledge source
🎯 Orchestrator Agent Framework workflow: fan-out / fan-in β€”
πŸͺͺ Identity customer_lookup, ocr_processor, identity_validator Entity store, OCR
πŸ” Screening sanctions_checker, adverse_media_scanner, pep_checker Sanctions and adverse media knowledge bases, entity store
🏒 Corporate Intelligence ubo_resolver, registry_lookup, jurisdiction_mapper Entity store (ownership graph)
πŸ’³ Transaction Intelligence transaction_monitor, pattern_detector, typology_matcher Entity store (transactions), regulations knowledge base
βš–οΈ Compliance & Risk regulations_rag, risk_scorer, gap_analyzer, explain_decision Regulations knowledge base, language model (explanation only)

Each source is one of four data-plane interfaces with a local and an Azure implementation. The JSON report carries the typed findings, an evidence index and a decision record with the policy version; see docs/ARCHITECTURE.md.


Quick start

Runs locally without any cloud account, on the local data plane: synthetic data, searched in memory. The six demo scenarios use their recorded profiles.

Requires uv. It installs the Python version pinned in .python-version (3.14) and the locked dependencies.

git clone https://github.com/iarjunganesh/argus.git
cd argus
uv sync
cp .env.example .env    # optional: choose a model provider or the Azure backend

For a populated local data set, generate the synthetic data once: uv run python data/synthetic/generate_entities.py, and the other generate_*.py scripts in that folder.

Start ARGUS: the API (which runs every agent in-process) and the web UI, which needs Node.js 26. Install the web UI once with npm ci --prefix web. On Windows, scripts/dev/start_demo.ps1 starts both and scripts/dev/end_demo.ps1 stops them. Elsewhere, start each in its own terminal:

ARGUS_CORS_ORIGINS=http://localhost:3000 uv run uvicorn argus.api.main:app --port 8000
npm --prefix web run dev    # then open http://localhost:3000

The browser calls the API directly, so ARGUS_CORS_ORIGINS must list the web UI's origin. More in web/README.md.

Or run one assessment without either: uv run python scripts/dev/run_demo_inprocess.py.

Or run the API in a container (no UI; the local backend holds no data in the image, so the six demo scenarios run from their recorded profiles):

docker build -t argus .
docker run --rm -p 8000:8000 argus
python scripts/ci/smoke_api.py    # one demo assessment against http://127.0.0.1:8000

Run the same checks as CI:

uv run ruff check . && uv run ruff format --check .
uv run mypy
uv run pytest --cov
uv run python scripts/ci/check_docs.py
uv run python scripts/ci/check_versions.py --check
uv run python scripts/ci/render_assets.py --check
npm --prefix web run lint && npm --prefix web run typecheck && npm --prefix web test

To run on Azure instead, docs/DEPLOYMENT.md deploys the API with its data plane (infra/main.bicep), fills it (infra/populate.py) and removes it again (infra/teardown.py).


Recognition

ARGUS was selected as 1 of 3 Hack for Good winners in the Microsoft Agents League β€” AI Skills Fest 2026. The submission material (runbooks, narration script, slides, original architecture spec) is preserved unchanged in archive/hackathon-2026/.


Contributing

The next work is the study above; HANDOFF.md has the order. Issues are welcome: start with CONTRIBUTING.md. AGENTS.md holds the full rules, commands and definition of done for humans and coding agents alike, and security reports go through SECURITY.md. The most useful contributions right now:

  1. Critique of the study design. The protocol is open: a flaw found before the runs is worth far more than one found after.
  2. Accessibility review of the web UI with real assistive technology. axe finds no WCAG 2.2 AA violations, but that is not a full audit (see docs/roadmap/accessibility.md).
  3. Translations of explanation output. The people who most need plain language are often not reading in English.

Citing ARGUS

Every GitHub release is archived on Zenodo. To cite ARGUS, use its concept DOI, which always resolves to the latest version: 10.5281/zenodo.24292413. Version 0.1.0 is 10.5281/zenodo.24292414. GitHub's "Cite this repository" button reads CITATION.cff.


License

Copyright (c) 2026 iarjunganesh.

Licensed under the GNU General Public License v3.0. See LICENSE.


Disclaimer

ARGUS is a technology demonstration. It is not a licensed compliance tool and must not be used to make real KYC/AML decisions. All test and demo data is synthetic.

About

ARGUS (Agentic Risk & Governance Unified Screening): multi-agent KYC risk screening research prototype on synthetic data. Fixed rules set the score and tier; a language model only explains them for a human reviewer. Microsoft Agent Framework, FastAPI, Next.js. Hack for Good winner, Microsoft Agents League 2026.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages