bdi-mental-states

Transform RDF context into BDI agent mental states using formal ontology patterns.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/NT-boop-star/BRMV-tract --skill bdi-mental-states-nt-boop-star
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bdi-mental-states
Source: https://github.com/NT-boop-star/BRMV-tract/tree/main/antigravity/skills/bdi-mental-states
Command: npx skills add https://github.com/NT-boop-star/BRMV-tract --skill bdi-mental-states-nt-boop-star

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rdflib, and includes references (resource) components.

What problem does it solve? Modeling agent cognition with beliefs, desires, and intentions requires consistent ontological structure, temporal grounding, and traceable reasoning chains. This Skill provides formal BDI ontology patterns that convert external RDF context into structured mental states, enabling explainable deliberative reasoning in multi-agent and neuro-symbolic systems. ## Core Features & Use Cases - T2B2T Pipeline: Implements the Triples-to-Beliefs-to-Triples paradigm, translating incoming RDF into beliefs and projecting deliberation results back into RDF for downstream consumption. - Cognitive Chain Modeling: Wires beliefs, desires, and intentions with bidirectional properties (motivates/isMotivatedBy, fulfils/isFulfilledBy) for forward reasoning and backward explainability tracing. - Framework Integration: Provides translation patterns for SEMAS production rules, JADE/JADEX agent platforms, FIPA ACL messaging, and Logic Augmented Generation pipelines that constrain LLM outputs with ontology validation. - Use Case: A developer building a payment-assistant agent receives an RDF notification of a payment request, models it as a belief grounded in a world state, generates a motivated desire and committed intention with a plan, executes it, and emits the resulting world state as new RDF triples. ## Quick Start Model the attached RDF context as BDI mental states with beliefs, desires, intentions, justifications, and temporal validity intervals serialized in Turtle.

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 agent mental states in RDF?

Model beliefs, desires, and intentions as endurants linked by motivational properties, and mental processes as perdurants that generate them. Ground every belief in a world state via refersTo, attach justifications, and assign temporal validity intervals using Turtle serialization.

What is the Triples-to-Beliefs-to-Triples paradigm?

T2B2T is a bidirectional pipeline where incoming RDF triples are translated into belief instances via BeliefProcess entities, BDI deliberation selects intentions and executes plans, and results are projected back into RDF using bringsAbout so downstream systems consume agent outputs as linked data.

How do I integrate BDI ontology with SEMAS or JADE?

Map each cognitive chain link to SEMAS HEAD/CONDITIONALS/TAIL production rules, or map ontology individuals to JADE agent belief sets and JADEX goal classes. The reference documentation includes Python translation layers and Java code for both platforms.

Can LLM outputs be constrained with a BDI ontology?

Yes, Logic Augmented Generation serializes the ontology into the prompt context, then validates generated triples against ontological restrictions before acceptance. Inconsistent outputs trigger retry loops with error feedback until constraints are satisfied.

Why do BDI beliefs need temporal validity intervals?

Beliefs without temporal bounds cannot be garbage-collected or conflict-checked during diachronic reasoning. Assigning hasValidity intervals enables SPARQL queries for mental states active at specific times and detects overlapping conflicting beliefs.

What are common mistakes when implementing BDI ontologies?

Common pitfalls include conflating mental states with world states, omitting temporal bounds, using monolithic beliefs instead of compositional hasPart structures, skipping explicit justifications, and building reasoning chains deeper than three levels which inflates inference cost.