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

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

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

<CardGroup cols={2}>
  <Card title="launch()" icon="function" href="../functions/HttpLauncherProtocol-launch">
    Launch HTTP server for the agent.
  </Card>
</CardGroup>

## 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 title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agent/protocols.py#L251">
  `praisonaiagents/agent/protocols.py` at line 251
</Card>
