Backendagenthubagenthub.microagentOn this pageagenthub.micro.agentto_json def to_json(obj, **kwargs) Serialize an object to str format history_to_json def history_to_json(obj, **kwargs) Serialize and simplify history to str format