> ## 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 • Rust 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(&self, prompt: &str) -> Result<String>
```

## Parameters

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

### Returns

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