> ## Documentation Index
> Fetch the complete documentation index at: https://docs.peaq.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Network Selection

Choose the network to connect to using a simple string or a full WebSocket URL.

Recommended values:

* `"peaq"` (mainnet)
* `"agung"` (testnet, default)
* Custom: any `wss://...` endpoint

Tip: See [Connecting to peaq](http://localhost:3000/build/getting-started/connecting-to-peaq) for WSS URLs.

```python theme={"theme":{"light":"github-light-default","dark":"github-dark"}}
from peaq_robot import PeaqRobot

# Defaults to Agung testnet
sdk = PeaqRobot()

# Explicit selections (mainnet first)
sdk = PeaqRobot(network="peaq")
sdk = PeaqRobot(network="agung")
sdk = PeaqRobot(network="wss://your-endpoint")
```
