> ## 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 start the agent with a prompt.

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

Async start the agent with a prompt.

## Signature

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

## Parameters

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

### Returns

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

## Used By

* [`AgentTeam.astart_for_each`](../functions/AgentTeam-astart_for_each)
* [`AgentTeam.aspawn_sub_agent`](../functions/AgentTeam-aspawn_sub_agent)
* [`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/protocols.py#L115">
  `praisonaiagents/agent/protocols.py` at line 115
</Card>
