A simple simulation project of the Ising model implemented using a collection of active inference agents. Each agent represents a "spin", where the observation of each agent is determined by its own state and the action of its neighbors at t-1 and a prior preference for the alignment with its neighbors.
Simulated 1D lattice with a low expected free energy precision γ:
Simulated 1D lattice with a high expected free energy precision γ: