The ultimate command-line interface for AI-powered development, featuring blazing-fast performance and intelligent code analysis.
Rzork CLI is a high-performance, AI-powered development assistant that brings the power of large language models to your terminal. Built with Go and optimized for speed, it provides intelligent code analysis, real-time chat, and comprehensive codebase management.
- Real-time streaming responses for instant feedback
- Context-aware conversations with memory retention
- Multi-model support via Hugging Face API
- Interactive sessions with rich formatting
- AI-powered code review with detailed insights
- Automatic bug detection and fix suggestions
- Performance optimization recommendations
- Security vulnerability scanning
- Codebase indexing for instant context retrieval
- Intelligent querying of your entire project
- Cross-file analysis and relationship mapping
- Persistent memory across sessions
- Optimized algorithms with O(1) lookups
- Minimal memory footprint (~50MB RAM)
- Stripped binaries for maximum efficiency
- Cross-platform compatibility
Linux (AMD64):
curl -L -o CLI https://github.com/m99Tanishq/CLI/releases/latest/download/CLI-linux-amd64
chmod +x CLI
sudo mv CLI /usr/local/bin/macOS (Apple Silicon):
curl -L -o CLI https://github.com/m99Tanishq/CLI/releases/latest/download/CLI-darwin-arm64
chmod +x CLI
sudo mv CLI /usr/local/bin/Windows (AMD64):
Invoke-WebRequest -Uri "https://github.com/m99Tanishq/CLI/releases/latest/download/CLI-windows-amd64.exe" -OutFile "CLI.exe"
# Move CLI.exe to your PATH# Set your Hugging Face API key
CLI config set api_key YOUR_HF_API_KEY
# Set your preferred model
CLI config set model "zai-org/GLM-4.5:novita"
# Verify configuration
CLI config list# Interactive AI chat
CLI chat --stream
# Analyze your code
CLI code analyze main.go
# Index and query your codebase
CLI memory index .
CLI memory query "What is the main purpose of this application?"CLI chat # Start interactive chat
CLI chat --stream # Enable real-time streaming
CLI chat --model <model> # Use specific AI modelCLI code analyze <file> # AI-powered code analysis
CLI code fix <file> # Automatic bug fixing
CLI code review <file> # Comprehensive code reviewCLI memory index <path> # Index codebase for AI context
CLI memory query <query> # Query indexed codebase
CLI memory analyze <path> # AI analysis of entire codebase
CLI memory list # View indexed data
CLI memory clear # Clear memory cacheCLI config set <key> <value> # Set configuration
CLI config get <key> # Get configuration value
CLI config list # List all settings
CLI config reset # Reset to defaults# Get instant code review
CLI code review src/main.go
# Find potential bugs
CLI code analyze --fix src/utils.go
# Performance optimization suggestions
CLI memory query "How can I optimize the database queries?"# Index your entire project
CLI memory index .
# Ask questions about your codebase
CLI memory query "What is the main architecture pattern used?"
# Get comprehensive analysis
CLI memory analyze .# Start AI-assisted coding session
CLI chat --stream
# Ask for code examples
CLI chat "Show me how to implement a REST API in Go"
# Debug with AI help
CLI chat "I'm getting a segmentation fault in my C++ code"# Hugging Face API (Recommended)
CLI config set api_key "hf_your_token_here"
CLI config set model "zai-org/GLM-4.5:novita"
CLI config set base_url "https://router.huggingface.co/v1/chat/completions"
# Custom model settings
CLI config set max_tokens 1000
CLI config set temperature 0.7export HF_API_KEY="your_hugging_face_token"
export CLI_MODEL="zai-org/GLM-4.5:novita"| Operation | v1.0.1 | v1.0.3 | Improvement |
|---|---|---|---|
| Startup Time | 2.1s | 1.7s | β‘ 20% faster |
| Memory Usage | 65MB | 55MB | πΎ 15% less |
| File Indexing | 45s | 31s | π 30% faster |
| API Response | 850ms | 640ms | β‘ 25% faster |
CLI/
βββ cmd/ # Command implementations
β βββ chat.go # Interactive AI chat
β βββ code.go # Code analysis & review
β βββ memory.go # Codebase memory system
β βββ config.go # Configuration management
βββ internal/ # Core packages
β βββ api/ # Optimized API client
β βββ memory/ # High-performance indexing
β βββ config/ # Configuration system
βββ pkg/ # Public utilities
β βββ utils/ # Performance utilities
β βββ models/ # Data structures
βββ scripts/ # Build & release scripts
- Go 1.21+
- Git
git clone https://github.com/m99Tanishq/CLI.git
cd CLI
# Build optimized binary
make build
# Build for all platforms
make build-all
# Run tests
make test
# Lint code
make lint# Install development dependencies
make deps
# Run in development mode
make dev
# Full quality check
make check
# Sync local and global CLI binaries
make syncTo ensure that ./CLI (local) and CLI (global) work identically:
# Sync both binaries (recommended after changes)
make sync
# Or use the sync script directly
./scripts/sync-cli.shThis ensures that both commands provide the same functionality:
./CLI- works from the project directoryCLI- works from anywhere (requires global installation)
| Platform | Architecture | Status | Download |
|---|---|---|---|
| Linux | AMD64 | β | CLI-linux-amd64 |
| Linux | ARM64 | β | CLI-linux-arm64 |
| macOS | AMD64 | β | CLI-darwin-amd64 |
| macOS | ARM64 | β | CLI-darwin-arm64 |
| Windows | AMD64 | β | CLI-windows-amd64.exe |
| Windows | ARM64 | β | CLI-windows-arm64.exe |
- Statically linked binaries with no external dependencies
- Secure file permissions (0600) for configuration files
- Input sanitization to prevent injection attacks
- No telemetry or data collection
- Open source for full transparency
We welcome contributions! Please see our Contributing Guide for details.
# Fork and clone
git clone https://github.com/your-username/CLI.git
cd CLI
# Create feature branch
git checkout -b feature/amazing-feature
# Make changes and test
make test
make lint
# Commit and push
git commit -m "feat: add amazing feature"
git push origin feature/amazing-featureThis project is licensed under the MIT License - see the LICENSE file for details.
- Hugging Face for providing the inference API
- Go Community for excellent tooling and libraries
- All Contributors who helped improve this project
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Releases: GitHub Releases
Made with β€οΈ by m99tanq