(variational Laplace), instead of the sampling-based methods that currently predominate in
the field of cognitive modelling [34,35].
In this paper, we introduce ActiveInference.jl, a new software library for Julia [28]
that aims to provide easy-to-use tools for model fitting with AIF models and to introduce
AIF to the growing community of researchers using Julia for computational psychiatry and
cognitive modelling. Julia is a free and open-source high-level programming language that
retains an easy user interface reminiscent of that in MATLAB and Python. Simultaneously,