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

初始化 `~/.agdi/agdi.json` 和智能体工作区。

相关内容：

* 入门指南：[入门指南](https://agdiai-597e782f.mintlify.site/start/getting-started.md)
* CLI 新手引导：[CLI 新手引导](https://agdiai-597e782f.mintlify.site/start/wizard.md)

## 示例

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

通过 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.