Skip to main content

openhands.agenthub.micro.agent

to_json

def to_json(obj, **kwargs)

Serialize an object to str format

MicroAgent Objects

class MicroAgent(Agent)

history_to_json

def history_to_json(history: list[Event], max_events: int = 20, **kwargs)

Serialize and simplify history to str format