Ai Claw Orchestrator
- نصب Coding Agent CLIها در Windows
این بخش روش نصب CLI ابزارهایی را پوشش میدهد که در Agentic Development Environment استفاده میکنیم.
Agentهای مورد استفاده:
- Claude Code - OpenAI Codex - Cursor Agent - Google Antigravity - OpenCode - Freebuff - Claw Orchestrator
---
- 1. Claude Code
وبسایت رسمی:
- روش پیشنهادی — PowerShell
```powershell irm https://claude.ai/install.ps1 | iex ```
- روش دوم — CMD / curl
```cmd curl -fsSL https://claude.ai/install.cmd -o install.cmd && install.cmd && del install.cmd ```
- روش سوم — Winget
```powershell winget install Anthropic.ClaudeCode ```
- بررسی نصب
```powershell claude --version ```
- اجرا
```powershell claude ```
- بررسی سلامت
```powershell claude doctor ```
---
- 2. Cursor Agent CLI
وبسایت رسمی:
- نصب در Windows
```powershell irm 'https://cursor.com/install?win32=true' | iex ```
- بررسی نصب
```powershell cursor-agent --version ```
Cursor Agent ممکن است با دستور کوتاه زیر نیز قابل اجرا باشد:
```powershell agent ```
- بررسی PATH
```powershell where.exe cursor-agent where.exe agent ```
---
- 3. Google Antigravity
وبسایت رسمی:
نسخه Desktop برای Windows نیز با installer مربوط به سیستم x64 قابل نصب است.
- نصب Antigravity CLI با PowerShell
```powershell irm https://antigravity.google/cli/install.ps1 | iex ```
- روش دوم با curl
```cmd curl -fsSL https://antigravity.google/cli/install.cmd -o install.cmd && install.cmd && del install.cmd ```
- بررسی CLI
```powershell agy --version ```
- اجرا
```powershell agy ```
- بررسی PATH
```powershell where.exe agy ```
---
- 4. Google Antigravity SDK
در صورت نیاز به استفاده برنامهنویسی از SDK:
```powershell pip install google-antigravity ```
بررسی:
```powershell pip show google-antigravity ```
> برای استفاده از Claw Orchestrator معمولاً نصب CLI مهمتر از SDK است. SDK را فقط زمانی نصب کنید که مستقیماً در Python به آن نیاز دارید.
---
- 5. OpenCode
وبسایت رسمی:
ابتدا اجازه اجرای install script مربوط به package را بدهید:
```powershell npm config set allow-scripts=opencode-ai --location=user ```
سپس OpenCode را نصب کنید:
```powershell npm install -g opencode-ai ```
یا:
```powershell npm i -g opencode-ai ```
- بررسی نصب
```powershell opencode --version ```
- اجرا
```powershell opencode ```
- بررسی PATH
```powershell where.exe opencode ```
---
- 6. OpenAI Codex
صفحه Codex:
https://chatgpt.com/codex/cloud
- نصب با npm
```powershell npm install -g @openai/codex ```
یا:
```powershell npm i -g @openai/codex ```
- بررسی نصب
```powershell codex --version ```
- اجرا
```powershell codex ```
- Login
```powershell codex login ```
- بررسی PATH
```powershell where.exe codex ```
---
- 7. Freebuff
وبسایت:
- ثبتنام
در صورت تمایل میتوانید از Referral Link زیر برای ثبتنام استفاده کنید:
https://freebuff.com/?ref=ref-eead1f77-4518-43aa-a4fa-51a49acab0e1
- نصب Freebuff CLI
```powershell npm install -g freebuff ```
یا:
```powershell npm i -g freebuff ```
- بررسی نصب
```powershell freebuff --version ```
- اجرا
```powershell freebuff ```
- بررسی PATH
```powershell where.exe freebuff ```
---
- 8. Claw Orchestrator
Claw Orchestrator لایه Orchestration این محیط است.
بعد از نصب Coding Agentها میتوان آن را نصب کرد.
- نصب
```powershell npm install -g @enderfga/claw-orchestrator ```
- بررسی نسخه
```powershell clawo --version ```
- مشاهده دستورات
```powershell clawo --help ```
- اجرای Standalone Server
```powershell clawo serve ```
---
- 9. بررسی تمام CLIها بعد از نصب
پس از پایان نصب، دستورات زیر را اجرا کنید:
```powershell node --version npm --version git --version
claude --version cursor-agent --version agy --version opencode --version codex --version freebuff --version
clawo --version ```
اگر همه چیز درست باشد، تمام commandها باید بدون خطای `command not found` اجرا شوند.
---
- 10. بررسی محل نصب CLIها
برای مشاهده مسیر executableها:
```powershell where.exe node where.exe npm where.exe git
where.exe claude where.exe cursor-agent where.exe agy where.exe opencode where.exe codex where.exe freebuff
where.exe clawo ```
---
- 11. بررسی خودکار
میتوانیم تمام CLIها را با PowerShell بررسی کنیم:
```powershell $tools = @(
@{ Name = "Node.js"; Command = "node"; Args = "--version" },
@{ Name = "npm"; Command = "npm"; Args = "--version" },
@{ Name = "Git"; Command = "git"; Args = "--version" },
@{ Name = "Claude Code"; Command = "claude"; Args = "--version" },
@{ Name = "Cursor Agent"; Command = "cursor-agent"; Args = "--version" },
@{ Name = "Antigravity"; Command = "agy"; Args = "--version" },
@{ Name = "OpenCode"; Command = "opencode"; Args = "--version" },
@{ Name = "Codex"; Command = "codex"; Args = "--version" },
@{ Name = "Freebuff"; Command = "freebuff"; Args = "--version" },
@{ Name = "Claw Orchestrator"; Command = "clawo"; Args = "--version" }
)
Write-Host "" Write-Host "========================================" Write-Host " AGENTIC DEV OS HEALTH CHECK" Write-Host "========================================" Write-Host ""
foreach ($tool in $tools) {
$exists = Get-Command $tool.Command -ErrorAction SilentlyContinue
if ($exists) {
try {
$version = & $tool.Command $tool.Args 2>&1 |
Select-Object -First 1
Write-Host "[OK] " -ForegroundColor Green -NoNewline
Write-Host "$($tool.Name) -> $version"
}
catch {
Write-Host "[WARNING] " -ForegroundColor Yellow -NoNewline
Write-Host "$($tool.Name) installed but version check failed."
}
}
else {
Write-Host "[MISSING] " -ForegroundColor Red -NoNewline
Write-Host $tool.Name
}
}
Write-Host "" Write-Host "========================================" ```
---
- 12. معماری نهایی
```text
Developer
│
↓
Claw Orchestrator
│
Planner / Router
│
┌────────────────┼────────────────┐
│ │ │
↓ ↓ ↓
Claude Code Codex Cursor Agent
│ │ │
├──────────── OpenCode ───────────┤
│ │ │
├───────── Antigravity ───────────┤
│ │ │
└──────────── Freebuff ───────────┘
│
↓
Automated Tests
│
↓
Agent Council
│
↓
LLM-as-a-Judge
│
↓
Best Result
```
---
- نصب سریع
برای یک سیستم جدید، ترتیب کلی نصب به این صورت است:
- Claude Code
```powershell irm https://claude.ai/install.ps1 | iex ```
- Cursor Agent
```powershell irm 'https://cursor.com/install?win32=true' | iex ```
- Antigravity
```powershell irm https://antigravity.google/cli/install.ps1 | iex ```
- OpenCode
```powershell npm config set allow-scripts=opencode-ai --location=user npm i -g opencode-ai ```
- OpenAI Codex
```powershell npm i -g @openai/codex ```
- Freebuff
```powershell npm i -g freebuff ```
- Claw Orchestrator
```powershell npm i -g @enderfga/claw-orchestrator ```
- بررسی نهایی
```powershell claude --version cursor-agent --version agy --version opencode --version codex --version freebuff --version clawo --version ```
---
- نکته مهم
قبل از نصب Agentها بهتر است موارد زیر نصب و در PATH قرار گرفته باشند:
```text PowerShell 7 Git Node.js 22+ npm ```
Python فقط در صورتی ضروری است که قصد استفاده از ابزارها یا SDKهای Python مانند Google Antigravity SDK را داشته باشید.
با این ساختار، Claw Orchestrator بهعنوان لایه مرکزی Orchestration استفاده میشود و Coding Agentهای مختلف میتوانند بهعنوان Worker، Reviewer یا Judge مورد استفاده قرار گیرند.