Purpose
BDI beliefs, desires, intentions, reasoning, planning, utility functions, and intention management — a cognitive loop instead of a callback soup.
Key APIs
- BeliefBase
- Desire
- Intention
- Planner
- UtilityFn
Dependencies
agent-core
used by: rustyai
cognition.rs
use cognition::prelude::*;let mut beliefs = BeliefBase::new();beliefs.assert("market_open", 0.92);let plan = Planner::strips() .goal("rebalance_portfolio") .plan(&beliefs)?;Cargo.toml
[dependencies]cognition = "0.2"See it in a running system.
The xbot case study shows agent-core and cognition driving a long-lived autonomous application.