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

# achat • AI Agent SDK

> achat: Asynchronous chat with the agent.

# achat

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

> This is a method of the [**AgentProtocol**](../classes/AgentProtocol) class in the [**protocols**](../modules/protocols) module.

Asynchronous chat with the agent.

## Signature

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

## Parameters

<ParamField query="prompt" type="str" required={true}>
  The user prompt or message \*\*kwargs: Additional optional parameters (temperature, tools, etc.)
</ParamField>

### Returns

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

## Used By

* [`Agent.run_autonomous_async`](../functions/Agent-run_autonomous_async)
* [`TypedHandoff.execute_async`](../functions/TypedHandoff-execute_async)
* [`AgentApproval.request_approval`](../functions/AgentApproval-request_approval)
* [`LLMRuntimeWrapper.aexecute`](../functions/LLMRuntimeWrapper-aexecute)

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Chat Feature" icon="comments" href="/docs/docs/features/chat" />

  <Card title="Conversation Stores" icon="database" href="/docs/docs/databases/overview" />
</CardGroup>
