LLM Council Policy Ideation

LLM Council variant for local-governance policy ideation — six specialist lenses deliberate on a policy problem, Chairman produces a Policy Ideation Report

About This Project

LLM-Council-Policy-Ideation is a policy ideation tool for city, town, and municipal challenges, adapted from karpathy/llm-council. A user submits a problem statement describing a local policy issue, and a council of six domain-specialist advisors examines it through distinct lenses: urban planning, municipal fiscal management, community and equity, legal and regulatory analysis, service delivery, and policy innovation with comparative scholarship. The council works through three stages: independent councillor perspectives, anonymised peer review and ranking, and a Chairman synthesis that produces a Policy Ideation Report with a restated problem, attributed ideas, cross-cutting themes, trade-offs, a shortlist of directions, and open questions. The system uses a single LLM with six role-specific system prompts, accessed through the OpenRouter API.

The backend is built with FastAPI and async httpx, and the frontend uses React, Vite, and react-markdown. Deliberation results are stored as JSON files. Optional outputs include a formatted PDF report generated with Typst and a briefing podcast script converted to audio with Microsoft Edge TTS. Council lenses and model selection are configurable through environment variables and backend/config.py, allowing domain-specific lenses such as public health or climate and resilience to be added.

The project is intended for municipal officials, local government staff, policy analysts, and researchers who want structured, multi-perspective brainstorming on local governance problems. It is a prototype for ideation support and does not replace legal, fiscal, or community consultation processes.

Project Details

Explore More Projects