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

# Doctor Registry • AI Agent SDK

> Doctor rules registry with lazy plugin discovery.

# doctor\_registry

<Badge color="blue">AI Agent</Badge>

Doctor rules registry with lazy plugin discovery.

Manages built-in and plugin-provided migration rules.

## Import

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents.runtime import doctor_registry
```

## Classes

<CardGroup cols={2}>
  <Card title="DoctorRulesRegistry" icon="brackets-curly" href="../classes/DoctorRulesRegistry">
    Registry for doctor migration rules with lazy plugin discovery.
  </Card>
</CardGroup>

## Functions

<CardGroup cols={2}>
  <Card title="get_default_registry()" icon="function" href="../functions/get_default_registry">
    Get the default doctor rules registry (singleton).
  </Card>

  <Card title="register_rule()" icon="function" href="../functions/register_rule">
    Register a rule with the default registry.
  </Card>

  <Card title="get_rules()" icon="function" href="../functions/get_rules">
    Get all rules from the default registry.
  </Card>

  <Card title="collect_findings()" icon="function" href="../functions/collect_findings">
    Collect findings from all rules in the default registry.
  </Card>

  <Card title="apply_fixes()" icon="function" href="../functions/apply_fixes">
    Apply fixes from all rules in the default registry.
  </Card>

  <Card title="plan_fixes()" icon="function" href="../functions/plan_fixes">
    Produce a RepairPlan from all rules in the default registry.
  </Card>
</CardGroup>
