HN 표시: 자연어 작업 워크플로가 포함된 셸인 AISH
hackernews
|
|
📦 오픈소스
#ai shell
#ai 딜
#aish
#anthropic
#claude
#gpt-4
#openai
#보안
#워크플로
#자연어
원문 출처: hackernews · Genesis Park에서 요약 및 분석
요약
AISH는 운영 및 시스템 문제 해결을 목적으로 설계된 오픈소스 AI 셸로, 사용자가 자연어로 작업을 설명하면 명령어를 생성 및 실행할 수 있습니다. 터미널 환경에서 vim이나 ssh 같은 대화형 프로그램을 완벽하게 지원하며, 보안 위험도에 따라 실행 승인 절차를 거치는 통제 기능을 제공합니다. 또한 Claude Code와 달리 무료로 제공되며, 다양한 로컬 모델과 플러그인 시스템을 활용해 기능을 확장할 수 있는 것이 특징입니다.
본문
English | 简体中文 Empower the Shell to think. Evolve Operations. A Real AI Shell: Complete PTY + Configurable Security & Risk Control - Why Choose AISH - Quick Start - Installation - Uninstallation - Configuration - Usage - Security & Risk Control - Skills (Plugins) - Data & Privacy - Documentation - Community & Support - Development & Testing - Contributing - License - True Interactive Shell: Full PTY support, runs interactive programs like vim /ssh /top - AI Native Integration: Describe tasks in natural language, generate, explain and execute commands - Secure & Controllable: AI commands have risk grading and confirmation flow; optional sandbox pre-run for change assessment - Extensible: Skills plugin system with hot loading and priority override - Low Migration Cost: Compatible with regular commands and workflows, everything in terminal by default | Feature | AISH | Claude Code | |---|---|---| | 🎯 Core Positioning | Ops/System Troubleshooting CLI | Development Coding Assistant | | 🤖 Multi-Model Support | ✅ Fully Open | | | 🔧 Sub-Agent System | ✅ ReAct Diagnostic Agent | ✅ Multiple Agent Types | | 🧩 Skills Support | ✅ Hot Loading | ✅ | | 🖥️ Native Terminal Integration | ✅ Full PTY Support | | | 🛡️ Security Risk Assessment | ✅ Security Confirmation | ✅ Security Confirmation | | 🌐 Local Model Support | ✅ Fully Supported | Fully Supported | | 📁 File Operation Tools | ✅ Minimal Essential Suppport | ✅ Full Support | | 💰 Completely Free | ✅ Open Source | ❌ Paid Service | | 📊 Observability | ✅ Langfuse Optional | | | 🌍 Multi-language Output | ✅ Auto Detection | ✅ | curl -fsSL https://www.aishell.ai/repo/install.sh | bash Download the matching aish--linux-.tar.gz bundle from the official release directory, then run: tar -xzf aish--linux-.tar.gz cd aish--linux- sudo ./install.sh Then launch: aish Note: aish without subcommands is equivalent to aish run . aish> ls -la aish> cd /etc aish> vim hosts Starting with ; or ; enters AI mode: aish> ;find files larger than 100M in current directory and sort by size aish> ;explain this command: tar -czf a.tgz ./dir curl -fsSL https://www.aishell.ai/repo/install.sh | bash The installer resolves the latest release directory under https://www.aishell.ai/repo , downloads the matching bundle for your architecture, and installs aish , aish-sandbox , and aish-uninstall into /usr/local/bin . uv sync uv run aish # or python -m aish Uninstall (keep configuration files): sudo aish-uninstall Complete uninstallation (also removes system-level security policies): sudo aish-uninstall --purge-config Optional: Clean user-level configuration (will clear model/API keys etc.): rm -rf ~/.config/aish - Default: ~/.config/aish/config.yaml (or$XDG_CONFIG_HOME/aish/config.yaml ifXDG_CONFIG_HOME is set) - Command-line arguments - Environment variables - Configuration file # ~/.config/aish/config.yaml model: openai/deepseek-chat api_base: https://openrouter.ai/api/v1 api_key: your_api_key Alternatively via environment variables (more suitable for secrets): export AISH_MODEL="openai/deepseek-chat" export AISH_API_BASE="https://openrouter.ai/api/v1" export AISH_API_KEY="your_api_key" Tip: LiteLLM also supports reading vendor-specific environment variables (e.g., OPENAI_API_KEY ,ANTHROPIC_API_KEY ). Interactive configuration (optional): aish setup Tool calling compatibility check (confirm selected model/channel supports tool calling): aish check-tool-support --model openai/deepseek-chat --api-base https://openrouter.ai/api/v1 --api-key your_api_key Langfuse (optional observability): - Enable in configuration: enable_langfuse: true - Set environment variables: export LANGFUSE_PUBLIC_KEY="..." export LANGFUSE_SECRET_KEY="..." export LANGFUSE_HOST="https://cloud.langfuse.com" aish check-langfuse will run checks when check_langfuse.py exists in project root. | Type | Example | Description | |---|---|---| | Shell Commands | ls -la , cd /path , git status | Execute regular commands directly | | AI Requests | ;how to check port usage , ;find files larger than 100M | Enter AI mode with ; /; prefix | | Built-in Commands | help , clear , exit , quit | Shell built-in control commands | | Model Switching | /model gpt-4 | View or switch model | aish> ssh user@host aish> top aish> vim /etc/hosts AI Shell only performs security assessment on AI-generated and ready-to-execute commands. - LOW: Allowed by default - MEDIUM: Confirmation before execution - HIGH: Blocked by default Policy files are resolved in this order: /etc/aish/security_policy.yaml (system-level)~/.config/aish/security_policy.yaml (user-level; auto-generated template if not exists) Default policy has sandbox pre-run disabled. To enable: - Set in security policy: global: enable_sandbox: true - Start privileged sandbox service (systemd): sudo systemctl enable --now aish-sandbox.socket Default socket: /run/aish/sandbox.sock . When sandbox is unavailable, it will fallback according to sandbox_off_action (BLOCK/CONFIRM/ALLOW) in policy. Skills extend AI's domain
Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.
공유