> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Generate Comprehensive Prp • AI Agent SDK

> generate_comprehensive_prp: Generate comprehensive Product Requirements Prompt following PRD template exactly.

# generate\_comprehensive\_prp

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ContextAgent**](../classes/ContextAgent) class in the [**context\_agent**](../modules/context_agent) module.

Generate comprehensive Product Requirements Prompt following PRD template exactly.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def generate_comprehensive_prp(feature_request: str, context_analysis: Dict[str, Any]) -> str
```

## Parameters

<ParamField query="feature_request" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="context_analysis" type="Dict" required={false}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="str">
  The result of the operation.
</ResponseField>

## Uses

* `Agent`
* `json.dumps`

## Used By

* [`ContextAgent.generate_feature_prp`](../functions/ContextAgent-generate_feature_prp)
* [`ContextAgent.generate_prp`](../functions/ContextAgent-generate_prp)
* [`ContextAgent.agenerate_prp`](../functions/ContextAgent-agenerate_prp)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/context_agent.py#L807">
  `praisonaiagents/agent/context_agent.py` at line 807
</Card>
