Add memory records for the given scope.Args: messages: List of chat messages as dictionaries. memory_level: Scope for the memory record (tenant/agent/user/user_agent). agent_id: Optional agent identifier when scope is agent-related. infer: Whether to run LLM inference during add. authorization: Optional authorization header used to identify the user.