Generate Prp • AI Agent SDK

generate_prp: Generate a Product Requirements Prompt (PRP) for a feature.

generate_prp

Method

</div>

This is a method of the ContextEngineerProtocol class in the protocols module.

Generate a Product Requirements Prompt (PRP) for a feature.

Signature

python
def generate_prp(feature_request: str, context_analysis: Optional[Dict[str, Any]]) -> str

Parameters

ParamField str

Description of the feature to implement

ParamField Optional

Optional codebase analysis to include

Returns

ResponseField str

Comprehensive PRP document as string

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 203