activeinferenceinstitute/activeinferants/ocaml

Claude Code and agent skill by activeinferenceinstitute/activeinferants

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

OCaml implementation of Active Inference with belief updating, free energy minimization, and policy selection

Install

npx vskill@latest install activeinferenceinstitute/activeinferants/ocaml

SKILL.md

Active Inference in OCaml

Overview

This skill provides a complete Active Inference implementation in OCaml, demonstrating Bayesian belief updating, variational free energy calculation, and expected free energy-based policy selection.

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

  • active_inference.ml — Source implementation
  • run.sh — Execution script (handles compilation if needed)
  • README.md — Usage documentation and requirements

Usage

bash
cd 0_CONTEXT/Computer_Languages/OCaml/
./run.sh

Language-Specific Features

  • Immutable data structures
  • Pure function composition
  • Strong type inference

Integration

  • Tested via master_controller.py test ocaml
  • Benchmarked via benchmark_suite.py
  • Listed in languages.json under category "Functional"

Prerequisites

See README.md for OCaml-specific installation requirements.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
29
Repository forks
6
7-day trend score
17

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/activeinferenceinstitute/activeinferants/ocaml/badge)](https://verified-skill.com/skills/activeinferenceinstitute/activeinferants/ocaml)

Something wrong with this skill or its page? Tell us.