activeinferenceinstitute/active_inferants/fsharp

Claude Code and agent skill by activeinferenceinstitute/active_inferants

Trust tier 3
  • community
Source check pending

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

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

Install

npx vskill@latest install activeinferenceinstitute/active_inferants/fsharp

SKILL.md

Active Inference in F#

Overview

This skill provides a complete Active Inference implementation in F#, 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

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

Usage

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

Language-Specific Features

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

Integration

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

Prerequisites

See README.md for F#-specific installation requirements.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

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

Source

Popularity

7-day trend score
5

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/active_inferants/fsharp/badge)](https://verified-skill.com/skills/activeinferenceinstitute/active_inferants/fsharp)

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