How hridaypradhan/claim-denial-triage-agent works
Claim Denial Triage Agent is an academic prototype for reviewing synthetic denied outpatient claims. A claim is parsed and routed through deterministic rules; when authorized, the bounded agent requests read-only evidence, proposes a disposition, and undergoes deterministic validation before a tool-less verification step and grounded appeal drafting. The result is assembled as a pending human-review package, never submitted automatically. The repository also includes a frozen baseline and a pilot/held-out evaluation harness. Runtime connections follow the README workflow; some internal orchestration is unsampled, so uncertain links are omitted.
Main entry points: integrated_runtime.py Integrated Runtime · run_pilot.py Pilot Runner · router.py Claim Router · dispatcher.py Tool Dispatcher
Components 23
Claim Routing
- Claim Parser
baseline/triage/claim.py - Baseline Rules
baseline/triage/rules.py - Claim Router
src/claim_agent/agent/router.py
Bounded Agent Runtime
- Runtime Contracts
src/claim_agent/contracts/schema.py - Integrated Runtime
src/claim_agent/agent/integrated_runtime.py - Hosted Client Factory
src/claim_agent/agent/hosted/factory.py - Hosted Model Client
src/claim_agent/agent/hosted/client.py
Evidence and Safety
- Tool Dispatcher
src/claim_agent/tools/dispatcher.py - Knowledge Store
src/claim_agent/tools/knowledge_store.py - Policy Retrieval
src/claim_agent/tools/policy_retrieval.py - Deadline Tool
src/claim_agent/tools/deadline_tool.py - Decision Validator
src/claim_agent/safety/validator.py
Review Outcomes
- Proposal Verification
src/claim_agent/agent/verification/execution.py - Appeal Drafting
src/claim_agent/agent/drafting/execution.py - Draft Safety Checks
src/claim_agent/safety/drafting.py - Review Package
src/claim_agent/output/package.py
Evaluation
- Evaluation Data
evaluation/pilot_data.py - Compared Systems
evaluation/systems.py - Scoring Metrics
evaluation/metrics.py - Pilot Runner
evaluation/run_pilot.py
Other components
- Denied Claim
- Hosted Model Service
- Human Reviewer
Connections 23
- Denied Claim → Claim Parser: submits claim
README.md - Claim Parser → Baseline Rules: parses for
src/claim_agent/agent/router.py - Baseline Rules → Claim Router: findings inform
src/claim_agent/agent/router.py - Claim Router → Integrated Runtime: authorizes agent
README.md - Integrated Runtime → Hosted Client Factory: uses hosted clients
- Hosted Client Factory → Hosted Model Client: builds client
src/claim_agent/agent/hosted/factory.py - Hosted Model Client → Hosted Model Service: sends model call
README.md - Integrated Runtime → Tool Dispatcher: requests evidence
README.md - Tool Dispatcher → Policy Retrieval: routes policy requests
src/claim_agent/tools/dispatcher.py - Policy Retrieval → Knowledge Store: reads snapshot
src/claim_agent/tools/policy_retrieval.py - Tool Dispatcher → Knowledge Store: reads snapshot
src/claim_agent/tools/dispatcher.py - Claim Router → Deadline Tool: checks deadline
src/claim_agent/agent/router.py - Integrated Runtime → Decision Validator: validates proposal
README.md - Decision Validator → Proposal Verification: passes safe proposal
README.md - Proposal Verification → Appeal Drafting: approves appeal draft
README.md - Appeal Drafting → Draft Safety Checks: checks grounded text
src/claim_agent/agent/drafting/execution.py - Integrated Runtime → Review Package: assembles result
README.md - Appeal Drafting → Review Package: provides accepted draft
README.md - Review Package → Human Reviewer: presents pending review
README.md - Evaluation Data → Compared Systems: provides cases
evaluation/systems.py - Pilot Runner → Evaluation Data: loads dataset
evaluation/run_pilot.py - Pilot Runner → Compared Systems: runs predictions
evaluation/run_pilot.py - Pilot Runner → Scoring Metrics: scores predictions
evaluation/run_pilot.py