Skip to content

nodekit.BaseAgent

__call__ abstractmethod

__call__(node: Node) -> Action

Return an Action given a Node. Args: node:

Returns:

  • Action ( Action ) –

    The selected Action.

nodekit.agents.RandomGuesser

RandomGuesser(seed: int | None = None)

Bases: BaseAgent

An Agent that randomly selects the first available Action in a Node.