> ## 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**](../modules/config) module.

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

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

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

<ResponseField name="host" type="str">
  No description available.
</ResponseField>

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

<ResponseField name="reload" type="bool">
  No description available.
</ResponseField>

<ResponseField name="cors_origins" type="List">
  No description available.
</ResponseField>

<ResponseField name="api_prefix" type="str">
  No description available.
</ResponseField>

<ResponseField name="docs_url" type="str">
  No description available.
</ResponseField>

<ResponseField name="openapi_url" type="str">
  No description available.
</ResponseField>

<ResponseField name="debug" type="bool">
  No description available.
</ResponseField>

<ResponseField name="log_level" type="str">
  No description available.
</ResponseField>

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

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

<ResponseField name="metadata" type="Dict">
  No description available.
</ResponseField>

## Usage

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

## Source

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Agents Concept" icon="robot" href="/docs/concepts/agents" />

  <Card title="Single Agent Guide" icon="book-open" href="/docs/guides/single-agent" />

  <Card title="Multi-Agent Guide" icon="users" href="/docs/guides/multi-agent" />

  <Card title="Agent Configuration" icon="gear" href="/docs/configuration/agent-config" />

  <Card title="Auto Agents" icon="wand-magic-sparkles" href="/docs/features/autoagents" />
</CardGroup>
