sh-ai
aichat for shell - AI-enhanced SSH management tool
Description
SH-AI is an AI-enhanced SSH management tool that runs within the AIChat process, providing intelligent device detection, command generation, and execution through a modular architecture.
Features
- ๐ค AI-enhanced SSH connection management
- ๐ Automatic device type detection and caching
- ๐ Unified Markdown format output
- ๐ Dual-mode support (AIChat/CLI)
- ๐ก๏ธ Secure command execution mechanism
- ๐ Structured JSON responses
Dependencies
This project depends on the following open-source projects:
- sigoden/aichat - MIT License
- sigoden/llm-functions - MIT License
- sigoden/argc - MIT Liceโฆ
sh-ai
aichat for shell - AI-enhanced SSH management tool
Description
SH-AI is an AI-enhanced SSH management tool that runs within the AIChat process, providing intelligent device detection, command generation, and execution through a modular architecture.
Features
- ๐ค AI-enhanced SSH connection management
- ๐ Automatic device type detection and caching
- ๐ Unified Markdown format output
- ๐ Dual-mode support (AIChat/CLI)
- ๐ก๏ธ Secure command execution mechanism
- ๐ Structured JSON responses
Dependencies
This project depends on the following open-source projects:
- sigoden/aichat - MIT License
- sigoden/llm-functions - MIT License
- sigoden/argc - MIT License
Installation
Prerequisites
- Bash shell
- Git
- AIChat installed and configured
- SSH client
Steps
Clone the repository
git clone https://github.com/YOUR_USERNAME/sh-ai.git
cd sh-ai
Run the build script
./scripts/build.sh
Configure AIChat
- Ensure AIChat is installed:
aichat --version - Set up your LLM API keys if required
Use with AIChat
aichat --agent sh-ai --session work
Usage
See the documentation in doc/SH-AI_้กน็ฎๆถๆๅ็ดขๅผ.md for detailed usage instructions.
Contributing
Contributions are welcome! Please read the contributing guidelines before submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
The dependencies listed above are also licensed under the MIT License, ensuring compatibility.