Contents
PolicyEngine has developed a new artificial intelligence feature that transforms complex tax and benefit calculations into clear, accessible explanations. This innovation emerged from our participation in the Georgetown Beeck Center’s
Users frequently encounter intricate calculations spanning multiple programs, each with distinct thresholds, phase-outs, and dependencies. Our solution combines PolicyEngine’s open-source rules engine with artificial intelligence to explain these calculations in plain language, building on our
The system integrates PolicyEngine’s tax-benefit rules with Anthropic’s Claude 3.5 Sonnet API. When calculating program amounts like the Child Tax Credit or Supplemental Security Income, PolicyEngine processes thousands of intermediate calculations involving household income, deductions, and other eligibility factors. Our new explanation system passes these complex intermediate calculations to the AI system, which generates natural language explanations.
For example, consider
The AI system analyzes both final outcomes and the intermediate calculations contributing to them. Many variables in PolicyEngine’s system involve dozens of intermediate steps, calculated at both monthly and annual levels. This new feature makes these calculation chains transparent and comprehensible.
This explanation tool serves diverse needs across the policy ecosystem. Whether you’re a household trying to understand your benefits, a professional analyzing complex policy interactions, or a researcher exploring program mechanics, the system breaks down intricate calculations into clear explanations.
Following PolicyEngine’s existing policy analysis framework, the explanations adapt to different audiences, ranging from simplified overviews to detailed technical analyses. This flexibility makes complex policy calculations accessible while preserving the depth needed for technical users.
Having launched this feature in the PolicyEngine web app, we will extend it to
Max Ghenis, Pavel Makarchuk, Rachel Lawrie, and Li-Heng Pan also contributed to this feature.
anthony volk
Full-Stack Engineer at PolicyEngine
Get the latests posts delivered right to your inbox.
© 2025 PolicyEngine. All rights reserved.