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

# astart • AI Agent SDK

> astart: Async version of start().

# astart

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

> This is a method of the [**VideoAgent**](../classes/VideoAgent) class in the [**video\_agent**](../modules/video_agent) module.

Async version of start().

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def astart(prompt: str, wait: bool, output: Optional[str]) -> Union[Any, bytes]
```

## Parameters

<ParamField query="prompt" type="str" required={true}>
  No description available.
</ParamField>

<ParamField query="wait" type="bool" required={false} default="True">
  No description available.
</ParamField>

<ParamField query="output" type="Optional" required={false}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Union[Any, bytes]">
  The result of the operation.
</ResponseField>

## Uses

* `agenerate`
* `await_completion`
* `acontent`
* `f.write`

## Used By

* [`AutoAgents.astart`](../functions/AutoAgents-astart)

## Source

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