> ## 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.

# Plan Fixes • AI Agent SDK

> plan_fixes: Produce a RepairPlan from all rules in the default registry.

# plan\_fixes

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**doctor\_registry**](../modules/doctor_registry) module.

Produce a RepairPlan from all rules in the default registry.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def plan_fixes(config: Dict[str, Any]) -> RepairPlan
```

## Parameters

<ParamField query="config" type="Dict[str, Any]" required={true}>
  No description available.
</ParamField>

### Returns

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

## Uses

* `plan_fixes`
* `get_default_registry`

## Used By

* [`DoctorRulesRegistry.apply_all_fixes`](../functions/DoctorRulesRegistry-apply_all_fixes)
* [`plan_fixes`](../functions/plan_fixes)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/doctor_registry.py#L277">
  `praisonaiagents/runtime/doctor_registry.py` at line 277
</Card>
