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

Function

> This function is defined in the [**doctor\_registry**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/doctor_registry.md) 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

**config** `Dict[str, Any]` *required*

No description available.

### Returns

**Returns** `RepairPlan`

The result of the operation.

## Uses

* `plan_fixes`
* `get_default_registry`

## Used By

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

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/doctor_registry.py#L277)
>
> `praisonaiagents/runtime/doctor_registry.py` at line 277


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.