INNER CODE UNIT · Python

create_app

caipe-io/ai-platform-engineering · ai_platform_engineering/autonomous_agents/src/autonomous_agents/main.py:269

def create_app() -> FastAPI:
    """Create and configure the FastAPI application."""
    settings = get_settings()

    app = FastAPI(
        title="Autonomous Agents Service",
        description="Schedule and trigger AI agents to run in the background autonomously",
        version="0.1.0",
        lifespan=lifespan,
    )

    app.add_exception_handler(
        WebhookSecretEncryptionError,
        webhook_secret_encryption_error_handler,
    )

    # Add CORS middleware
    app.add_middleware(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…