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

# Async Openai Client • AI Agent SDK

> async_openai_client: Get the asynchronous OpenAI client (lazy initialization).

# async\_openai\_client

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

> This is a method of the [**DeepResearchAgent**](../classes/DeepResearchAgent) class in the [**deep\_research\_agent**](../modules/deep_research_agent) module.

Get the asynchronous OpenAI client (lazy initialization).

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def async_openai_client() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `AsyncOpenAI`

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Async Feature" icon="clock" href="/docs/features/async" />

  <Card title="Background Tasks" icon="spinner" href="/docs/features/background-tasks" />

  <Card title="Async Jobs" icon="list-check" href="/docs/features/async-jobs" />
</CardGroup>
