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

# Get App • AI Agent SDK

> get_app: Get the underlying web application instance.

# get\_app

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**AgentOSProtocol**](../classes/AgentOSProtocol) class in the [**protocols**](../modules/protocols) module.

Get the underlying web application instance.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_app() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The FastAPI application instance for custom mounting or configuration.
</ResponseField>

## Source

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