
HacxGPT-CLI
Open-source CLI for unrestricted AI - Access powerful models without censorship
GitHub Β· Website Β· Telegram Β· Contact
NEW IN V2.1.1
- Conversation Persistence: Save, load, and list your neural sessions with
/save,/load, and/sessions. - Machine-Bound Key Encryption: Your API keys are now encrypted using a machine-specific hardware ID. Keys are locked to your device for pro-level security.
- Config Relocation: Configuration is now stored in the user home directory (
~/.hacx) to persist across updates and prevent accidental deletion. - Custom Local API Engine: Replaced
litellmandopenaiwith a standalone, high-performanceapi.pyengine. ZERO external API SDK dependencies for maximum speed and control. - Reasoning Support: Optimized rendering for
<think>tags (CoT) with a dedicated reasoning panel. - Auto-Update System: Built-in update engine! Use
/updatein chat or run the new update scripts.
π Showcase
Here is a glimpse of HacxGPT-CLI in action:

π Table of Contents
- About The Project
- Features
- Supported Providers & Models
- Getting Started
- Updating HacxGPT
- Configuration
- Usage
- Roadmap
- Star History
- Contributing
- License
π About The Project
HacxGPT-CLI is designed to provide powerful, unrestricted, and seamless AI-driven conversations, pushing the boundaries of what is possible with natural language processing and code generation.
π What is HacxGPT-CLI?
This repository is an open-source command-line interface that makes powerful AI models accessible without heavy censorship. It provides a clean, professional way to interact with multiple AI providers through a custom-built local API engine.
What HacxGPT-CLI Provides:
- β Open-source CLI tool for interacting with AI models
- β
Custom Local API Engine - Zero dependency on third-party SDKs like
openaiorlitellm - β Access to multiple providers - OpenRouter, Groq, and HacxGPT API
- β Advanced jailbreak prompts that reduce model censorship
- β Multi-provider support with easy switching between services
- β Cross-platform compatibility - Linux, Windows, macOS, Termux
- β Local API key storage - your keys never leave your machine
- β Free to use - just bring your own API keys from providers
What This Repository Is:
- This is a wrapper/interface framework that connects to AI providers
- Uses third-party APIs (OpenRouter, Groq) with enhanced prompting
- Completely open source and auditable - check the code yourself
- Your API keys are stored locally on your machine only
- All requests go directly to your chosen provider, not through our servers
What This Repository Is NOT:
- β This code itself is not a custom AI model
- β Not a paid service - completely free and open source
- β Does not collect or store your data
- β Does not require payment to use the CLI tool
π HacxGPT Production Models
In addition to this free CLI tool, we also offer custom-trained production models running on dedicated infrastructure, accessible via API subscription.
Our Production Offering:
| Feature | This Free CLI Tool | HacxGPT Production API |
|---|---|---|
| Technology | Interface to public APIs with jailbreak prompts | Custom-trained models optimized for coding |
| Context | Varies by provider (4k-128k) | Extended context optimized for large codebases |
| Approach | Jailbreak prompts on existing models | Built uncensored from the ground up |
| Performance | Depends on provider | Optimized for coding tasks |
| Infrastructure | You connect to public APIs | Dedicated GPU infrastructure |
| Cost | Free (BYO API keys) | Paid subscription |
| Support | Community via GitHub/Telegram | Priority support |
| Best For | Experimentation, learning, general use | Production coding workflows, large projects |
About HacxGPT Production Models:
- β¨ Custom-trained for coding and technical tasks
- π Extended context capabilities for handling large codebases
- π Built uncensored - no jailbreak prompts needed
- β‘ Dedicated infrastructure - consistent performance
- π― Code-optimized - better understanding of complex technical concepts
Access Production Models:
- π Visit hacxgpt.com to learn more
- π¬ Join Telegram for API access and pricing
- π§ Contact [email protected] for enterprise
β‘ Features
This Open-Source CLI Provides:
- Powerful AI Conversations: Get intelligent and context-aware answers to your queries
- Extensive Model Support: Access to HacxGPT production models, Groq models, and OpenRouter's library of open-source models
- Unrestricted Framework: System prompts engineered to reduce conventional AI limitations
- Easy-to-Use CLI: Clean and simple command-line interface for smooth interaction
- Cross-Platform: Tested and working on Kali Linux, Ubuntu, Windows, macOS, and Termux
- Multi-Provider Support: Seamlessly switch between different AI providers
- Configuration Management: Built-in commands for managing API keys and model selection
- Local Storage: All configuration and API keys stored securely on your machine
π Supported Providers & Models
HacxGPT-CLI provides a versatile interface for a wide range of models through multiple providers.
| Provider | Key Models Supported | Best For |
|---|---|---|
| HacxGPT | hacxgpt-lightning |
Production coding, Truely uncensored |
| Groq | kimi-k2-instruct-0905, qwen3-32b |
|
| OpenRouter | mimo-v2-flash, devstral-2512, glm-4.5-air, kimi-k2, deepseek-r1t-chimera |
[!TIP] Start Free: OpenRouter and Groq offer generous free tiers that let you try HacxGPT-CLI without any cost. Perfect for getting started and experimenting with different models, And For Advanced Models try our our models see at hacxgpt.com
Popular Models to Try:
For Coding:
hacxgpt-lightning(HacxGPT) - Our custom model optimized for codemimo-v2-flash(OpenRouter) - another great model for coding.kimi-k2-instruct-0905(Groq) - great for coding.devstral-2512(OpenRouter) - Lastest coding model from Mistral AI
For Reasoning:
hacxgpt-lightning(HacxGPT) - Our custom model optimized for codedeepseek-r1t-chimera(OpenRouter) - Advanced reasoning capabilities
Best Fits
-
hacxgpt-lightning(HacxGPT) - Our model optimized for code and problem solving.
π Getting Started
Follow these steps to get HacxGPT-CLI running on your system.
π Prerequisites: API Key
To use this framework, you must obtain an API key from at least one supported provider. All providers offer free tiers perfect for getting started.
Option 1: OpenRouter (Recommended for Beginners)
- Visit openrouter.ai/keys
- Sign up for a free account
- Generate your API key
- Access to many powerful free models included
Option 2: Groq (Great for Fast Responses)
- Visit console.groq.com/keys
- Create a free account
- Generate your API key
- Very generous free tier with fast inference
Option 3: HacxGPT API (Our Production Models)
- Visit hacxgpt.com to learn about our custom models
- Join Telegram for API access and pricing
- Get access to extended context and production-grade models
βοΈ Installation
We provide simple, one-command installation scripts for your convenience.
Windows
- Open PowerShell as Administrator.
- Run the following command:
powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/HacxGPT-Official/HacxGPT-CLI/main/scripts/install.ps1 | iex"This will download the installer, set up a virtual environment, and install all dependencies automatically.
Linux / macOS / Termux
- Open your terminal
- Run the following command:
bash <(curl -s https://raw.githubusercontent.com/HacxGPT-Official/HacxGPT-CLI/main/scripts/install.sh)This will download the installer, make it executable, and run it for you.
Manual Installation (Click to expand)
If you prefer to install manually, follow these steps:
-
Clone the repository:
git clone https://github.com/HacxGPT-Official/HacxGPT-CLI.git -
Navigate to the directory:
cd HacxGPT-CLI -
Install Python dependencies:
pip install -e . -
Run the application:
hacxgpt # OR python -m hacxgpt.main
π Updating HacxGPT
Keep your system synchronized with the latest features and patches.
Option A: In-Chat (Easiest)
Simply type /update while in a chat session. The tool will check for updates, pull the latest code, and restart automatically.
Option B: Using Scripts
- All Platforms: Run
python scripts/update.py(orpython3on Linux/macOS)- This script automatically downloads the latest archive from GitHub, synchronizes your local files, and updates dependencies.
Option C: Main Menu
Select option [4] System Update from the main menu.
π§ Configuration
HacxGPT-CLI uses a centralized providers.json file for managing API endpoints and models. You can easily switch between providers and models using built-in commands or through the setup menu.
Initial Setup
-
Launch the tool:
hacxgpt # OR python -m hacxgpt.main -
Select Option [2] to Configure Security Keys
-
Choose your provider and select your preferred model from the interactive list
-
Enter your API key when prompted - it will be stored locally on your machine
In-Chat Commands
While in chat, use these commands to dynamically manage your configuration:
| Command | Description | Example |
|---|---|---|
/save <name> |
Save current session history | /save session1 |
/load <name> |
Load a saved session | /load session1 |
/sessions |
List all saved sessions | /sessions |
/setup |
Re-configure API keys and default models | /setup |
/provider <name> |
Switch between configured providers | /provider openrouter |
/model <name> |
Switch the active model | /model llama-3.3-70b |
/models |
List all available models for current provider | /models |
/status |
Show current configuration | /status |
/help |
Display all available commands | /help |
/new |
Wipe memory and start a new session | /new |
/exit |
Exit the application | /exit |
π Usage
Run the application directly:
hacxgpt
# OR
python -m hacxgpt.main
The first time you run it, you will be prompted to enter your API key. It will be saved locally for future sessions.
Tips for Best Results
-
Start with free providers - Use OpenRouter or Groq to try the tool without cost
-
Switch models - Use
/modelsto see available options and/modelto switch -
Check your config - Use
/statusto verify your current setup -
Try different providers - Each has strengths; experiment to find what works best
-
For production work - Consider HacxGPT API at hacxgpt.com for Best performance.
πΊοΈ Roadmap
We are constantly evolving HacxGPT-CLI. Here are some of the technical milestones we are currently targeting:
- [ ] Advanced Reasoning Support: Deep-think/reasoning capabilities for complex problem-solving
- [x] Conversation Management: Save, load, and resume conversations
- [ ] Agentic Capabilities: Autonomous tool use and multi-step execution chains
- [ ] Web Search Integration: Real-time data retrieval for up-to-date context
- [ ] Advanced File Analysis: Native support for processing large datasets and documents
- [ ] IDE Integrations: Plugins for VS Code, IntelliJ, and other popular editors
- [ ] Multi-Modal Support: Image and document analysis capabilities
- [ ] Custom Prompt Templates: User-defined system prompts for specific tasks
- [ ] Provider Auto-Switching: Automatically switch providers based on task type
β Star History
π€ Contributing
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
How to Contribute
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Areas We Need Help With
- π Bug fixes and testing - Help us catch and fix issues
- π Documentation improvements - Make our docs clearer and more comprehensive
- π¨ UI/UX enhancements - Improve the CLI user experience
- π New AI providers - Add support for additional AI services
- π Translations - Help make HacxGPT-CLI accessible worldwide
- π‘ Feature implementations - Build new capabilities
- π§ͺ Testing coverage - Add tests to improve reliability
Code of Conduct
We are committed to providing a welcoming and inclusive environment. Please:
- Be respectful and constructive in discussions
- Focus on the code and ideas, not individuals
- Help newcomers learn and contribute
- Report issues through proper channels
βοΈ License
Distributed under the Personal-Use Only License (PUOL) 1.0. See LICENSE for more information.
Key Points:
- β Free for personal use
- β Open source for learning and contribution
- β Can be forked and modified for personal projects
- β οΈ Commercial use requires separate licensing
π Important Links
HacxGPT Resources:
- π Website: hacxgpt.com - Learn about our production models
- π¬ Telegram Community: t.me/HacxGPT - Community support and announcements
- π§ Email: [email protected] - Direct contact
- π GitHub Organization: @HacxGPT-Official
Project Resources:
- π Repository: HacxGPT-CLI
- π Issue Tracker: Report bugs
π Support
Need help? Have questions?
Community Support:
- π¬ Telegram: Join our community for help and discussions
- π Bug Reports: Open an issue on GitHub
Production Support:
- π For HacxGPT API support: Visit hacxgpt.com
- π§ For business inquiries: Email [email protected]
β οΈ Disclaimer
This tool is designed for educational and research purposes. Users are responsible for ensuring their use complies with applicable laws and the terms of service of any third-party APIs they access.
Important Notes:
- β οΈ OpenRouter Free Tier: Free models on OpenRouter often go offline or change. If a model is unavailable, try another one.
- β οΈ API Usage: When using third-party providers (OpenRouter, Groq), you are subject to their terms of service and privacy policies
- β οΈ Data Privacy: Your prompts are sent to the provider you choose - not to us
- β οΈ API Keys: Store your API keys securely and never share them
- β οΈ Jailbreak Prompts: System prompts that reduce censorship may violate some providers' terms of service
- β οΈ Responsibility: You are responsible for how you use this tool
The developers of HacxGPT-CLI:
- Do NOT collect or store your API keys or prompts
- Are NOT responsible for misuse of this software
- Do NOT guarantee the tool will work with all providers indefinitely
- Encourage responsible and legal use of AI technology
π Acknowledgments
This project stands on the shoulders of giants. We thank:
- OpenRouter for providing access to a wide variety of AI models
- Groq for fast inference and generous free tier
- The open-source community for tools, libraries, and inspiration
- All contributors who have helped improve this project
- Our users for feedback, bug reports, and support
Built with β€οΈ by the HacxGPT team
β Star this repo β’ π Report bug β’ π‘ Request feature
Want production-grade uncensored AI? Visit hacxgpt.com