> ## Documentation Index
> Fetch the complete documentation index at: https://agdiai-597e782f.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# setup

# `agdi setup`

Initialize `~/.agdi/agdi.json` and the agent workspace.

Related:

* Getting started: [Getting started](https://agdiai-597e782f.mintlify.site/start/getting-started.md)
* CLI onboarding: [Onboarding (CLI)](https://agdiai-597e782f.mintlify.site/start/wizard.md)

## Examples

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
agdi setup
agdi setup --workspace ~/.agdi/workspace
```

To run onboarding via setup:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
agdi setup --wizard
```


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