> ## 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: Execute the framework with shared agents.yaml configuration.

# run

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

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

Execute the framework with shared agents.yaml configuration.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def run(config: Dict[str, Any], llm_config: List[Dict], topic: str) -> str
```

## Parameters

<ParamField query="config" type="Dict[str, Any]" required={true}>
  No description available.
</ParamField>

<ParamField query="llm_config" type="List[Dict]" required={true}>
  No description available.
</ParamField>

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

### Returns

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

## Used By

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

## Source

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