Get Recommended Stage • AI Agent SDK

get_recommended_stage: Get recommended execution stage for prompt.

get_recommended_stage

Method

</div>

This is a method of the Agent class in the agent module.

Get recommended execution stage for prompt.

Signature

python
def get_recommended_stage(prompt: str) -> str

Parameters

ParamField str

The user prompt

Returns

ResponseField str

Stage name as string (direct, heuristic, planned, autonomous)

Uses

  • analyze
  • recommend_stage

Used By

Source

View on GitHub

praisonaiagents/agent/agent.py at line 4556