Uploaded August 2026 | Updated December 2026, 1 day ago
đ Recorded at PyCon DE & PyData 2026, 16.04.2026
2026.pycon.de/talks/BRRHGY
đ Watch Andy Kitchen explore interventional generalisation to learn how to move beyond simple predictions and master the art of evaluating hypothetical choices in unseen situations.
Speakers:
Andy Kitchen
Description:
Interventional generalization addresses the challenge of determining whether a specific action will improve a desired outcome in novel, unseen situations. Standard machine learning validation sets are insufficient for this problem because predicting an observation differs fundamentally from intervening in a system. A primary difficulty is that counterfactual outcomes are unobservable; once an action is taken, the alternative reality where a different action was chosen cannot be seen.
The proposed approach integrates structural causal models (SCMs), Bayesian hierarchical modeling, and decision theory. SCMs use Directed Acyclic Graphs (DAGs) to distinguish between conditioning and intervention, employing "do-notation" to break links from parents to the intervened variable. To handle "known unknowns" and transferability across different groups or regions, Bayesian hierarchical models estimate between-group and between-sample variances. This allows uncertainty regarding how an effect generalizes to a new environment to be internalized within the model.
Key takeaways include the use of KL divergence to measure interventional detectabilityâthe ability to perceive the consequences of an action. Decision-making is further refined by splitting uncertainty into epistemic (reducible through experimentation) and aleatoric (inherent randomness). By calculating the expected value of an intervention both with and without perfect information, practitioners can determine if further data collection is necessary. Finally, the methodology suggests incorporating safety margins to account for "unknown unknowns," acknowledging that unmodeled confounders typically cause interventions to perform worse than predicted.
âď¸ About PyCon DE:
PyCon DE is the leading conference on open-source Python applications in AI and data science. It brings together industry professionals, researchers, AI and data science practitioners, and software engineering communities, providing a unique platform for collaboration, knowledge sharing, and innovation.
The PyCon DE & PyData 2026 conference delivered an exceptional experience, fostering stronger connections within the Python community while showcasing the latest advancements in artificial intelligence and data science. Attendees enjoyed a diverse and engaging program of talks, workshops, and networking opportunities, further establishing the conference as a premier event for Python, AI, and data science enthusiasts across Germany.
PyCon DE 2027 will take place in Heidelberg from 19 to 23 April 2027.
Follow us:
⢠Newsletter: 2027.pycon.de/newsletter
⢠LinkedIn: linkedin.com/company/pyconde
⢠X: x.com/pyconde
Links:
⢠Conference website: pycon.de
⢠Other sessions: 2026.pycon.de/talks
The conference was organized by
⢠Python Softwareverband e.V.: pysv.org
⢠Pioneers Hub gemeinnßtzige GmbH: pioneershub.org
in collaboration with NumFOCUS Inc.: numfocus.org
If you enjoyed this session, please like, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareEngineering #LLMs #Community #Sovereignty
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
Pioneers Hub gemeinnĂźtzige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
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.
đ Recorded at PyCon DE & PyData 2026, 16.04.2026
2026.pycon.de/talks/BRRHGY
đ Watch Andy Kitchen explore interventional generalisation to learn how to move beyond simple predictions and master the art of evaluating hypothetical choices in unseen situations.
Speakers:
Andy Kitchen
Description:
Interventional generalization addresses the challenge of determining whether a specific action will improve a desired outcome in novel, unseen situations. Standard machine learning validation sets are insufficient for this problem because predicting an observation differs fundamentally from intervening in a system. A primary difficulty is that counterfactual outcomes are unobservable; once an action is taken, the alternative reality where a different action was chosen cannot be seen.
The proposed approach integrates structural causal models (SCMs), Bayesian hierarchical modeling, and decision theory. SCMs use Directed Acyclic Graphs (DAGs) to distinguish between conditioning and intervention, employing "do-notation" to break links from parents to the intervened variable. To handle "known unknowns" and transferability across different groups or regions, Bayesian hierarchical models estimate between-group and between-sample variances. This allows uncertainty regarding how an effect generalizes to a new environment to be internalized within the model.
Key takeaways include the use of KL divergence to measure interventional detectabilityâthe ability to perceive the consequences of an action. Decision-making is further refined by splitting uncertainty into epistemic (reducible through experimentation) and aleatoric (inherent randomness). By calculating the expected value of an intervention both with and without perfect information, practitioners can determine if further data collection is necessary. Finally, the methodology suggests incorporating safety margins to account for "unknown unknowns," acknowledging that unmodeled confounders typically cause interventions to perform worse than predicted.
âď¸ About PyCon DE:
PyCon DE is the leading conference on open-source Python applications in AI and data science. It brings together industry professionals, researchers, AI and data science practitioners, and software engineering communities, providing a unique platform for collaboration, knowledge sharing, and innovation.
The PyCon DE & PyData 2026 conference delivered an exceptional experience, fostering stronger connections within the Python community while showcasing the latest advancements in artificial intelligence and data science. Attendees enjoyed a diverse and engaging program of talks, workshops, and networking opportunities, further establishing the conference as a premier event for Python, AI, and data science enthusiasts across Germany.
PyCon DE 2027 will take place in Heidelberg from 19 to 23 April 2027.
Follow us:
⢠Newsletter: 2027.pycon.de/newsletter
⢠LinkedIn: linkedin.com/company/pyconde
⢠X: x.com/pyconde
Links:
⢠Conference website: pycon.de
⢠Other sessions: 2026.pycon.de/talks
The conference was organized by
⢠Python Softwareverband e.V.: pysv.org
⢠Pioneers Hub gemeinnßtzige GmbH: pioneershub.org
in collaboration with NumFOCUS Inc.: numfocus.org
If you enjoyed this session, please like, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareEngineering #LLMs #Community #Sovereignty
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
Pioneers Hub gemeinnĂźtzige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
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.




![Building Agentic Systems with Python, LangGraph, MCP, and A2A [PyCon DE & PyData 2026]
đ Recorded at PyCon DE & PyData 2026, 15.04.2026
https://2026.pycon.de/talks/JBFGCA/
đ Watch Holger NĂśsekabel, CTO at TD Reply, reveal how to build scalable, real-world agentic systems using Python, LangGraph, MCP, and A2A to orchestrate dynamic data acquisition and validation.
Speakers:
Holger NĂśsekabel
Description:
Agentic systems can be constructed using a hub-and-spoke architecture to automate complex business processes, such as identifying and scoring companies for mergers and acquisitions. This approach utilizes a coordinator agent to delegate tasks to specialized agents responsible for data retrieval, scoring, and outreach. To ensure the system remains flexible and loosely coupled, the architecture separates the conversational interface, built with FastAPI and Nginx, from the underlying agent logic and data storage, which employs SQLite for structured data and Redis for real-time status propagation to the user interface.
The system integrates the Model Context Protocol (MCP) to expose specific toolsâsuch as web scrapers and API connectorsâto agents, allowing them to fetch dynamic data from sources like LinkedIn, partner websites, and Perplexity. To prevent context window saturation and agent confusion, tools are limited to approximately ten per agent. While autonomous ReAct patterns are useful, the system employs LangGraph to implement structured workflows. This ensures that critical data retrieval steps occur in parallel and are completed before the agent processes the final result, avoiding the reliability issues associated with over-prompting.
Agent-to-agent (A2A) communication allows the coordinator to interact with specialized agents via URIs, facilitating a scalable ecosystem where new capabilities can be added without rewriting the core logic. To maintain data integrity, a dedicated check agent validates outputs for hallucinations or outliers, such as unrealistic revenue-to-employee ratios. Final system reliability is ensured through AI-generated test suites and human evaluation of the response quality.
âď¸ About PyCon DE:
PyCon DE is the leading conference on open-source Python applications in AI and data science. It brings together industry professionals, researchers, AI and data science practitioners, and software engineering communities, providing a unique platform for collaboration, knowledge sharing, and innovation.
The PyCon DE & PyData 2026 conference delivered an exceptional experience, fostering stronger connections within the Python community while showcasing the latest advancements in artificial intelligence and data science. Attendees enjoyed a diverse and engaging program of talks, workshops, and networking opportunities, further establishing the conference as a premier event for Python, AI, and data science enthusiasts across Germany.
PyCon DE 2027 will take place in Heidelberg from 19 to 23 April 2027.
Follow us:
⢠Newsletter: https://2027.pycon.de/newsletter/
⢠LinkedIn: https://www.linkedin.com/company/pyconde
⢠X: https://www.x.com/pyconde
Links:
⢠Conference website: http://pycon.de
⢠Other sessions: https://2026.pycon.de/talks/
The conference was organized by
⢠Python Softwareverband e.V.: http://pysv.org
⢠Pioneers Hub gemeinnßtzige GmbH: http://pioneershub.org
in collaboration with NumFOCUS Inc.: http://numfocus.org
If you enjoyed this session, please like, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareEngineering #LLMs #Community #Sovereignty
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
Pioneers Hub gemeinnĂźtzige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
www.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. Building Agentic Systems with Python, LangGraph, MCP, and A2A [PyCon DE & PyData 2026]](https://i.ytimg.com/vi/rJKBnHYicQA/mqdefault.jpg)





![How to Search Through 800 Billion Records in Real Time [PyCon DE & PyData 2026]
đ Recorded at PyCon DE & PyData 2026, 14.04.2026
https://2026.pycon.de/talks/ZYUJH3/
đ Watch Mirano Tuk and Filip Bacic reveal the architectural trade-offs and practical Kafka patterns used to transform 800 billion noisy records into a reliable, real-time searchable dataset.
Speakers:
Mirano Tuk, Filip Bacic
Description:
Searching through a threat repository containing one trillion records requires a high-throughput pipeline capable of aggregating data from hundreds of microservices. The primary challenge involves handling a flood of partial updates and duplicate file hashes, which can cause significant latency and system instability in search platforms like Apache Solr. An initial architecture using ClickHouse for daily aggregation resulted in a 36-hour data delay, which was unacceptable for users requiring real-time insights.
The current solution utilizes ScyllaDB as a high-performance key-value store to maintain the source of truth, where records are stored using a primary key composed of the file hash and feature type. When updates occur, file hashes are published to Kafka topics. A Python-based consumer service fetches the complete data set for each hash from ScyllaDB to build a comprehensive document for Solr. To prevent Solr from being overwhelmed by redundant updates, a custom deduplication buffer was implemented using a Python dictionary to track file hashes across batches. This buffer employs a Time-to-Live (TTL) mechanism and an eviction callback; data is only processed and sent to Solr when a hash is evicted from the buffer, ensuring that only the final state of a file is indexed.
To maintain system stability, the service limits the number of messages processed per iteration to prevent Kafka health-check timeouts during backlog clearing. Additionally, a secondary deduplication layer manages Solr commits and re-indexing across daily collections to avoid heap exhaustion and cluster failure. This architecture reduced update latency from 36 hours to under five minutes and decreased the ingestion volume from 100,000 messages per second to fewer than 2,000.
âď¸ About PyCon DE:
PyCon DE is the leading conference on open-source Python applications in AI and data science. It brings together industry professionals, researchers, AI and data science practitioners, and software engineering communities, providing a unique platform for collaboration, knowledge sharing, and innovation.
The PyCon DE & PyData 2026 conference delivered an exceptional experience, fostering stronger connections within the Python community while showcasing the latest advancements in artificial intelligence and data science. Attendees enjoyed a diverse and engaging program of talks, workshops, and networking opportunities, further establishing the conference as a premier event for Python, AI, and data science enthusiasts across Germany.
PyCon DE 2027 will take place in Heidelberg from 19 to 23 April 2027.
Follow us:
⢠Newsletter: https://2027.pycon.de/newsletter/
⢠LinkedIn: https://www.linkedin.com/company/pyconde
⢠X: https://www.x.com/pyconde
Links:
⢠Conference website: http://pycon.de
⢠Other sessions: https://2026.pycon.de/talks/
The conference was organized by
⢠Python Softwareverband e.V.: http://pysv.org
⢠Pioneers Hub gemeinnßtzige GmbH: http://pioneershub.org
in collaboration with NumFOCUS Inc.: http://numfocus.org
If you enjoyed this session, please like, and subscribe to our channel for more insightful talks and discussions.
Share this video with your network to spread the knowledge!
Hashtags:
#Python #PyConDE #PyData #OpenSource #AI #DataScience #MachineLearning #SoftwareEngineering #LLMs #Community #Sovereignty
Acknowledgements:
Special thanks to all the volunteers and sponsors who made this event possible.
About:
Python Softwareverband e.V.:
PySV is a non-profit that promotes the use and development of Python in Germany through events, education, and advocacy, fostering an open Python community.
Pioneers Hub gemeinnĂźtzige GmbH:
is a non-profit fostering innovation in AI and tech by connecting experts and promoting knowledge exchange through events and collaborative initiatives.
NumFOCUS Inc.
supports open-source scientific computing by providing financial and logistical support to key projects like NumPy and Jupyter, promoting sustainable development and collaboration.
www.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. How to Search Through 800 Billion Records in Real Time [PyCon DE & PyData 2026]](https://i.ytimg.com/vi/t0ZWNh-UXDs/mqdefault.jpg)