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

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

> This is a method of the [**ChannelDescriptor**](../classes/ChannelDescriptor) class in the [**protocols**](../modules/protocols) 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

<ParamField query="io" type="Any" required={true}>
  An onboarding IO helper (prompt/confirm/getpass) supplied by the wrapper's wizard.
</ParamField>

### Returns

<ResponseField name="Returns" type="Dict[str, Any]">
  A mapping of collected config/env values, merged by the wizard.
</ResponseField>

## Source

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