Welcome to CausalNex’s API docs and tutorials!

CausalNex is no longer actively maintained. As of 24th June 2026, CausalNex has reached end of life and has been discontinued.

McKinsey will continue to make this repository accessible strictly as a historical archive, but please be advised that the codebase has been discontinued and is no longer supported. Consequently, the project will not receive any future updates, bug-fixes, or security and vulnerability patches. Outstanding issues and pull requests will no longer be monitored or reviewed.

Pursuant to the applicable open-source license, CausalNex is provided on an “AS IS” basis, without warranties or conditions of any kind, either express or implied. Any continued use, copying, modification, or distribution of this codebase is done entirely at the user’s own risk, and McKinsey disclaims all liability arising from such use.

Test coverage Python version 3.8, 3.9, 3.10 PyPI package version Docs build status Code style is Black License is Apache 2.0 Downloads

API Docs

causalnex

causalnex toolkit for causal reasoning (Bayesian Networks / Inference)

Indices and tables