Rao georgeff 1991 modeling rational agents bdi

From curiositech/windags-skills · View interactive version

Rao georgeff 1991 modeling rational agents bdi is an AI agent skill from the GitHub repository curiositech/windags-skills. Formal framework for modeling intelligent agents through Beliefs, Desires/Goals, and Intentions as distinct mental states with rigorous semantics

How to use this skill

Skill file

SKILL: BDI Agent Architecture

Name: BDI Rational Agent Design

Description: Formal framework for modeling intelligent agents through Beliefs, Desires/Goals, and Intentions as distinct mental states with rigorous semantics

Author/Source: Anand S. Rao & Michael P. Georgeff (1991)

Activation triggers: agent architecture, intelligent systems, commitment reasoning, intention modeling, action planning, side-effects problem, goal decomposition, multi-agent systems, autonomous behavior

DECISION POINTS

Primary Decision Tree: Commitment Strategy Selection

Environment Stability Assessment:
├─ STABLE environment + HIGH resources
│  └─ Choose BLIND commitment (AI₁)
│     • Persist until believed achieved
│     • Maximize goal completion
├─ UNSTABLE environment + LIMITED resources  
│  └─ Choose SINGLE-MINDED commitment (AI₂)
│     • Drop if impossible OR achieved
│     • Balance persistence with realism
└─ HIGHLY DYNAMIC + EXPLORATORY goals
   └─ Choose OPEN-MINDED commitment (AI₃)
      • Drop if no longer desired OR achieved
      • Track changing preferences

Goal Decomposition Decision Tree:
├─ PRIMITIVE action (under agent control)
│  └─ INTEND(does(action)) → guarantees execution
├─ ACHIEVEMENT goal (world determines outcome)
│  └─ INTEND(achievement) → guarantees attempt only
└─ COMPLEX goal requiring subgoals
   ├─ IF sequential: INTEND(q) before INTEND(p) where q enables p
   └─ IF disjunctive: Choose specific branch to commit to

Side-Effects Resolution:
├─ BELIEVE(action → wanted_effect AND unwanted_effect)
│  └─ Can INTEND(does(action)) without INTEND(unwanted_effect)
│     • Intention-worlds select specific branches
│     • Avoid closure under believed implications
└─ Multiple paths to same goal
   └─ Select path minimizing unwanted side-effects

Multi-Agent Coordination Decision Tree

Other Agent's Mental States:
├─ What I BELIEVE they INTEND
│  └─ Plan coordination assuming their commitment
├─ What I INTEND regarding their actions
│  └─ My commitment to outcomes involving them
└─ Commitment conflicts detected
   ├─ IF my commitment is stronger → maintain, negotiate
   └─ IF their commitment is stronger → revise, delegate

FAILURE MODES

1. **Intention-Goal Collapse**

Detection: If you find yourself saying "intention = persistent goal" or treating INTEND(p) as equivalent to GOAL(p) + high_priority.

Diagnosis: Missing the independence of mental attitudes. Intentions have separate persistence conditions from goals.

Fix: Implement separate axioms for each attitude. An agent can intend something while no longer desiring it (obligation case) or desire something while not committing to it (wish case).

2. **Logical Closure Trap**

Detection: If BELIEVE(p → q) AND INTEND(p) forces INTEND(q), creating unwanted commitments to side-effects.

Diagnosis: Treating intentions as closed under logical entailment instead of using sub-world compatibility.

Fix: Apply geometric constraints: intention-worlds are sub-worlds of belief-worlds. You intend specific branches, not entire logical consequences.

3. **Wrong Commitment Strategy**

Detection: Agent gives up too easily (needed blind commitment) or persists irrationally (needed open-minded commitment).

Diagnosis: Mismatched persistence axiom for environmental demands.

Fix: Reassess environment stability and resource constraints. Switch axioms: AI₁ for stable/high-resource, AI₂ for collaborative/resource-limited, AI₃ for dynamic/exploratory.

4. **Action-Result Confusion**

Detection: Treating failed outcomes as defective intentions when environmental factors prevented success.

Diagnosis: Confusing volitional commitment (does(action)) with result achievement (succeeds(action)).

Fix: Apply AI₄ correctly: INTEND(does(e)) guarantees execution, but INTEND(achieves(goal)) only guarantees attempt.

5. **Branch-World Conflation**

Detection: Using branching time to represent epistemic uncertainty instead of choice options.

Diagnosis: Collapsing two-dimensional structure (choices within worlds, uncertainty across worlds).

Fix: Separate optional/inevitable (branch quantification within worlds) from BEL/GOAL/INTEND (world quantification across epistemic alternatives).

WORKED EXAMPLES

Example 1: Multi-Agent Coordination with Commitment Revision

Scenario: Two autonomous robots (A and B) must coordinate to move a heavy table. Initially, both have GOAL(table_moved) and different movement strategies.

Initial State:

Decision Point Navigation:

  1. Environment Assessment: Dynamic (robots moving), limited resources (both needed)
  2. Commitment Strategy: Single-minded (AI₂) - drop if impossible, maintain if achievable
  3. New Information: A discovers table is heavier than expected - BELIEVE(¬I_can_push_alone)

Expert vs. Novice:

Resolution: A adopts compatible sub-goal INTEND(push_while_B_pulls), maintaining higher-level commitment while adapting method.

Example 2: Side-Effect Handling in Medical Diagnosis

Scenario: Diagnostic AI system must recommend treatment knowing it causes side-effects.

Setup:

Decision Tree Navigation:

Treatment recommendation:
├─ Can INTEND(prescribe_chemotherapy) 
│  ├─ WITHOUT intending nausea (sub-world selection)
│  └─ WITH explicit management plan for side-effects
└─ Must inform about side-effects (belief obligation)
   └─ But not commit to wanting them (goal independence)

Critical Insight: The system intends the specific branch where chemotherapy achieves tumor shrinkage with minimal nausea (through sub-world selection), not the entire logical closure including all side-effects.

Alternative Strategies Considered:

Example 3: Commitment Revision Under Resource Constraints

Scenario: Autonomous research assistant managing multiple paper deadlines with computation budget.

Initial Commitments:

Crisis Point: Halfway through, budget reduced to 60 hours total.

Strategy Comparison:

Expert Decision Process:

  1. Impossibility Recognition: BELIEVE(¬(finish_A AND finish_B))
  2. Goal Prioritization: Reassess GOAL rankings based on impact
  3. Resource Allocation: Choose INTEND(finish_A) OR INTEND(finish_B), not both
  4. Fallback Planning: Develop INTEND(submit_preliminary_results) for dropped paper

Trade-off Analysis: Single-minded commitment chosen because collaboration context requires reliability (better to deliver one complete paper than two incomplete ones).

QUALITY GATES

NOT-FOR BOUNDARIES

Do NOT use BDI for:

Delegate to other skills:

Integration boundaries:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.