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

# Agent App Config • AI Agent SDK

> AgentAppConfig: Configuration for AgentApp.

# AgentAppConfig

> Defined in the [**config**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/config.md) module.

AI Agent

Configuration for AgentApp.

This dataclass holds all configuration options for an AgentApp instance.
It follows the PraisonAI principle of sensible defaults with explicit overrides.

Attributes:
name: Name of the application (default: "PraisonAI App")
host: Host address to bind to (default: "0.0.0.0")
port: Port number to listen on (default: 8000)
reload: Enable auto-reload for development (default: False)
cors\_origins: List of allowed CORS origins (default: \[])
api\_prefix: API route prefix (default: "/api")
docs\_url: URL for API documentation (default: "/docs")
openapi\_url: URL for OpenAPI schema (default: "/openapi.json")
debug: Enable debug mode (default: False)
log\_level: Logging level (default: "info")
workers: Number of worker processes (default: 1)
timeout: Request timeout in seconds (default: 60)
metadata: Additional metadata for the app

```mermaid theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%

graph LR
    input["Input Data"] --> agent["Agent: AgentAppConfig"]
    agent --> output["Output Result"]
    style agent fill:#8B0000,color:#fff
    style input fill:#8B0000,color:#fff
    style output fill:#8B0000,color:#fff
```

## Properties

**name** `str`

No description available.

**host** `str`

No description available.

**port** `int`

No description available.

**reload** `bool`

No description available.

**cors\_origins** `List[str]`

No description available.

**api\_prefix** `str`

No description available.

**docs\_url** `str`

No description available.

**openapi\_url** `str`

No description available.

**debug** `bool`

No description available.

**log\_level** `str`

No description available.

**workers** `int`

No description available.

**timeout** `int`

No description available.

**metadata** `Dict[str, Any]`

No description available.

**api\_key** `Optional[str]`

No description available.

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
config = AgentAppConfig(
        name="My AI App",
        port=9000,
        reload=True,
        debug=True
    )
```

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/app/config.py#L12)
>
> `praisonaiagents/app/config.py` at line 12

***

## Related Documentation

> [card] [Agents Concept](https://praison.ai/docs/docs/concepts/agents)

> [card] [Single Agent Guide](https://praison.ai/docs/docs/guides/single-agent)

> [card] [Multi-Agent Guide](https://praison.ai/docs/docs/guides/multi-agent)

> [card] [Agent Configuration](https://praison.ai/docs/docs/configuration/agent-config)

> [card] [Auto Agents](https://praison.ai/docs/docs/features/autoagents)


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