Package Exports
- @aigencydev/cli
- @aigencydev/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@aigencydev/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
AIGENCY CLI
Terminalden yapay zeka destekli kod üretimi, dosya yönetimi ve proje otomasyonu. AIGENCY hesabınla bağlanır, projende çalışır, kodu senin onayınla yazar.
Önemli: AIGENCY CLI mevcut web ve mobil AIGENCY hizmetlerini etkilemez. Ayrı bir API namespace (
/api/cli/*) kullanır, mevcut/api/v1,/api/v2ve/api/mobileendpoint'leri değişmez.
Kurulum
npm install -g @aigencydev/cliNode.js 18.18 veya üzeri gerekir.
node --versionile kontrol edebilirsiniz.
Hızlı Başlangıç
# 1) Hesabınıza bağlanın (tarayıcı açılır)
aigency login
# 2) Proje dizinine girin ve .aigency/ iskeletini oluşturun
cd ~/projects/my-app
aigency init
# 3) Ajanla konuşmaya başlayın
aigency "bana bir Next.js CV sitesi oluştur"
# ya da interaktif modda
aigencyKomutlar
| Komut | Açıklama |
|---|---|
aigency |
İnteraktif sohbet modu |
aigency "<prompt>" |
Tek seferlik prompt çalıştır |
aigency login |
AIGENCY hesabına bağlan |
aigency logout |
Oturumu kapat |
aigency init |
Mevcut dizinde .aigency/ kur |
aigency usage |
Aylık token kullanımını göster |
aigency update |
Sürüm kontrolü |
aigency help |
Yardım |
aigency --version |
Sürümü göster |
aigency --mode plan |
Plan modunda başlat (dry-run) |
aigency --mode accept_edits |
Düzenlemeleri otomatik kabul |
Slash Komutları
| Komut | İşlev |
|---|---|
/help |
Komut listesi |
/clear |
Sohbet geçmişini temizle |
/mode [mod] |
İzin modunu değiştir veya göster |
/cost |
Bu oturumda kullanılan token |
/undo |
Son dosya düzenlemesini geri al |
/continue |
Kaldığın yerden devam et |
/exit |
Çıkış |
Kısayollar
| Tuş | İşlev |
|---|---|
Shift+Tab |
İzin modlarını döngüle |
ESC |
Aktif işlemi iptal et |
Ctrl+C |
Çalışıyorsa iptal, boştaysa çıkış |
İzin Modları
| Mod | Davranış |
|---|---|
default |
Okuma otomatik, yazma ve komut için onay sorulur |
plan |
Dry-run — hiçbir şey yazılmaz, sadece plan gösterilir |
accept_edits |
Dosya yazma otomatik, komutlar onay ister |
auto |
Tam otomatik (yalnızca Max paket) |
Araçlar
Ajan projenizde aşağıdaki işlemleri yapabilir:
Dosya sistemi: read_file · list_files · search_files · write_file · edit_file · edit_file_multi
Shell: bash_execute — interaktif olmayan komutlar, 5 dk timeout, canlı çıktı
Doğrulama: verify_project — proje sağlık kontrolü (package.json, scripts, node_modules)
Hafıza: save_memory · read_memory · delete_memory — oturumlar arası kalıcı
Görev planlama: write_tasks · read_tasks — canlı ilerleme göstergesi
Self-check: assert_done — görev tamamlama doğrulaması
Güvenlik: .git/, .env*, ~/.ssh/, node_modules/ yazma yasak. sudo, rm -rf /, curl | sh otomatik engellenir.
Proje Yapılandırması
aigency init ile projenizde oluşturulur:
.aigency/
├── AIGENCY.md # Proje talimatları (her oturumda okunur)
├── settings.json # İzin modu, allow/deny listeleri
├── rules/ # Dosya bazlı kurallar
├── hooks/ # PreToolUse/PostToolUse script'leri
└── .gitignoreAIGENCY.md projenizin kurallarını tanımlar — teknoloji yığını, kodlama standartları, dokunulmaması gereken yerler.
Kalıcı Veriler
~/.aigency/
├── cli.json # Auth metadata
├── credentials.enc # Şifreli token'lar (AES-256-GCM)
├── settings.json # Global ayarlar
├── cli.log # Rotating log
└── projects/<hash>/
├── memory/ # Kalıcı hafıza (MEMORY.md + topic dosyaları)
├── sessions/ # Oturum transkriptleri (JSONL)
└── checkpoints/ # Dosya edit snapshot'ları (/undo için)Makineye özel, git'e eklenmez.
Paketler
| Paket | Fiyat | Aylık Token | Ek Özellikler |
|---|---|---|---|
| CLI Pro | 1.500 ₺/ay | 100.000.000 | Standart |
| CLI Max | 3.000 ₺/ay | 500.000.000 | Öncelikli kuyruk, Auto mode |
Paket yönetimi: aigency.dev/developer/cli
Yapılandırma
| Değişken | Açıklama |
|---|---|
AIGENCY_CLI_API_URL |
API adresi (varsayılan: https://aigency.dev) |
AIGENCY_CLI_DEBUG |
1 ile debug loglar |
Destek
- aigency.dev/developer/cli — Yönetim paneli
- aigency.dev/forge — Tanıtım ve SSS
- aigency.dev/contact — İletişim
Lisans
Özel lisans — AIGENCY. Tüm hakları saklıdır.
AIGENCY CLI (English)
AI-powered code generation, file management and project automation from your terminal. Connect with your AIGENCY account, work in your project, code is written with your approval.
Important: AIGENCY CLI does not affect existing web and mobile AIGENCY services. It uses a separate API namespace (
/api/cli/*), existing/api/v1,/api/v2and/api/mobileendpoints remain unchanged.
Installation
npm install -g @aigencydev/cliRequires Node.js 18.18 or higher.
Quick Start
# 1) Sign in (opens browser)
aigency login
# 2) Navigate to your project and create .aigency/ scaffold
cd ~/projects/my-app
aigency init
# 3) Start chatting with the agent
aigency "create a Next.js CV site for me"
# or interactive mode
aigencyCommands
| Command | Description |
|---|---|
aigency |
Interactive chat mode |
aigency "<prompt>" |
One-shot prompt |
aigency login |
Sign in to AIGENCY |
aigency logout |
Sign out |
aigency init |
Create .aigency/ scaffold |
aigency usage |
Show monthly token usage |
aigency update |
Check for updates |
aigency help |
Help |
aigency --version |
Show version |
aigency --mode plan |
Start in plan mode (dry-run) |
Slash Commands
| Command | Action |
|---|---|
/help |
Command list |
/clear |
Clear chat history |
/mode [mode] |
Change or show permission mode |
/cost |
Tokens used this session |
/undo |
Revert last file edit |
/continue |
Resume from where you left off |
/exit |
Exit |
Keyboard Shortcuts
| Key | Action |
|---|---|
Shift+Tab |
Cycle permission modes |
ESC |
Cancel active operation |
Ctrl+C |
Cancel if busy, exit if idle |
Permission Modes
| Mode | Behavior |
|---|---|
default |
Reads automatic, writes and commands prompt for approval |
plan |
Dry-run — no writes, only shows the plan |
accept_edits |
Writes automatic, commands still require approval |
auto |
Full automation (Max tier only) |
Tools
The agent can perform the following operations in your project:
Filesystem: read_file · list_files · search_files · write_file · edit_file · edit_file_multi
Shell: bash_execute — non-interactive commands, 5 min timeout, live output streaming
Verification: verify_project — project health check (package.json, scripts, node_modules)
Memory: save_memory · read_memory · delete_memory — persistent across sessions
Task planning: write_tasks · read_tasks — live progress indicator
Self-check: assert_done — task completion verification
Security: .git/, .env*, ~/.ssh/, node_modules/ are write-protected. sudo, rm -rf /, curl | sh are automatically blocked.
Project Configuration
Created by aigency init:
.aigency/
├── AIGENCY.md # Project instructions (read every session)
├── settings.json # Permission mode, allow/deny lists
├── rules/ # Path-scoped rules
├── hooks/ # PreToolUse/PostToolUse scripts
└── .gitignoreAIGENCY.md defines your project rules — tech stack, coding standards, protected areas.
Persistent Data
~/.aigency/
├── cli.json # Auth metadata
├── credentials.enc # Encrypted tokens (AES-256-GCM)
├── settings.json # Global settings
├── cli.log # Rotating log
└── projects/<hash>/
├── memory/ # Persistent memory (MEMORY.md + topic files)
├── sessions/ # Session transcripts (JSONL)
└── checkpoints/ # File edit snapshots (for /undo)Machine-local, never committed to git.
Plans
| Plan | Price | Monthly Tokens | Extras |
|---|---|---|---|
| CLI Pro | 1,500 ₺/mo | 100,000,000 | Standard |
| CLI Max | 3,000 ₺/mo | 500,000,000 | Priority queue, Auto mode |
Manage plans at aigency.dev/developer/cli
Configuration
| Variable | Description |
|---|---|
AIGENCY_CLI_API_URL |
API address (default: https://aigency.dev) |
AIGENCY_CLI_DEBUG |
Set 1 for debug logs |
Support
- aigency.dev/developer/cli — Dashboard
- aigency.dev/forge — Product page & FAQ
- aigency.dev/contact — Contact
License
Proprietary — AIGENCY. All rights reserved.