vrtx
A modern CLI tool for interacting with multiple LLMs using LangChain.
Features
- Unified interface for multiple LLM providers (Google Gemini, OpenAI, Anthropic Claude)
- Clean architecture following SOLID principles
- Conversation history management
- Shell command debugging
- Easy model switching
Installation
pip install vrtx
Gemini works out of the box. OpenAI and Anthropic are optional extras, so their packages are only downloaded if you ask for them:
pip install "vrtx[openai]" # OpenAI models
pip install "vrtx[anthropic]" # Anthropic Claude models
To work on Vertex-CLI itself, install from a clone instead:
git clone https://github.com/prathamhole14/vrtx.git
cd vrtx
pip install -e ".[openai,anthropic]"
Quick Start
# Initialize configuration
vrtx --setup
# Configure a model (provider auto-detected from model name)
vrtx config gemini-3.6-flash YOUR_API_KEY
vrtx config gpt-4 YOUR_OPENAI_KEY
vrtx config claude-opus-5 YOUR_ANTHROPIC_KEY
# Or specify provider explicitly
vrtx config my-model YOUR_KEY --provider google
# Select active model
vrtx select gemini-3.6-flash
# Use it
vrtx "explain quantum computing"
Commands
vrtx "your question" # Ask a question
vrtx chat <text> # Chat mode
vrtx debug # Debug shell commands
vrtx config <model> <api_key> # Configure model (auto-detects provider)
vrtx config <model> <key> --provider <provider> # Specify provider explicitly
vrtx list # List models
vrtx select <model> # Select active model
vrtx remove <model> # Remove model
Supported Providers
- Google Gemini:
googleorgemini— installed by default - OpenAI:
openai— needspip install 'vrtx[openai]' - Anthropic:
anthropicorclaude— needspip install 'vrtx[anthropic]'
Configuration
Models are configured in ~/.config/ai_model_manager/models_config.json
Example configuration:
{
"selected_model": "gemini-flash-latest",
"models": {
"gemini-flash-latest": {
"provider": "google",
"api_key": "your-api-key",
"temperature": 0.7
}
}
}
Documentation
- Architecture - Technical architecture
Requirements
- Python 3.10+
- LangChain and provider packages
Usage
Once installed and configured, you can start chatting or debugging commands:
Chat with the LLM
You can either use the chat subcommand or omit it entirely:
# Explicit subcommand
vrtx chat "Tell me about the solar system"
# Shortcut form (no subcommand)
vrtx "Tell me about the solar system"
Replace the quoted string with any query you'd like.
🔗 Complete CLI Documentation: CLI Commands
Debugging Mode (Beta Feature)
Debugging is currently in beta but can analyze recent shell commands to identify issues.
Debug the Last 3 Commands (default)
vrtx debug
Specify the Number of Commands to Debug
vrtx debug -n 5
Add a Custom Debugging Message
vrtx debug -n 5 -p "Explain why \`git commit\` failed"
Contributing
Contributions are welcome! Follow these steps to contribute:
-
Fork the repository
-
Create a new branch:
git checkout -b feature/your-feature-name
-
Commit your changes:
git commit -m "Add your feature description"
-
Push your branch:
git push origin feature/your-feature-name
-
Open a pull request
🔗 Contributor Guide: How to Contribute
License
This project is licensed under the MIT License. See the LICENSE file for more details.
Support
If you encounter any issues, open an issue on the GitHub repository.
Release files for vrtx 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vrtx-1.1.1.tar.gz | 23.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vrtx-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 39.2 kB
Release files / vrtx-1.1.1.tar.gz
| Download URL | vrtx-1.1.1.tar.gz |
|---|---|
| Size | 23.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f917259cee6414420a62664233a750a92613b9b9628061b9f50b2aad064b2fe6
|
|
BLAKE2b-256 checksum How to use checksums |
377a70d18058e47821f599c379b393ee213539bbd4382ef5ff31712b4c55134e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / vrtx-1.1.1-py3-none-any.whl
| Download URL | vrtx-1.1.1-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0273f1bdef2f0069d22148c4d3db2a85a5bbf259098a28ba8be4bf03f334d24f
|
|
BLAKE2b-256 checksum How to use checksums |
3e5ad3ed65bd6d985c431d62cbfae211eae77050527e805ef1eb4b9bfd615261
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency log