Set context manager directly.
This is a method of the Agent class in the agent module.
def context_manager(value: Any) -> Any