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

# Set Shared App • AI Agent SDK

> set_shared_app: API reference for ServerRegistry.set_shared_app

# set\_shared\_app

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

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

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def set_shared_app(port: int, app: Any) -> None
```

## Parameters

<ParamField query="port" type="int" required={true}>
  No description available.
</ParamField>

<ParamField query="app" type="Any" required={true}>
  No description available.
</ParamField>

## Source

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