Integrated Information Theory


PyPhi is a Python library for calculating integrated information and its associated structures. It is open-source and available on GitHub, and can be installed on the command line with the Python package manager via pip install pyphi.

The figures in the IIT 3.0 paper are illustrated with PyPhi as an IPython notebook and in the online documentation. This section is meant to serve as a companion to the paper, and readers are encouraged to follow along and analyze the systems shown in the figures in order to become more familiar with the theory and the software.

Please consult the the project's README for more information.


We have recently submitted a manuscript describing the software, a preprint of which is available on the arXiv:

Mayner WGP, Marshall W, Albantakis L, Findlay G, Marchman R, Tononi G (2017). PyPhi: A toolbox for integrated information. arXiv:1712.09644 [q‑bio.NC].

Please cite the manuscript if you use PyPhi in your research.


Online documentation is available. There are some examples that demonstrate how to create a network and measure its integrated information, and comprehensive documentation of the API.


For discussion about the software or integrated information theory in general, you can join the PyPhi users group.

For technical issues with PyPhi or feature requests, please use the GitHub issues page.

Visual Interface

There is a visual interface to this code available on this website via the “Calculate Φ” tab above.