Runtime
Key Methods:
initialize()
: Sets up the agent's runtime environment, including services, plugins, and knowledge processing.processActions()
: Executes actions based on message content and state.evaluate()
: Assesses messages and state using registered evaluators.composeState()
: Constructs the agent's state object for response generation.updateRecentMessageState()
: Updates the state with recent messages and attachments.registerService()
: Adds a service to the runtime.registerMemoryManager()
: Registers a memory manager for specific types of memories.ensureRoomExists()
/ensureUserExists()
: Ensures the existence of rooms and users in the database.
State Management:
Last updated