activeinferenceinstitute/activeinferants/ocaml
Claude Code and agent skill by activeinferenceinstitute/activeinferants
Trust tier 2
- community
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/ocamlSKILL.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
- Belief Updating: Bayesian inference using observation likelihoods to update posterior beliefs
- Free Energy Calculation: KL divergence between posterior beliefs and prior distribution
- Policy Selection: Softmax action selection over expected free energy per action
- Perception-Action Loop: Iterative sense → infer → act cycle with generative model
Key Files
active_inference.ml— Source implementationrun.sh— Execution script (handles compilation if needed)README.md— Usage documentation and requirements
Usage
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.jsonunder 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
- SKILL.md in the repositoryChecking0_CONTEXT/Computer_Languages/OCaml/SKILL.md
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
[](https://verified-skill.com/skills/activeinferenceinstitute/activeinferants/ocaml)