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

# Collect Findings • AI Agent SDK

> collect_findings: Collect findings from all rules in the default registry.

# collect\_findings

Function

> This function is defined in the [**doctor\_registry**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/doctor_registry.md) module.

Collect findings from all rules in the default registry.

## Signature

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

## Parameters

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

No description available.

### Returns

**Returns** `List[Finding]`

The result of the operation.

## Uses

* `collect_all_findings`
* `get_default_registry`

## Used By

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

## Source

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


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