Your AI Development Assistant - A modular CLI that connects your code with ChatGPT, Claude, and Gemini for enhanced development workflow.
- π§ Multi-LLM Support: ChatGPT, Claude, and Gemini integration
- π Smart Project Detection: Automatically detects your project type and context
- π¬ Interactive Mode: Real-time streaming conversations with AI
- π§ Modular Architecture: Clean, maintainable codebase with specialized modules
- π Cross-Platform: Works on macOS, Linux, and Windows
- β‘ Context Generation: Automatically includes relevant project files
- π― 31+ AI Models: Support for latest models from all providers including open-source
# Install globally to use 'coder' command everywhere
npm install -g asis-coderAfter installation, you can use the coder command from anywhere:
coder setup # Initial configuration
coder -i # Interactive mode
coder "explain this project" # Direct queryFull automatic installation. The coder command will be available globally.
Requires one of these environments:
- Git Bash (included with Git for Windows) - β Recommended
- WSL (Windows Subsystem for Linux)
- PowerShell with bash available
-
Install globally:
npm install -g asis-coder
-
Initial Setup:
coder setup # Configure your API keys -
Generate Project Context:
coder -context # Analyze your project -
Ask Questions:
coder "explain this project structure" coder "how can I optimize this code?"
-
Interactive Mode:
coder -i # Start interactive session
- GPT-4o, GPT-4o-mini
- GPT-4 Turbo, GPT-4
- GPT-3.5 Turbo variants
- NEW: gpt-oss-20b (Open Source, 21B parameters)
- And more...
- Claude 3.5 Sonnet
- Claude 3 Opus, Sonnet, Haiku
- Claude 2.1, 2.0
- Claude Instant variants
- Gemini 1.5 Pro, Flash
- Gemini 1.0 Pro variants
- Gemini Pro Vision
- And more...
# Configuration
coder setup # Initial setup wizard
coder -token # Update API tokens
coder -model # Change AI model
coder -llm # Switch LLM provider
# Project Analysis
coder -context # Generate project context
coder -project # Detect project type
# Interaction
coder "your question" # Direct query
coder -i # Interactive mode
coder -history # View conversation history
# Utilities
coder -test # Test API configuration
coder -clean # Clear conversation history
coder -help # Show helpcoder "What's the best way to optimize this React component?"coder -context
coder "Analyze the architecture of this project and suggest improvements"coder -i
# Start a conversation about your code
# Get real-time suggestions and explanationscoder -model # Choose from 30+ available models
coder -llm # Switch between ChatGPT, Claude, GeminiAsis-coder features a modular architecture with specialized components:
lib/config.sh: System configuration and environment setuplib/api_validation.sh: API key validation and testinglib/llm_models.sh: LLM provider and model managementlib/project_manager.sh: Project detection and context generationlib/ui_interface.sh: User interface and guided configurationlib/llm_communication.sh: AI communication and streaming
Automatically detects and optimizes for:
- Web: React, Vue, Angular, HTML/CSS/JS
- Backend: Node.js, Python, PHP, Ruby
- Mobile: React Native, Flutter
- Desktop: Electron, .NET
- Data: Jupyter, R, MATLAB
- DevOps: Docker, Kubernetes, CI/CD
- And many more...
The setup wizard will guide you through configuring:
- OpenAI API Key (for ChatGPT)
- Anthropic API Key (for Claude)
- Google AI API Key (for Gemini)
You can also set environment variables:
export OPENAI_API_KEY="your-key"
export ANTHROPIC_API_KEY="your-key"
export GOOGLE_AI_API_KEY="your-key"We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with β€οΈ for developers who want to enhance their coding workflow with AI assistance.
Made with π€ AI assistance - Asis-coder is itself built using AI-powered development! git chec