J. Nelen - A/B Testing Plenary Debates in the Dutch Parliament with Multi-Agent AI using LangGraph @PyDataTV
J. Nelen - A/B Testing Plenary Debates in the Dutch Parliament with Multi-Agent AI using LangGraph  @PyDataTV
Uploaded November 2026 | Updated December 2026, 1 day ago
Simulating real-world human institutions with LLMs introduces unique technical challenges.
For example, how do you enforce strict procedural rules without destroying dynamic debate
flow? How do you keep agents grounded in distinct political identities without leaning into
caricature? And how do you measure the systemic impact of structural changes? These
topics will be addressed in this presentation.

Outline:
1. Introduction & Problem Statement (4 min): Context on parliament simulation,
project scope, and the motivation behind modeling democratic reforms.
2. Architecture & Deterministic State (6 min): Using LangGraph to manage state
transitions, turn-taking, and procedural parliamentary rules throughout the debate.
3. Traceability & Debugging (3 min): Using LangSmith to monitor prompt inputs, tool
calls, and token costs for debugging
4. Grounding Agents & Mitigating Bias (6 min): Combining structured context,
party-filtered RAG, and voting histories to ground agent speeches and reduce base
model bias.
5. A/B Testing Systemic Reforms & Findings (7 min): Evaluates structural
democratic reforms by simulating 238 debate runs to measure their impact on debate
quality and policy outcomes.
6. Limitations & Conclusions (4 min): Addressing the inherent limitations of using
LLMs for simulations and validating transcripts with domain experts.
7. Q&A

Takeaways:
- How do you transfer a real-world system such as debates into a full multi-agent
simulation
- How to control next-turn decisions in this multi-agent using custom bidding phases
- Grounding the agent personas using RAG to make sure the agent doesn’t rely on
internal knowledge
- How to create an A/B experiment to test systemic changes.
Impact
The impact of this project created additional evidence that reforms in the parliament are
necessary. The findings have been used in a report by this think tank with advice on how to
strengthen democracy and is read by politicians, journalists and policy experts.
Generalized applications
This multi-agent simulation could be interesting in any team environment where you would
like to have multiple agents with distinct opinions, expertise and philosophies. You could
instruct them to come to a consensus and see how that plays out. For instance, engineering
teams, executive boards, focus groups or cross-functional teams could be simulated.

Generalized applications

This multi-agent simulation could be interesting in any team environment where you would
like to have multiple agents with distinct opinions, expertise and philosophies. You could
instruct them to come to a consensus and see how that plays out. For instance, engineering
teams, executive boards, focus groups or cross-functional teams could be simulated.
Target audience
This talk is interesting for Machine Learning Engineers, Data Scientists, and Developers who
want to start or have experience with building AI agents, RAG and layered prompting.

pydata.org

PyData is an educational program of NumFOCUS, a 501(c)3 non-profit organization in the United States. PyData provides a forum for the international community of users and developers of data analysis tools to share ideas and learn from each other. The global PyData network promotes discussion of best practices, new approaches, and emerging technologies for data management, processing, analytics, and visualization. PyData communities approach data science using many languages, including (but not limited to) Python, Julia, and R.

PyData conferences aim to be accessible and community-driven, with novice to advanced level presentations. PyData tutorials and talks bring attendees the latest project features along with cutting-edge use cases.

00:00 Welcome!
00:10 Help us add time stamps or captions to this video! See the description for details.

Want to help add timestamps to our YouTube videos to help with discoverability? Find out more here: github.com/numfocus/YouTubeVideoTimestamps
J. Nelen - A/B Testing Plenary Debates in the Dutch Parliament with Multi-Agent AI using LangGraphAlexander Kern & Guus van der Ham - Fix the Data, Not the ModelQuick Fire Questions with Peter Wang | GM5 S3E5 PreviewOn Interventional Generalisation [PyCon DE & PyData 2026]GM5 S3E2 just dropped, featuring Abby Tse!Give Me 5 Season 2 BONUS CONTENT: 4 voices, 1 Community.Open Table Formats in the Wild™ - Reloaded: Vortexing Ducks over Floating IcebergsThijs Nieuwdorp - How Polars Tackles Megabyte to Terabyte WorkloadsBuilding Agentic Systems with Python, LangGraph, MCP, and A2A [PyCon DE & PyData 2026]Optimizing Yerevan’s Traffic with Reinforcement Learning: A Simulation-Driven ApproachAlper Nebi Kanli - Retrieval Explorables (Lightning Talk) | PyData London Meetup 111Engineering in the Age of Coding Agents: Rashad Hassanein | Give Me 5, Season 3, Episode 7
PyData |

J. Nelen - A/B Testing Plenary Debates in the Dutch Parliament with Multi-Agent AI using LangGraph

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER