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

# run • AI Agent SDK

> run: API reference for HealthCheckRegistry.run

# run

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

> This is a method of the [**HealthCheckRegistry**](../classes/HealthCheckRegistry) class in the [**health\_registry**](../modules/health_registry) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def run(context: Mapping[str, Any]) -> List[HealthCheckResult]
```

## Parameters

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

### Returns

<ResponseField name="Returns" type="List[HealthCheckResult]">
  The result of the operation.
</ResponseField>

## Uses

* `get_checks`
* `check.detect`
* `HealthCheckResult`
* `Finding`
* `callable`
* `repair_fn`
* `TypeError`

## Used By

* [`Agent.run_until`](../functions/Agent-run_until)
* [`HookRunner.execute_sync`](../functions/HookRunner-execute_sync)
* [`MCPToolRunner.run`](../functions/MCPToolRunner-run)
* [`run_health_checks`](../functions/run_health_checks)
* [`BaseTool.safe_run`](../functions/BaseTool-safe_run)

## Source

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