> ## 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: Async version of run() - silent, non-streaming, returns structured result.

# 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 [**Agent**](../classes/Agent) class in the [**agent**](../modules/agent) module.

Async version of run() - silent, non-streaming, returns structured result.

Production-friendly async execution. Does not stream or display output.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def arun(prompt: str) -> Any
```

## Parameters

<ParamField query="prompt" type="str" required={true}>
  The input prompt to process \*\*kwargs: Additional arguments passed to achat()
</ParamField>

### Returns

<ResponseField name="Returns" type="Any">
  The agent's response as a string
</ResponseField>

## Uses

* `achat`

## Source

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