Analyze prompt for autonomy signals.
This is a method of the Agent class in the agent module.
def analyze_prompt(prompt: str) -> set