Agentic AI Hackathon · Claims Triage track · Open source (MIT)

Intelligent claims.
Transparent decisions.

ClaimPilot is an autonomous agent that reads an insurance claim, plans an investigation, calls real tools, checks its own work, and recommends where the claim should go. It cites evidence for every conclusion and stops for a human before any denial or fraud referral.

ClaimPilot live investigation screen: a ten-stage workflow, a terminal-style agent trace, the investigation plan with hypotheses, and evidence activity for a suspicious flood claim.
Live investigation of a ₹6.85 L flood claim. Weather records show 0 mm of rain, the photos predate the policy, and the claimant links to a fraud ring, so it is routed to SIU and paused for a human.
The problem

Triage takes days. ClaimPilot takes seconds.

Claims teams read every document by hand, check policy wording clause by clause, and rely on instinct to spot fraud. ClaimPilot does the investigation and leaves the judgement to people.

Today

  • ✕Every claim is read manually, simple or not
  • ✕Fraud checks depend on the handler's instinct
  • ✕Coverage calls vary from handler to handler
  • ✕Missing documents stall claims silently
  • ✕"Why was this flagged?" is hard to answer

With ClaimPilot

  • ✓Low-risk, covered, complete claims are approved straight through
  • ✓Weather, photo metadata, reused images and shared identifiers are checked on every claim
  • ✓A rules engine applies the policy wording and shows the arithmetic
  • ✓The agent requests documents, waits, and re-plans when they arrive
  • ✓Every score traces to flags, and every flag to evidence
How it works

A real agent loop, not a single prompt

A LangGraph state machine. Claude decides what to investigate and what the evidence means. Auditable code turns evidence into scores and routes. People sign off on denials and fraud referrals.

IntakeReads form, PDFs and photos; extracts facts; masks personal data before any LLM call.
CLAUDE
PlanChooses light, standard or deep investigation and states the hypotheses to test.
CLAUDE
InvestigateTool-use loop: calls tools in parallel, adapts to results, records cited findings.
CLAUDE + TOOLS
VerifyA critic checks required evidence and valid citations, and sends gaps back to investigate again.
CODE
DecideExplainable fraud score, severity points, clause-cited coverage, routing policy.
CODE
ReportCited triage report, handler brief and a courteous claimant letter.
CLAUDE
Human gatesPauses for missing documents or for adjuster sign-off on SIU, denials and low confidence.
HUMAN
ActCreates the ticket, assigns by role, authority, region and caseload, sets the SLA, notifies.
CODE
Verify → Investigate when evidence is missing (max 2 loops)Gate → Intake when documents arrive (full re-plan)State check-pointed to SQLite, so paused claims survive restarts
Product

A glassbox dashboard for adjusters

The agent is visible. Every plan, tool call, result and decision streams from the backend and opens down to its raw input and output.

Command center

Every claim, triaged and on the board

Fast track, standard review, SIU and awaiting-documents columns show live risk and confidence. To reroute a claim, drag it; you must give a reason, and the card only moves after the backend accepts.

  • Real metrics from the database, labelled as demo data
  • Honest service status: connected, mock or not configured
  • Global search, notifications, filters
Adjuster command center with metrics and a four-column claims board.
Three-pane claim workspace: original documents, agent synthesis with verified facts and scores, and the decision center with evidence-linked explanations.
Claim workspace

Ground truth, synthesis, and the why

Original documents sit beside what the agent extracted, and each fact is marked verified, discrepancy or unverified. Each risk flag links to its evidence, and each coverage finding opens the exact policy clause.

  • Decision center: approve, request documents, refer to SIU, escalate, override
  • Overrides require a reason and are stored next to the original recommendation
  • ClaimPilot never issues a final denial on its own
Fraud intelligence

Forensics and relationship mapping

Photo EXIF time and GPS, editing software and perceptual-hash matches against every past claim photo. An interactive graph links claims through shared phones, bank accounts, people and garages, and every edge shows the record that created it.

  • Flags are leads to investigate, not proof of wrongdoing
  • Reverse image search shown as "not configured", never faked
Fraud intelligence relationship graph linking a claim to a fraud ring through shared phone, bank account and garage.
Tools

13 investigation tools

Deterministic, auditable functions. The model chooses which to call and interprets the results; it never invents the facts they return.

Coverage rules engine

Clause-cited checks with a line-by-line payable: depreciation, deductible, IDV cap, waiting periods, room-rent proportionate deduction, co-pay.

Historical weather

Live Open-Meteo archive API: did the claimed flood, storm or hail actually happen at that place and date?

Image forensics

EXIF capture time and GPS against the loss and policy dates, editing software, and perceptual-hash reuse detection.

Entity link analysis

NetworkX graph over claims, people, phones, bank accounts, garages and hospitals; surfaces clusters and hotspots.

Anomaly model

Isolation Forest trained on historical genuine claims scores how unusual a claim's profile is.

Document review

PDF extraction, required-document checklist, and cross-checks such as claimed amount vs. bill, or FIR date vs. loss date.

Policy admin & wording

Policy status, period, premium and insured assets; semantic search over the policy wording.

Damage assessment

Claude vision describes the damage and checks it against the claimant's account (LLM mode).

Registry, geocoding, history, ticketing

Vehicle registry (mocked), OpenStreetMap geocoding, claim frequency, and ticket/SLA/notification actions.

Demo scenarios

Eight claims that exercise every branch

Motor and health lines. All data is synthetic; weather data is real.

ScenarioWhat the agent findsOutcome
Cracked windshield, ₹8,400Light plan, 5 checks, covered after deductibleAuto-approved
Basement flood, policy 6 days old, ₹6.85 L0 mm rain, photos predate the policy, edited image, fraud-ring linkSIU · human review
Monsoon street flood, ChennaiWeather confirms; engine damage excluded without Engine ProtectPartial cover
Knee replacement, 15 months into coverClause H-4.3: 24-month specified-disease waitCoverage review
Overnight vehicle theft, no FIRRequests the FIR, pauses, re-plans on uploadAwaiting documents
Flyover collision, rider injuredThird-party bodily injury (MACT exposure)Critical · senior
Parking-lot fender benderPhoto matches one from a 2025 claim (perceptual hash)SIU
Emergency appendectomy, deluxe roomRoom rent above the 1% cap, so a proportionate deduction appliesMedical review
Evaluation

Measured, with the caveats stated

68 labelled synthetic claims across 17 archetypes, each run end to end through the agent graph in deterministic mode.

100%
Routing accuracy
100%
Coverage decision accuracy
1.0 / 1.0
Fraud precision / recall
0%
Genuine claims sent to SIU

Read these numbers honestly. The data and labels are synthetic and were written by the same team as the rules. The first run scored 47% routing (a harness bug plus two real calibration gaps), and the SIU rules were then calibrated on this set, so the scores are optimistic. A held-out archetype written after calibration passes. Real-world accuracy would need real claims.

Evaluation page with metrics, routing confusion matrix and per-archetype results.
Responsible AI

Built to be trusted

PII masking

Phones, emails, PAN, Aadhaar, account numbers and names become stable pseudonyms before any LLM call. Link analysis still works.

Humans decide

Every SIU referral, every denial and any low-confidence decision needs an adjuster, and overrides are audited.

No fabricated reasoning

The UI shows plans, tool calls, results and decisions. It never shows invented "thoughts".

Explainable scores

Every fraud point maps to a flag, every flag to evidence, and every coverage call to a clause.

Graceful degradation

A failed tool lowers confidence instead of crashing. An LLM outage falls back to the rules plan.

Never accuses

Claimant letters contain no fraud language. Indicators go to investigators only.

Run it

One command, locally

Requires Python 3.12+ and Node.js 20+. Without an API key it runs in deterministic mode: same graph, tools, scoring and gates, with a rules-based planner.

# clone and start (installs, seeds demo data, builds, runs)
git clone https://github.com/niranjan19m-source/claimpilot.git
cd claimpilot
# optional: enable the full LLM agent
export ANTHROPIC_API_KEY=sk-ant-...
./start.sh --reset
# → http://localhost:3000
Tech stack
LangGraphClaude (Opus 5.5 · Haiku 5.5)FastAPISQLitescikit-learnNetworkXOpen-Meteo APINext.js 15React 19TypeScriptTailwind CSS v4shadcn/uiReact FlowRechartsFramer Motionpytest