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

# run • AI Agent SDK

> run: Run the agent with a prompt (alias for chat in most cases).

# run

Method

> This is a method of the [**RunnableAgentProtocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/RunnableAgentProtocol.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Run the agent with a prompt (alias for chat in most cases).

## Signature

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

## Parameters

**prompt** `str` *required*

No description available.

### Returns

**Returns** `str`

The result of the operation.

## Used By

* [`Agent.run_until`](../functions/Agent-run_until)
* [`MCPToolRunner.run`](../functions/MCPToolRunner-run)
* [`run_health_checks`](../functions/run_health_checks)
* [`GitRemoteSkillSource.fetch`](../functions/GitRemoteSkillSource-fetch)
* [`BaseTool.safe_run`](../functions/BaseTool-safe_run)

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/protocols.py#L103)
>
> `praisonaiagents/agent/protocols.py` at line 103


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.