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

# Execution Config • AI Agent SDK

> ExecutionConfig: Configuration for agent execution limits.

# ExecutionConfig

> Defined in the [**Feature Configs**](../modules/feature_configs) module.

<Badge color="blue">AI Agent</Badge>

Configuration for agent execution limits.

Consolidates: max\_iter, max\_rpm, max\_execution\_time, max\_retry\_limit

## Properties

<ResponseField name="max_iter" type="int">
  No description available.
</ResponseField>

<ResponseField name="max_rpm" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="max_execution_time" type="Optional">
  No description available.
</ResponseField>

<ResponseField name="max_retry_limit" type="int">
  No description available.
</ResponseField>

<Accordion title="Internal & Generic Methods">
  * **to\_dict**: Convert to dictionary.
</Accordion>

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Simple preset
    Agent(execution="thorough")
    
    # With config
    Agent(execution=ExecutionConfig(
        max_iter=50,
        max_rpm=100,
        max_execution_time=300,
        max_retry_limit=5,
    ))
```

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/config/feature_configs.py#L608">
  `praisonaiagents/config/feature_configs.py` at line 608
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Configuration Overview" icon="gear" href="/docs/configuration/index" />

  <Card title="Agent Config" icon="robot" href="/docs/configuration/agent-config" />
</CardGroup>
