Base URL:

AI policy analyst

Ask questions in natural language and get AI-generated policy analysis reports.

How it works

This demo uses an AI agent powered by Claude that interacts with the PolicyEngine API to answer your questions. When you ask a question, the agent:

  1. Searches for relevant policy parameters
  2. Creates a policy reform based on your question
  3. Runs an economy-wide impact analysis
  4. Generates a report with the findings

Analysis typically takes 30-60 seconds as it runs full microsimulations on population data.

Policy analyst

Ask questions about UK and US tax-benefit policy

Ready

What would you like to know?

Ask about tax rates, benefits, or policy impacts

Note: This is a demo of the API's capabilities. Results are from real PolicyEngine microsimulations but should be verified for policy research. The agent uses Claude Sonnet via a Modal Sandbox for secure, isolated execution.