Chuyển đến nội dung
Skillpedia
Agent48k · #4021

bdi-mental-states

Skill này làm gì

Công cụ này giúp tạo các mô hình “trạng thái tinh thần” cho agent AI. Nó chuyển thông tin bên ngoài thành niềm tin, mong muốn và ý định, giúp AI “suy nghĩ” và hành động thông minh hơn, đồng thời có thể giải thích được.

Khi nào nên dùng

  • ✓Khi bạn muốn AI hiểu điều nó “biết” (niềm tin).
  • ✓Khi bạn muốn xác định điều AI “muốn” đạt được (mong muốn).
  • ✓Khi bạn muốn biết AI “quyết định” làm gì (ý định).

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bdi-mental-states/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/bdi-mental-states/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chuyển đoạn văn bản này về thời tiết thành niềm tin, mong muốn và ý định cho một agent AI.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng mô hình BDI (Belief-Desire-Intention) để tổ chức cách “suy nghĩ” của AI. Nó lấy dữ liệu thực tế và biến thành các trạng thái tinh thần mà AI có thể dùng để ra quyết định.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

BDI Mental State Modeling

Transform external RDF context into agent mental states (beliefs, desires, intentions) using formal BDI ontology patterns. This skill enables agents to reason about context through cognitive architecture, supporting deliberative reasoning, explainability, and semantic interoperability within multi-agent systems.

When to Use

Activate this skill when:

  • Processing external RDF context into agent beliefs about world states
  • Modeling rational agency with perception, deliberation, and action cycles
  • Enabling explainability through traceable reasoning chains
  • Implementing BDI frameworks (SEMAS, JADE, JADEX)
  • Augmenting LLMs with formal cognitive structures (Logic Augmented Generation)
  • Coordinating mental states across multi-agent platforms
  • Tracking temporal evolution of beliefs, desires, and intentions
  • Linking motivational states to action plans

Core Concepts

Mental Reality Architecture

Mental States (Endurants): Persistent cognitive attributes

  • Belief: What the agent believes to be true about the world
  • Desire: What the agent wishes to bring about
  • Intention: What the agent commits to achieving

Mental Processes (Perdurants): Events that modify mental states

  • BeliefProcess: Forming/updating beliefs from perception
  • DesireProcess: Generating desires from beliefs
  • IntentionProcess: Committing to desires as actionable intentions

Cognitive Chain Pattern

:Belief_store_open a bdi:Belief ;
    rdfs:comment "Store is open" ;
    bdi:motivates :Desire_buy_groceries .

:Desire_buy_groceries a bdi:Desire ;
    rdfs:comment "I desire to buy groceries" ;
    bdi:isMotivatedBy :Belief_store_open .

:Intention_go_shopping a bdi:Intention ;
    rdfs:comment "I will buy groceries" ;
    bdi:fulfils :Desire_buy_groceries ;
    bdi:isSupportedBy :Belief_store_open ;
    bdi:specifies :Plan_shopping .

World State Grounding

Mental states reference structured configurations of the environment:

:Agent_A a bdi:Agent ;
    bdi:perceives :WorldState_WS1 ;
    bdi:hasMentalState :Belief_B1 .

:WorldState_WS1 a bdi:WorldState ;
    rdfs:comment "Meeting scheduled at 10am in Room 5" ;
    bdi:atTime :TimeInstant_10am .

:Belief_B1 a bdi:Belief ;
    bdi:refersTo :WorldState_WS1 .

Goal-Directed Planning

Intentions specify plans that address goals through task sequences:

:Intention_I1 bdi:specifies :Plan_P1 .

:Plan_P1 a bdi:Plan ;
    bdi:addresses :Goal_G1 ;
    bdi:beginsWith :Task_T1 ;
    bdi:endsWith :Task_T3 .

:Task_T1 bdi:precedes :Task_T2 .
:Task_T2 bdi:precedes :Task_T3 .

T2B2T Paradigm

Triples-to-Beliefs-to-Triples implements bidirectional flow between RDF knowledge graphs and internal mental states:

Phase 1: Triples-to-Beliefs

# External RDF context triggers belief formation
:WorldState_notification a bdi:WorldState ;
    rdfs:comment "Push notification: Payment request $250" ;
    bdi:triggers :BeliefProcess_BP1 .

:BeliefProcess_BP1 a bdi:BeliefProcess ;
    bdi:generates :Belief_payment_request .

Phase 2: Beliefs-to-Triples

# Mental deliberation produces new RDF output
:Intention_pay a bdi:Intention ;
    bdi:specifies :Plan_payment .

:PlanExecution_PE1 a bdi:PlanExecution ;
    bdi:satisfies :Plan_payment ;
    bdi:bringsAbout :WorldState_payment_complete .

Notation Selection by Level

C4 Level Notation Mental State Representation
L1 Context ArchiMate Agent boundaries, external perception sources
L2 Container ArchiMate BDI reasoning engine, belief store, plan executor
L3 Component UML Mental state managers, process handlers
L4 Code UML/RDF Belief/Desire/Intention classes, ontology instances

Justification and Explainability

Mental entities link to supporting evidence for traceable reasoning:

:Belief_B1 a bdi:Belief ;
    bdi:isJustifiedBy :Justification_J1 .

:Justification_J1 a bdi:Justification ;
    rdfs:comment "Official announcement received via email" .

:Intention_I1 a bdi:Intention ;
    bdi:isJustifiedBy :Justification_J2 .

:Justification_J2 a bdi:Justification ;
    rdfs:comment "Location precondition satisfied" .

Temporal Dimensions

Mental states persist over bounded time periods:

:Belief_B1 a bdi:Belief ;
    bdi:hasValidity :TimeInterval_TI1 .

:TimeInterval_TI1 a bdi:TimeInterval ;

…
Câu hỏi thường gặp

“Niềm tin”, “mong muốn” và “ý định” là gì?

Niềm tin là những điều AI cho là đúng. Mong muốn là những điều nó muốn xảy ra. Ý định là các hành động mà nó cam kết thực hiện để đáp ứng mong muốn.

Tại sao điều này hữu ích?

Nó giúp AI suy luận logic hơn, giải thích quyết định của mình và tương tác tốt hơn với các hệ thống hoặc agent khác.

Tôi có cần biết lập trình để dùng không?

Không. Công cụ này được thiết kế để dùng đơn giản, tập trung vào việc bạn muốn AI hiểu và làm gì.

Chi tiết

Mô tả gốc của tác giả

This skill should be used when the user asks to "model agent mental states", "implement BDI architecture", "create belief-desire-intention models", "transform RDF to beliefs", "build cognitive agent", or mentions BDI ontology, mental state modeling, rational agency, or neuro-symbolic AI integration.

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4021
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự