Governing the Edge: Automating Commercial Property and Casualty Insurance Underwriting via a Hybrid Local-Cloud Multi-Agent Framework
Organizations: Independent Researcher McKinney, TX, USA · Independent Researcher Chicago, IL, USA
Abstract
Underwriters in commercial Property and Casualty (P&C) insurance spend 30 to 40% of their time on administrative work rather than risk judgment, and a single submission takes about 40 minutes by hand. We present Governing the Edge, a multi-agent framework for that layer, organized around a data-residency constraint: sensitive submission data must not leave the perimeter. Eleven agents and two deterministic control nodes, one a human-escalation interrupt, form a 13-node LangGraph workflow across two tiers. Agents touching raw submissions run locally on Gemma 2, each bound through a tool interface logging every invocation (synthetic stubs in the current prototype); only anonymized scores and non-identifying fields cross to Claude Sonnet in the cloud. Compliance rules are encoded as conditions on graph edges, so a non-compliant submission never reaches pricing. We walk through one full scenario end to end, a commercial auto submission whose principal driver carries serious violations, showing every agent call, every tool invocation, and the resulting routing decision. The framework processes a 40-minute manual submission in a few minutes on a single edge device, dominated by serialized on-device inference. On the hard-stop violation tier the framework enforces every rule correctly and reproducibly, since hard stops are deterministic predicates over fields extracted at temperature 0; overall compliance accuracy across the 20-scenario benchmark is 70%, with the remaining gap concentrated in softer, judgment-based tiers. It keeps a complete audit trail and respects the privacy boundary throughout. We release all code, compliance rules, tool stubs, and synthetic datasets.
Figures & tables
| # | Agent | Model | Tier | Role |
|---|---|---|---|---|
| 1 | Doc Parser | Gemma 2 | Local | Normalize input |
| 2 | Intake | Gemma 2 | Local | Extract ACORD 125 (temp=0) |
| 3a | Property/Fleet | Gemma 2 | Local | FEMA/wildfire stubs |
| 3b | Geo/Driver | Gemma 2 | Local | MVR stub; driver risk |
| 3c | Business/Ops | Gemma 2 | Local | D&B/DOT stubs |
| 3d | Risk Aggregator | Claude Sonnet | Cloud | Merge scores (anon.) |
| ID | Line | Rule | Sev. | Agent |
|---|---|---|---|---|
| CP-01 | Prop. | Frame const. 3 stories | STOP | 3a |
| CP-02 | Prop. | TIV USD 10M | STOP | 3a |
| CP-03 | Prop. | Habitational 4 units | STOP | 3a |
| CP-04 | Prop. | Loss ratio 70% | WARN | 3a |
| CP-05 | Prop. | Bldg 40yr, no reno | WARN | 3a |
| CA-01 | Auto | Fleet 20 vehicles | STOP | 3a |
| Agent | Tool Function | Production API |
|---|---|---|
| Document Parser Agent | ocr_document() | AWS Textract / Azure Form Recognizer |
| Intake Agent | validate_address() , lookup_sic_code() | USPS Address Validation; D&B SIC/NAICS |
| Property Risk | lookup_fema_flood_zone() , lookup_wildfire_risk() | FEMA Flood Map; CoreLogic Wildfire / Verisk |
| Geographic/Driver | lookup_mvr() | LexisNexis MVR / Equifax (consent required) |
| Business Risk | lookup_dnb_business() , lookup_dot_safety_rating() | D&B Hoovers / Experian; FMCSA SAFER |
| Compliance Agent | query_rules_engine() | Internal rules DB + state DOI filings |
| Category | Trigger |
|---|---|
| TIMEOUT | LLM call exceeded its timeout. |
| LLM_API_ERROR | Authentication, rate-limit, or quota error from the model API. |
| LLM_PARSE_ERROR | JSON/output parsing failed (also the catch-all default). |
| SCHEMA_VALIDATION | Output failed Pydantic schema validation. |
| TOOL_FAILURE | Tool/function-call invocation failed. |
| INCONSISTENCY | Output inconsistency or contradiction detected. |
| Underwriting Task | Manual Time | Framework (median) | Tool / Agent |
|---|---|---|---|
| Document intake & field extraction | 16–24 min | 63.9 s | Doc Parser + Intake |
| Driver/geographic risk (incl. MVR) | 8–12 min | 71.7 s | Geographic/Driver ( lookup_mvr() ) |
| Property/fleet exposure check | 5–10 min | 80.3 s | Property/Fleet ( lookup_fema_flood_zone() ) |
| Business credit / DOT lookup | 10–18 min | 110.3 s | Business/Ops ( lookup_dnb_business() , lookup_dot_safety_rating() ) |
| Compliance rules check (10 rules) | 15–25 min | 39.2 s | Compliance ( query_rules_engine() ) |
| Coverage adequacy analysis | 10–15 min | 46.8 s | Coverage Gap (cloud) |
| System | Compliance Acc. | Completion | Avg Latency |
|---|---|---|---|
| Monolithic Sonnet | 75.0% | 100% | 6.4 s |
| Linear Pipeline | 30.0% | 100% | 30.4 s |
| Governing the Edge | 70.0% | 100% | 268.8 s |
| Scenario Tier | Monolithic | Linear | Gov. the Edge |
|---|---|---|---|
| Straightforward approval (4) | 4/4 | 0/4 | 4/4 |
| WARNING compliance (6) | 3/6 | 0/6 | 2/6 |
| Hard-stop violation (6) | 5/6 | 6/6 | 6/6 |
| Low-confidence escalation (4) | 3/4 | 0/4 | 2/4 |
| Overall | 75% | 30% | 70% |
Business Process Automation
Business Process Automation uses software, process models, and AI agents to execute, monitor, and improve organizational workflows.
See all 39 papersAgentic AI and Retrieval-Augmented Models in Straight-Through Underwriting
agentic'' systems that plan, retrieve, call tools, and reflect. This paper examines how these emerging architectures can support actuarial priorities such as transparency, auditability, and human-in-the-loop governance, with a focus on straight-through decision processes. To make these ideas concrete, we develop and analyze an agentic AI framework for straight-through underwriting of small commercial Business Owner Policies (BOPs). We construct a synthetic but realistic experimental environment and compare three underwriting pipelines: (i) a single-LLM baseline, (ii) a naive RAG system, and (iii) a multi-agent Agentic RAG'' pipeline that combines targeted retrieval, third-party data checks, and explicit multi-step rule evaluation. The agentic system performs best overall, with the largest gains in multi-step and missing-information scenarios, where structured retrieval and reflection help the model avoid unsupported straight-through decisions.