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

# main • AI Agents Framework

> main: API reference for main

# main

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**upload\_vision**](../modules/upload_vision) module.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def main() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `argparse.ArgumentParser`
* `parser.add_argument`
* `parser.parse_args`
* `UploadVisionModel`
* `uploader.upload`

## Used By

* [`on_run`](../functions/on_run)
* [`main`](../functions/main)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/upload_vision.py#L124">
  `praisonai/upload_vision.py` at line 124
</Card>
