arun • AI Agent SDK

arun: Async run the agent with a prompt.

arun

Async

Method

</div>

This is a method of the RunnableAgentProtocol class in the protocols module.

Async run the agent with a prompt.

Signature

python
async def arun(prompt: str) -> str

Parameters

ParamField str

No description available.

Returns

ResponseField str

The result of the operation.

Used By

Source

View on GitHub

praisonaiagents/agent/protocols.py at line 111