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

# arun • AI Agent SDK

> arun: Run checks without blocking an async caller's event loop.

# arun

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

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

Run checks without blocking an async caller's event loop.

Checks may provide `adetect` and `arepair` coroutine methods.
Synchronous implementations are isolated with `asyncio.to_thread`.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def arun(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

* `callable`
* `async_fn`
* `inspect.isawaitable`
* `asyncio.to_thread`
* `get_checks`
* `HealthCheckResult`
* `Finding`
* `TypeError`

## Used By

* [`arun_health_checks`](../functions/arun_health_checks)

## Source

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