Skip to main content

AgentAppConfig

Defined in the config 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

Properties

str
No description available.
str
No description available.
int
No description available.
bool
No description available.
List[str]
No description available.
str
No description available.
str
No description available.
str
No description available.
bool
No description available.
str
No description available.
int
No description available.
int
No description available.
Dict[str, Any]
No description available.
Optional[str]
No description available.

Usage

Source

View on GitHub

praisonaiagents/app/config.py at line 12

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents