def on_init(self, *, agent: "DefaultAgent"):
        """Note: Depending on the internals of `Agent` should be done with care,
        it's best to use this as little as possible.
        """
Note: Depending on the internals of `Agent` should be done with care,
        it's best to use this as little as possible.
        
sweagent/agent/hooks/abstract.py