# AGENTS.md
**Category**: react
**URL**: https://ui.darkcode.dev/en/docs/react/getting-started/agents-md
**Source**: https://raw.githubusercontent.com/DarkCode-Developers/darkcode-ui/refs/heads/main/apps/docs/content/docs/en/react/getting-started/(ui-for-agents)/agents-md.mdx
> Download DarkCode UI React documentation for AI coding agents
***
Download DarkCode UI React documentation directly into your project for AI assistants to reference.
**Note:** The `agents-md` command downloads DarkCode UI React documentation for AI coding agents.
### Usage
```bash
npx darkcode-ui-cli@latest agents-md --react
```
Or specify output file:
```bash
npx darkcode-ui-cli@latest agents-md --react --output AGENTS.md
```
### What It Does
- Downloads latest DarkCode UI React docs to `.darkcode-ui-docs/react/`
- Generates an index in `AGENTS.md` or `CLAUDE.md`
- Includes demo files for code examples
- Adds `.darkcode-ui-docs/` to `.gitignore` automatically
### Options
- `--react` - Download React docs only
- `--output ` - Target file(s) (e.g., `AGENTS.md` or `AGENTS.md CLAUDE.md`)
- `--ssh` - Use SSH for git clone
### Requirements
- Tailwind CSS >= v4
- React >= 19.0.0
- `@darkcode-ui/react >= 3.0.0` or `@latest`
### Related Documentation
- [AGENTS.md](https://agents.md/) - Learn about the AGENTS.md format for coding agents
- [CLAUDE.md](https://code.claude.com/docs/en/best-practices#write-an-effective-claude-md) - Claude equivalent of AGENTS.md
- [AGENTS.md vs Skills](https://vercel.com/blog/agents-md-outperforms-skills-in-our-agent-evals) - AGENTS.md performance