> ## 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 Server Started • AI Agent SDK

> set_server_started: API reference for ServerRegistry.set_server_started

# set\_server\_started

<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_server_started(port: int, started: bool) -> None
```

## Parameters

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

<ParamField query="started" type="bool" 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#L167">
  `praisonaiagents/agent/agent.py` at line 167
</Card>
