chat • Rust AI Agent SDK

chat: Chat with the agent (main entry point) This is the primary method for interacting with an agent. It handles the full conversation loop including tool…

chat

Async

Method

</div>

This is a method of the Agent class in the agent module.

Chat with the agent (main entry point) This is the primary method for interacting with an agent. It handles the full conversation loop including tool calls.

Signature

python
async def chat(&self, prompt: &str) -> Result<String>

Parameters

ParamField &str

No description available.

Returns

PreviousNext