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

# setup • AI Agent SDK

> setup: Optional interactive setup returning collected config/env values.

# setup

Method

> This is a method of the [**ChannelDescriptor**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/ChannelDescriptor.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) module.

Optional interactive setup returning collected config/env values.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def setup(io: Any) -> Dict[str, Any]
```

## Parameters

**io** `Any` *required*

An onboarding IO helper (prompt/confirm/getpass) supplied by the wrapper's wizard.

### Returns

**Returns** `Dict[str, Any]`

A mapping of collected config/env values, merged by the wizard.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/bots/protocols.py#L292)
>
> `praisonaiagents/bots/protocols.py` at line 292


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.