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

# HTTP Launcher Protocol • AI Agent SDK

> HttpLauncherProtocol: Protocol for HTTP server launchers.

# HttpLauncherProtocol

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

AI Agent

Protocol for HTTP server launchers.

This defines the interface for launching HTTP servers for agents.
The core SDK defines the protocol, while heavy implementations
(FastAPI, uvicorn) live in the wrapper layer.

## Methods

> [card] [launch()](https://praison.ai/docs/sdk/reference/praisonaiagents/functions/HttpLauncherProtocol-launch.md)
>
> Launch HTTP server for the agent.

## Usage

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
class FastAPILauncher:
        def launch(self, agent, path="/", port=8000, host="0.0.0.0", debug=False):
            # FastAPI implementation
            pass
    
    # In Agent class
    launcher: HttpLauncherProtocol = get_http_launcher()
    launcher.launch(self, path, port, host, debug)
```

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/protocols.py#L251)
>
> `praisonaiagents/agent/protocols.py` at line 251


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