-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adding Active Inference module to ElizaOS #2625
base: develop
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @docxology! Welcome to the elizaOS community. Thanks for submitting your first pull request; your efforts are helping us accelerate towards AGI. We'll review it shortly. You are now an elizaOS contributor!
Relates to
Implementation of Active Inference (probabilistic cognitive modeling using perception and action) in ElizaOS. This plugin provides a standalone implementation of the Active Inference framework for modeling agent behavior under uncertainty.
Risks
Low risk. This is a standalone plugin, and the code consists of conventional statistical models. The implementation:
Background
What does this PR do?
This PR introduces a TypeScript implementation of Active Inference, a computational framework for modeling perception and action in cognitive systems. Key features include:
Core Active Inference Engine:
Two-State World Example:
Visualization Tools:
Logging and Debugging:
What kind of change is this?
Feature addition. This PR adds a new cognitive modeling capability to ElizaOS through a self-contained plugin.
Why are we doing this? Any context or related work?
We are doing this to provide a standalone implementation of Active Inference in ElizaOS. This is a foundational capability for the ElizaOS project, and it will allow us to model agent behavior under uncertainty.
Documentation changes needed?
Yes. The following documentation has been added:
README.md in the plugin directory explaining:
Code Documentation:
Testing
Where should a reviewer start?
Review the core implementation:
Examine the example:
Detailed testing steps
cd packages/plugin-inference npm install
Deploy Notes
No special deployment steps required. The plugin is self-contained and requires only:
The plugin can be installed as a regular npm package and imported into any TypeScript/JavaScript project.