Creates a composite predicate combining two as conjunctive subintentions
p1 or p2
Creates a composite predicate combining two as disjunctive subintentions
not p1
Returns a predicate with inverted truth value
Mental State Modifiers
Operator
Description
mental_state set_modality mode
Changes the modality of a mental state
mental_state set_predicate pred
Changes the predicate of a mental state
mental_state set_strength strength
Changes the strength of a mental state
mental_state set_lifetime life
Changes the lifetime of a mental state
Belief Queries
Operator
Description
get_beliefs_with_name_op(agent, name)
Gets all beliefs whose predicate has a given name
get_belief_with_name_op(agent, name)
Gets one belief whose predicate has a given name
get_belief_op(agent, predicate)
Gets a belief by its exact predicate
get_beliefs_op(agent, predicate)
Gets all beliefs matching a predicate
has_belief_op(agent, predicate)
Checks if a belief exists for a given predicate
has_belief_with_name_op(agent, name)
Checks if a belief exists with a given name
Desire Queries
Operator
Description
get_desires_with_name_op(agent, name)
Gets all desires whose predicate has a given name
get_desire_with_name_op(agent, name)
Gets one desire whose predicate has a given name
get_desire_op(agent, predicate)
Gets a desire by its exact predicate
get_desires_op(agent, predicate)
Gets all desires matching a predicate
has_desire_op(agent, predicate)
Checks if a desire exists for a given predicate
has_desire_with_name_op(agent, name)
Checks if a desire exists with a given name
Intention Queries
Operator
Description
get_intentions_with_name_op(agent, name)
Gets all intentions whose predicate has a given name
get_intention_with_name_op(agent, name)
Gets one intention whose predicate has a given name
get_intention_op(agent, predicate)
Gets an intention by its exact predicate
get_intentions_op(agent, predicate)
Gets all intentions matching a predicate
has_intention_op(agent, predicate)
Checks if an intention exists for a given predicate
has_intention_with_name_op(agent, name)
Checks if an intention exists with a given name
get_current_intention_op(agent)
Gets the currently active intention of an agent
Other Base Queries
Operator
Description
get_plan_name(agent)
Returns the name of a plan
get_uncertainties_with_name_op(agent, name)
Gets all uncertainties with a given name
get_uncertainty_op(agent, predicate)
Gets an uncertainty by predicate
has_uncertainty_op(agent, predicate)
Checks if an uncertainty exists
get_ideals_with_name_op(agent, name)
Gets all ideals with a given name
get_ideal_op(agent, predicate)
Gets an ideal by predicate
has_ideal_op(agent, predicate)
Checks if an ideal exists
get_obligations_with_name_op(agent, name)
Gets all obligations with a given name
get_obligation_op(agent, predicate)
Gets an obligation by predicate
has_obligation_op(agent, predicate)
Checks if an obligation exists
Statement/Action Reference
See SimpleBdiArchitecture for the full list of actions and variables provided by the BDI skill (e.g., add_belief, add_emotion, add_intention, add_desire, add_ideal, add_uncertainty, add_obligation, add_social_link, add_belief_emotion, comply, violate, instantiate_norm, enforce, sanction, make_law, etc.).
Plan Evaluation
Operator
Description
eval_when(plan)
Evaluates the "when" condition (context expression) of a plan