AMVKA 2.0 - Universal AI Assistant with 100+ providers via LangChain. Commands + Conversations in one intelligent tool.
Project description
๐ AMVKA 2.0 - Universal AI Command Assistant
๐ฏ Universal AI Assistant - 100+ Providers, Real-time Intelligence, Zero Configuration Hassle!
AMVKA 2.0 is the next-generation AI-powered command assistant with universal provider support. Powered by LangChain, it works with 100+ AI providers and provides both intelligent command generation and conversational AI responses. Just ask naturally - get commands for system operations or direct answers for knowledge questions!
โก Quick Start
# Install AMVKA 2.0
pip install amvka
# Install your preferred AI provider (choose one or multiple)
pip install langchain-openai # OpenAI GPT-4/3.5
pip install langchain-google-genai # Google Gemini 2.0
pip install langchain-anthropic # Claude 3.5 Sonnet
pip install langchain-groq # Ultra-fast Llama/Mixtral
pip install langchain-cohere # Cohere Command R+
# One-time setup with real-time model discovery
amvka config
# โจ Auto-detects available models from your API
# ๐ Tests connection before saving
# ๐ฏ Shows only working chat models
# Universal AI interface ready!
amvka "who is the president of america" # ๐ค Direct AI answer
amvka "list all python files" # ๐ป System command
amvka "what is machine learning" # ๐ Educational response
amvka "create backup of current folder" # ๐ ๏ธ File operation
โจ Key Features
- ๐ Universal AI Support: 100+ providers via LangChain (OpenAI, Gemini, Claude, Groq, Azure, AWS, Ollama, HuggingFace, Cohere, etc.)
- ๏ฟฝ Real-Time Intelligence: Live model fetching prevents outdated model errors
- ๐ค Dual Response Mode: Commands for system operations + direct answers for knowledge questions
- ๐ฏ Smart Model Filtering: Only shows working chat models (excludes TTS/Whisper/embeddings)
- โก Lightning Fast: Ultra-fast providers like Groq for instant responses
- ๏ฟฝ Production Ready: Connection testing, fallback models, comprehensive error handling
- ๐ก๏ธ Enhanced Safety: Multi-layer validation, timeout protection, dangerous command detection
- ๐ Cross-Platform: Windows (PowerShell), macOS, Linux with environment-specific optimization
๐ Universal AI Provider Support (9 Core + 90+ Extended)
AMVKA 2.0 supports 100+ AI providers through LangChain with real-time model discovery:
๐ฅ Core Providers (Fully Integrated)
| # | Provider | Speed | Models | Installation | API Key |
|---|---|---|---|---|---|
| 1 | OpenAI | Fast | GPT-4o, GPT-3.5 | pip install langchain-openai |
Get Key |
| 2 | Google Gemini | Fast | Gemini 2.0 Flash, 1.5 Pro | pip install langchain-google-genai |
Get Key |
| 3 | Anthropic Claude | Fast | Claude 3.5 Sonnet, Haiku | pip install langchain-anthropic |
Get Key |
| 4 | Groq | โก Ultra-Fast | Llama 3.3, Mixtral, Gemma | pip install langchain-groq |
Get Key |
| 5 | Cohere | Fast | Command R+, Command R | pip install langchain-cohere |
Get Key |
| 6 | Azure OpenAI | Enterprise | GPT-4, GPT-3.5 | pip install langchain-openai |
Setup Guide |
| 7 | AWS Bedrock | Enterprise | Claude, Llama, Titan | pip install langchain-aws |
Setup Guide |
| 8 | Ollama | ๐ Local | Llama, CodeLlama, Mistral | pip install langchain-community |
No API Key (Local) |
| 9 | Hugging Face | Variable | Open Source Models | pip install langchain-huggingface |
Get Key |
โก Real-Time Features
- ๐ Live Model Discovery: Fetches current available models from provider APIs
- ๐ฏ Smart Filtering: Only shows working chat models (excludes TTS/Whisper/embeddings)
- โ Connection Testing: Validates API keys and model access before saving
- ๐ Automatic Fallbacks: Switches to working models if primary model fails
๐ Extended Support (90+ Additional Providers)
Through LangChain ecosystem: Together AI, Replicate, Anyscale, Fireworks AI, Modal, Baseten, Banana, DeepInfra, ForefrontAI, GooseAI, NLP Cloud, Petals, PredictionGuard, PromptLayer, Runhouse, StochasticAI, Writer, and many more!
๏ฟฝ Installation & Setup
๐ฏ Method 1: PyPI Installation (Recommended)
# Install AMVKA 2.0 core
pip install amvka
# Choose and install your preferred AI provider(s)
pip install langchain-openai # For OpenAI GPT models
pip install langchain-google-genai # For Google Gemini 2.0
pip install langchain-anthropic # For Claude models
pip install langchain-groq # For ultra-fast Groq inference
pip install langchain-cohere # For Cohere Command models
# Or install multiple providers at once
pip install langchain-openai langchain-google-genai langchain-groq
๐๏ธ Method 2: Development Installation
# Clone the repository
git clone https://github.com/amvka/amvka.git
cd amvka
# Install in development mode
pip install -e .
# Install provider dependencies
pip install -r requirements.txt
๐ง Method 3: Docker Installation
# Pull and run AMVKA container
docker pull amvka/amvka:latest
docker run -it --rm amvka/amvka:latest
# Or build from source
docker build -t amvka .
docker run -it --rm amvka
โ๏ธ Intelligent Setup Process
AMVKA 2.0 features an intelligent setup with real-time model discovery:
# Start configuration
amvka config
# ๐ฏ Interactive setup process:
# 1๏ธโฃ Choose from 9 AI providers
# 2๏ธโฃ Enter your API key
# 3๏ธโฃ Real-time model fetching from provider API
# 4๏ธโฃ Connection testing with selected model
# 5๏ธโฃ Automatic configuration save
๐ Real-Time Intelligence Features:
- Live Model Discovery: Fetches current models from provider APIs
- Smart Filtering: Shows only working chat models (excludes TTS/Whisper)
- Connection Validation: Tests API key and model before saving
- Fallback Detection: Identifies backup models for reliability
- Provider Comparison: Shows speed, cost, and capability differences
Configuration Commands:
amvka config # Full interactive setup
amvka config --show # Display current configuration
amvka config --reset # Reset and reconfigure
amvka config --test # Test current configuration
๐ฏ Dual-Mode Usage Examples
AMVKA 2.0 intelligently handles both system commands and knowledge questions:
๐ฅ๏ธ System Command Mode
# File operations
amvka "list all python files" # โ Get-ChildItem -Filter *.py
amvka "create backup of current folder" # โ Copy-Item -Recurse . ./backup
amvka "find large files over 100MB" # โ Get-ChildItem -Recurse | Where-Object {$_.Length -gt 100MB}
# System monitoring
amvka "check memory usage" # โ Get-Process | Sort-Object WorkingSet -Desc
amvka "show running processes" # โ Get-Process | Format-Table
amvka "check disk space" # โ Get-WmiObject -Class Win32_LogicalDisk
# Git operations
amvka "commit changes with message 'fix'" # โ git commit -am "fix"
amvka "push to main branch" # โ git push origin main
amvka "show git status" # โ git status --porcelain
# Development tasks
amvka "install numpy package" # โ pip install numpy
amvka "run python script test.py" # โ python test.py
amvka "build docker image" # โ docker build -t app .
๐ฌ Conversational AI Mode
# Knowledge questions (direct AI responses)
amvka "who is the president of america" # ๐ค "Joe Biden is the current President..."
amvka "what is machine learning" # ๐ค "Machine learning is a subset of AI..."
amvka "explain quantum computing" # ๐ค "Quantum computing uses quantum bits..."
amvka "how does blockchain work" # ๐ค "Blockchain is a distributed ledger..."
# Greetings and help
amvka "hello" # ๐ "Hello! I'm AMVKA, your AI assistant..."
amvka "help" # ๐ Shows comprehensive help information
amvka "what can you do" # ๐ Lists capabilities and examples
# Educational content
amvka "difference between python and java" # ๐ Detailed comparison
amvka "best practices for git" # ๐ก Professional development tips
amvka "explain REST APIs" # ๐ Technical explanations
Command Line Options
amvka [OPTIONS] QUERY
Options:
-y, --yes Auto-confirm command execution (skip confirmation)
--dry-run Show suggested command without executing
-v, --version Show version information
--help Show help message
Commands:
config Configure API settings
--reset Reset configuration
--show Show current configuration
๐ง Configuration
API Providers
Amvka supports two AI providers:
Google Gemini (Recommended)
- Visit Google AI Studio
- Sign in with your Google account
- Create a new API key
- Run
amvka configand paste your key
OpenAI
- Visit OpenAI API Keys
- Sign in to your OpenAI account
- Create a new API key
- Run
amvka configand paste your key
Configuration File
Your configuration is stored in ~/.amvka/config.json:
{
"provider": "gemini",
"api_key": "your-api-key-here",
"model": "gemini-pro",
"safety_confirmation": true
}
Managing Configuration
# Show current configuration
amvka config --show
# Reset configuration
amvka config --reset
# Reconfigure
amvka config
๐ก๏ธ Enhanced Safety & Security
AMVKA 2.0 implements multi-layer security with production-grade safety measures:
๐ 1. Provider-Level Security
- Secure API Key Storage: Encrypted local configuration
- Connection Validation: Real-time API key verification
- Model Filtering: Only verified chat models (excludes dangerous tools)
- Rate Limit Handling: Respects provider API limits
๐ก๏ธ 2. Command Safety Validation
# Multi-pattern dangerous command detection
โ Blocked: rm -rf /, sudo rm, dd if=, mkfs., shutdown
โ Blocked: curl | bash, wget | sh, eval $(dangerous)
โ Blocked: chmod 777, chown root, systemctl stop
โ
Safe: ls, cat, grep, find, ps, df, git status
โก 3. Execution Protection
- Timeout Protection: 30-second maximum execution time
- Environment Isolation: No direct root/admin access
- User Confirmation: Interactive approval for all commands
- Dry-Run Mode: Preview commands without execution
- Emergency Cancellation: Ctrl+C support during execution
๐ฏ 4. Intelligent Risk Assessment
# Smart categorization
๐ข SAFE: File listing, information queries, git status
๐ก CAUTION: File modifications, package installation
๐ด DANGEROUS: System changes, network operations, root commands
๐ซ BLOCKED: Destructive operations, security bypasses
๐ 5. Audit & Monitoring
- Command Logging: Optional execution history
- Error Tracking: Detailed failure analysis
- Performance Metrics: Response time monitoring
- Usage Statistics: Provider and model analytics
๐ How AMVKA 2.0 Works
๐ง Intelligent Processing Pipeline
graph LR
A[Natural Language Input] --> B[Query Classification]
B --> C{Command or Conversation?}
C -->|Command| D[LangChain Provider]
C -->|Conversation| E[Direct AI Response]
D --> F[Safety Validation]
F --> G[User Confirmation]
G --> H[Secure Execution]
E --> I[Display Answer]
๐ฏ Step-by-Step Process
- ๐ฃ๏ธ Natural Input: You ask in plain English
- ๐ค AI Classification: Determines if system command or knowledge question
- ๐ Universal Provider: Routes to your configured AI (OpenAI/Gemini/Claude/Groq/etc.)
- ๐ Real-Time Processing:
- Commands: Generates platform-specific shell commands
- Conversations: Provides direct informative responses
- ๐ก๏ธ Safety Validation: Multi-layer security checks
- โ
User Confirmation: Interactive approval (unless
--yesflag) - โก Secure Execution: Sandboxed command execution with timeout
๐ Advanced Features
- ๐ Fallback System: Auto-switches to backup models if primary fails
- ๐ฏ Context Awareness: Remembers environment and previous interactions
- ๐ฑ Cross-Platform: Adapts commands for Windows/macOS/Linux
- โก Performance Optimization: Caching and smart model selection
๐ What Makes AMVKA 2.0 Special
๐ vs. Other AI Assistants
| Feature | AMVKA 2.0 | ChatGPT CLI | Other Tools |
|---|---|---|---|
| Universal Providers | โ 100+ via LangChain | โ OpenAI Only | โ Limited |
| Real-Time Models | โ Live API Fetching | โ Static List | โ Manual |
| Command + Chat | โ Dual Mode | โ Chat Only | โ Commands Only |
| Safety Validation | โ Multi-Layer | โ Basic | โ Minimal |
| Local Support | โ Ollama Integration | โ Cloud Only | โ Limited |
| Production Ready | โ Enterprise Grade | โ Experimental | โ Hobby Projects |
๐ฏ Perfect For
- ๐ฉโ๐ป Developers: Command generation, git operations, deployment tasks
- ๐ง System Admins: Server management, monitoring, automation
- ๐ Data Scientists: File processing, environment setup, analysis tasks
- ๐ Students: Learning commands, understanding concepts, quick help
- ๐ข Enterprises: Standardized tooling, multi-provider flexibility
๐ Development
Building from Source
# Clone the repository
git clone https://github.com/amvka/amvka.git
cd amvka
# Create virtual environment
python3 -m venv venv
source venv/bin/activate
# Install in development mode
pip install -e .
# Install development dependencies
pip install -e .[dev]
Building Debian Package
# Install build dependencies
sudo apt-get install build-essential debhelper dh-python python3-setuptools
# Build the package
dpkg-buildpackage -us -uc
# Install the built package
sudo dpkg -i ../amvka_1.0.0-1_all.deb
Running Tests
# Run tests
python -m pytest tests/
# Run with coverage
python -m pytest --cov=amvka tests/
๐ค Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
Areas for Contribution
- Additional AI provider support
- Enhanced safety checks
- More comprehensive command validation
- Better error handling
- Documentation improvements
๐ System Requirements
๐ฅ๏ธ Platform Support
- Windows: PowerShell 5.1+, CMD, Windows Terminal โ
- macOS: Terminal.app, iTerm2, zsh, bash โ
- Linux: bash, zsh, fish, any terminal โ
๐ Python Requirements
- Python 3.8+ (recommended: 3.9+)
- Internet connection for AI API calls
- Optional: Local AI models via Ollama (offline mode)
๐ฆ Core Dependencies
# Core AMVKA 2.0 (auto-installed)
langchain>=0.1.0 # Universal AI interface
langchain-community>=0.0.10 # Extended provider support
requests>=2.31.0 # HTTP API calls
click>=8.0.0 # CLI framework
colorama>=0.4.0 # Terminal colors
# Provider Dependencies (choose what you need)
langchain-openai # OpenAI GPT models
langchain-google-genai # Google Gemini
langchain-anthropic # Claude models
langchain-groq # Groq ultra-fast inference
langchain-cohere # Cohere Command models
langchain-aws # AWS Bedrock
langchain-huggingface # Open source models
โ ๏ธ Important Disclaimers
Safety Notice
- Always review commands before execution
- Amvka is designed to be safe, but AI can make mistakes
- Never run commands you don't understand
- Be extra cautious with file operations and system commands
API Usage
- You are responsible for your API usage and costs
- Monitor your API usage on your provider's dashboard
- Keep your API keys secure and never share them
Limitations
- Requires internet connection for AI processing
- Subject to AI provider rate limits
- Command suggestions may not always be optimal
- Some complex operations may require manual command crafting
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Support
- ๐ Bug Reports: GitHub Issues
- ๐ก Feature Requests: GitHub Discussions
- ๐ Documentation: GitHub Wiki
๐บ๏ธ Roadmap & Future Vision
โ AMVKA 2.0 (Current - Released)
- โ Universal AI provider support (100+ via LangChain)
- โ Real-time model discovery and validation
- โ Dual-mode: Commands + Conversational AI
- โ Enhanced safety and security measures
- โ Cross-platform support (Windows/macOS/Linux)
- โ Production-grade error handling and fallbacks
๐ AMVKA 2.1 (Q1 2025)
- Plugin System: Custom command extensions
- Command History: Smart suggestions from past usage
- Shell Integration: bash/zsh/PowerShell completion
- Team Collaboration: Shared configurations and commands
- Advanced Context: Project-aware command suggestions
๐ AMVKA 2.5 (Q2 2025)
- GUI Version: Desktop and web interface
- Command Explanation: AI explains what commands do
- Workflow Automation: Multi-step command sequences
- Cloud Sync: Configuration synchronization
- Enterprise Features: SSO, audit logging, governance
๐ฏ AMVKA 3.0 (Q4 2025)
- Local AI Mode: Fully offline operation
- Voice Interface: Speech-to-command
- IDE Integration: VS Code, JetBrains plugins
- Smart Monitoring: Proactive system suggestions
- Multi-Agent System: Specialized AI agents for different domains
๐ฎ Long-term Vision
- Universal DevOps Assistant: Complete infrastructure management
- AI-Powered Documentation: Auto-generated guides and tutorials
- Predictive Operations: AI suggests optimizations and fixes
- Natural Language Programming: Code generation and debugging
- Enterprise AI Platform: Complete organizational AI toolkit
๐ Why Choose AMVKA 2.0?
๐ฏ For Individuals
- โก Lightning Fast: Ultra-fast providers like Groq for instant responses
- ๐ง Smart Learning: Remembers your preferences and context
- ๐ฐ Cost Effective: Choose from free (Ollama) to premium providers
- ๐ Privacy Focused: Local options available, secure key storage
๐ข For Organizations
- ๐ Universal: Works with any AI provider, no vendor lock-in
- ๐ก๏ธ Enterprise Security: Comprehensive safety and audit capabilities
- ๐ Scalable: From single developers to large teams
- ๐ง Customizable: Extensible architecture for specific needs
๐ Community & Support
- ๐ฌ Discord Community: Join our Discord
- ๐ Documentation: Complete Guides
- ๐ Bug Reports: GitHub Issues
- ๐ก Feature Requests: GitHub Discussions
- ๐ง Enterprise Support: enterprise@amvka.ai
๐ Made with โค๏ธ by the AMVKA Team
AMVKA 2.0 - Bridging the gap between human language and computer commands. Making AI accessible, powerful, and safe for everyone.
โญ Star us on GitHub | ๐ Share with friends | ๐ฏ Join the AI revolution
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file amvka-2.0.0.tar.gz.
File metadata
- Download URL: amvka-2.0.0.tar.gz
- Upload date:
- Size: 47.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ba90f2aef4f13a15904f8f566bcb169d3a122fcdfbc4f2105cda3584c6606b3
|
|
| MD5 |
9c3587545a5397b160b67ae440bce4d1
|
|
| BLAKE2b-256 |
61ab53fc291493bd1556e44fa13d1d7fda6df7fa5c2dbe656e56651067e171a9
|
Provenance
The following attestation bundles were made for amvka-2.0.0.tar.gz:
Publisher:
publish.yml on lalitt08/amvka-ai-assistant-terminal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amvka-2.0.0.tar.gz -
Subject digest:
7ba90f2aef4f13a15904f8f566bcb169d3a122fcdfbc4f2105cda3584c6606b3 - Sigstore transparency entry: 567902979
- Sigstore integration time:
-
Permalink:
lalitt08/amvka-ai-assistant-terminal@2cf9a3602700579f7ebd7897a8e9c48a8155eaf2 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/lalitt08
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2cf9a3602700579f7ebd7897a8e9c48a8155eaf2 -
Trigger Event:
push
-
Statement type:
File details
Details for the file amvka-2.0.0-py3-none-any.whl.
File metadata
- Download URL: amvka-2.0.0-py3-none-any.whl
- Upload date:
- Size: 38.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d481cac2c9faba228e7a922d673366756b5eb571431a8627ccb26229acd32f5
|
|
| MD5 |
f035682b121ff852f2e5a4e6fc9e93df
|
|
| BLAKE2b-256 |
1affc5cf89d0c42fdda4d312a63960f4208aece91f36e3ed9c72060966b73646
|
Provenance
The following attestation bundles were made for amvka-2.0.0-py3-none-any.whl:
Publisher:
publish.yml on lalitt08/amvka-ai-assistant-terminal
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
amvka-2.0.0-py3-none-any.whl -
Subject digest:
8d481cac2c9faba228e7a922d673366756b5eb571431a8627ccb26229acd32f5 - Sigstore transparency entry: 567902982
- Sigstore integration time:
-
Permalink:
lalitt08/amvka-ai-assistant-terminal@2cf9a3602700579f7ebd7897a8e9c48a8155eaf2 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/lalitt08
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@2cf9a3602700579f7ebd7897a8e9c48a8155eaf2 -
Trigger Event:
push
-
Statement type: