As in object-oriented systems, agents usually have methods, that is named pieces of code, often called scripts. Methods may be inititauted by also be triggered by messages from other agents or sensed events, such as an email arriving. Methods execute on the agent state, and possibly giving rise to further messages to other agents and/or actions on the external environment.
Used in Chap. 16: page 256