bdi-mental-states

Construct BDI mental states from RDF data for reasoning and decision-making.

Updated Jun 29, 2026
One-click install
npx skills add https://github.com/wangyouan/codex-personal-kit --skill bdi-mental-states-wangyouan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bdi-mental-states
Source: https://github.com/wangyouan/codex-personal-kit/tree/main/skills/bdi-mental-states
Command: npx skills add https://github.com/wangyouan/codex-personal-kit --skill bdi-mental-states-wangyouan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdflib, python-rdflib, rdflib-ontologies, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps you model and reason with BDI (Belief-Desire-Intention) mental states, enabling you to create more sophisticated and explainable AI agents.

Core Features & Use Cases

  • BDI Mental State Modeling: Build and manipulate beliefs, desires, intentions, and plans.
  • RDF-to-BDI Transformation: Convert RDF data into BDI mental states for reasoning.
  • Use Case: Create an AI agent that understands external RDF context, reasons about the world, and makes decisions based on beliefs and intentions.

Quick Start

Use the bdi-mental-states skill to create a belief about a new world state, e.g., bdi-mental-states create-belief "New product launch" refers-to "2026-05-15" has-validity "2026-05-15T00:00:00-2026-05-16T00:00:00".

Frequently Asked Questions about bdi-mental-states

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I model BDI mental states for AI agents using RDF data?

You model BDI mental states by transforming RDF data into structured beliefs, desires, and intentions. This enables AI agents to reason about external context and make explainable decisions based on semantic ontologies.

What is the BDI ontology used for in AI reasoning?

The BDI ontology provides semantic interoperability for AI reasoning, structuring beliefs, desires, and intentions. It aligns RDF data to support explainable decision-making, planning, and execution within intelligent agents.

How do I create a belief from RDF data for a specific time frame?

You create a belief using specific commands to define the state and validity period, such as mapping a new world state to a date range. This structures temporal context for the BDI reasoning agent.

Do I need rdflib to parse ontologies for BDI mental state modeling?

Yes, you need rdflib and python-rdflib to parse RDF data and ontologies. These libraries handle the semantic data transformation required to construct BDI mental states for reasoning.

Can I generate desires and commit to intentions from RDF context?

Yes, the system supports desire generation and intention commitment directly from RDF context. It builds a complete reasoning pipeline from belief formation to planning and execution.

What's the best way to achieve explainable decision-making in AI agents?

Using a BDI ontology with RDF data achieves explainable decision-making by explicitly structuring beliefs, desires, and intentions. This semantic approach provides clear reasoning traces for agent actions.