Elixir

From ActiveInferenceInstitute/ActiveInferAnts · View interactive version

Elixir is an AI agent skill from the GitHub repository ActiveInferenceInstitute/ActiveInferAnts. Elixir implementation of Active Inference with OTP GenServer, belief updating, free energy minimization, and policy selection

How to use this skill

Skill file

Active Inference in Elixir

Overview

This skill provides a complete Active Inference implementation in Elixir,

demonstrating Bayesian belief updating, variational free energy calculation,

and expected free energy-based policy selection using OTP patterns.

Core Algorithms

  1. Belief Updating: Bayesian inference using observation likelihoods to update posterior beliefs
  2. Free Energy Calculation: KL divergence between posterior beliefs and prior distribution
  3. Policy Selection: Softmax action selection over expected free energy per action
  4. Perception-Action Loop: Iterative sense → infer → act cycle with generative model

Key Files

Usage

cd 0_CONTEXT/Computer_Languages/Elixir/
./run.sh

Language-Specific Features

Integration

Prerequisites

See README.md for Elixir-specific installation requirements.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.