
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Minimal Multimodal AI Chat App with Dynamic Routing
VT.ai is a multimodal AI chat application designed to simplify interaction with different AI models through a unified interface. It employs vector-based semantic routing to direct queries to the most suitable model, eliminating the need to switch between multiple applications and interfaces.
Full documentation available here
<think>
tag for transparent AI decision processesMultiple installation methods are available depending on requirements:
# Standard PyPI installation
uv pip install vtai
# Zero-installation experience with uvx
export OPENAI_API_KEY='your-key-here'
uvx vtai
# Development installation
git clone https://github.com/vinhnx/VT.ai.git
cd VT.ai
uv venv
source .venv/bin/activate # Linux/Mac
uv pip install -e ".[dev]" # Install with development dependencies
Configure API keys to enable specific model capabilities:
# Command-line configuration
vtai --api-key openai=sk-your-key-here
# Environment variable configuration
export OPENAI_API_KEY='sk-your-key-here' # For OpenAI models
export ANTHROPIC_API_KEY='sk-ant-your-key-here' # For Claude models
export GEMINI_API_KEY='your-key-here' # For Gemini models
API keys are securely stored in ~/.config/vtai/.env
for future use.
from vtai.app import run_app
# Basic usage with default settings
run_app()
# Advanced configuration
run_app(
models=["gpt-4o", "claude-3-5-sonnet"],
enable_web_search=True,
enable_voice=True,
enable_thinking=True
)
The application provides a clean, intuitive interface with the following capabilities:
<think>
to prompts to observe step-by-step reasoningDetailed usage instructions are available in the Getting Started Guide.
The documentation is organized into sections designed for different user needs:
VT.ai offers two distinct implementations:
The implementation documentation provides a detailed comparison of both options.
Category | Models |
---|---|
Chat | GPT-o1, GPT-o3 Mini, GPT-4o, Claude 3.5/3.7, Gemini 2.0/2.5 |
Vision | GPT-4o, Gemini 1.5 Pro/Flash, Claude 3, Llama3.2 Vision |
Image Gen | GPT-Image-1 with custom parameters |
TTS | GPT-4o mini TTS, TTS-1, TTS-1-HD |
Local | Llama3, Mistral, DeepSeek R1 (1.5B to 70B via Ollama) |
The Models Documentation provides detailed information about model-specific capabilities and configuration options.
VT.ai leverages several open-source projects to deliver its functionality:
The application architecture follows a clean, modular design:
vtai/app.py
- Main application logicvtai/router/
- Semantic classification systemvtai/assistants/
- Specialized handlers for different query typesvtai/tools/
- Web search, file operations, and other integrationsContributions to VT.ai are welcome. The project accepts various types of contributions:
Development setup:
# Clone the repository
git clone https://github.com/vinhnx/VT.ai.git
cd VT.ai
# Set up development environment
uv venv
source .venv/bin/activate # Linux/Mac
uv pip install -e ".[dev]"
# Run tests
pytest
Quality is maintained through comprehensive testing:
# Run the test suite
pytest
# Run with coverage reporting
pytest --cov=vtai
# Run specific test categories
pytest tests/unit/
pytest tests/integration/
VT.ai is available under the MIT License - See LICENSE for details.
Contact @vinhnx on GitHub with questions or feedback about VT.ai.
FAQs
VT.ai - Minimal multimodal AI chat app with dynamic conversation routing
We found that vtai demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.