VISAIRE CLI

AIASSISTANTFOR THETERMINAL

Visaire is a non-intrusive lightweight AI assistant for the terminal. Interact with Claude, Gemini, and GPT models directly from your command line.

~ visaire
$ visaire
šŸ¤–šŸ¤– Welcome to Visaire Interactive Mode
🧠 Provider: GEMINI
šŸ’¬ Simple chat mode - Agent functionality disabled
⚔ Persistent session - Use Ctrl+C or /exit to quit
>

GETSTARTED
with
VISAIRE CLION YOUR TERMINAL

npm install -g visaire

Install Visaire CLI globally and start your AI-powered terminal experience

1ļøāƒ£

Install

Run the npm command above to install Visaire CLI globally

2ļøāƒ£

Setup

Run visaire setup to configure your AI providers

3ļøāƒ£

Chat

Start chatting with visaire chat

Powerful Features

Everything you need for productive AI-assisted development

šŸ’¬

Interactive Conversations

Engage in natural, contextual conversations with AI directly in your terminal. Get AI assistance with an interactive conversational experience.

šŸ¤–

Multiple LLM Support

Choose from Claude, Gemini, or GPT models. Switch between providers seamlessly to find the best fit for your specific needs.

šŸš€

User-Friendly CLI

Powerful yet easy to use command-line interface. Interactive setup guides you through configuration in minutes.

⚔

Terminal Native

Built for developers who live in the terminal. Fast, efficient, and integrates perfectly with your existing workflow.

šŸ”§

Easy Configuration

Simple setup process with interactive guidance. Configure your preferred AI provider and API keys effortlessly.

šŸŽÆ

Direct AI Access

Get AI assistance directly in your terminal without switching contexts. Perfect for coding, debugging, and problem-solving.

Quick Start

Get up and running with Visaire CLI in minutes

1Install Visaire CLI

# Install globally via npm
npm install -g visaire

2Setup (Interactive)

# Run interactive setup
visaire setup
This will guide you through:
• Choosing your preferred AI provider
• Configuring API keys
• Setting up default preferences

3Start Your First Conversation

# Interactive chat mode
visaire chat
# Agent mode for autonomous tasks
visaire agent "Create a REST API for user management"
# Quick one-off questions
visaire ask "How do I optimize this SQL query?"

Choose Your AI Provider

Visaire CLI supports multiple AI providers. Switch between them seamlessly or use different providers for different tasks.

🧠

Claude

Anthropic's Claude excels at reasoning, analysis, and safe AI interactions

Key Features

  • āœ“Advanced reasoning
  • āœ“Code analysis
  • āœ“Safety-focused
  • āœ“Long context
PricingPay-per-use
# Setup command
visaire config set claude-key YOUR_KEY
šŸ¤–

GPT

OpenAI's GPT models for versatile conversational AI and code generation

Key Features

  • āœ“Versatile capabilities
  • āœ“Code generation
  • āœ“Creative writing
  • āœ“Problem solving
PricingToken-based
# Setup command
visaire config set openai-key YOUR_KEY
šŸ’Ž

Gemini

Google's Gemini for multimodal AI with strong analytical capabilities

Key Features

  • āœ“Multimodal support
  • āœ“Fast responses
  • āœ“Google integration
  • āœ“Analytical tasks
PricingCompetitive rates
# Setup command
visaire config set gemini-key YOUR_KEY

Switch Providers On-the-Fly

# Start with Claude
visaire chat --provider claude
You: Explain this algorithm
Claude: This algorithm implements...
# Switch to GPT mid-conversation
/provider gpt
You: Now optimize the code
GPT: Here's an optimized version...
# Compare with Gemini
/compare gemini "What's your take on this optimization?"
Gemini: I'd suggest a different approach...

Documentation & Examples

Learn how to use Visaire CLI with real-world examples

Common Use Cases

Interactive Conversation

Start a natural conversation with AI in interactive mode

$ visaire
šŸ¤– Visaire CLI v2.2.2 šŸ’¬ Starting interactive mode... You: How do I optimize this React component? AI: I'd be happy to help optimize your React component! Could you share the component code?

Quick Questions

Ask direct questions without entering interactive mode

$ visaire "Explain the difference between let, const, and var"
🧠 JavaScript Variable Declarations: • let: Block-scoped, can be reassigned • const: Block-scoped, cannot be reassigned • var: Function-scoped, can be reassigned Best practice: Use const by default, let when reassignment needed

Provider Selection

Choose specific AI providers for different tasks

$ visaire --provider claude "Review this code for security issues"
šŸ” Using Claude for code review... āœ… Analyzing code for security vulnerabilities āš ļø Potential SQL injection risk detected šŸ’” Recommendation: Use parameterized queries

Setup & Configuration

Interactive setup process for first-time users

$ visaire setup
šŸš€ Welcome to Visaire CLI Setup! ? Choose your preferred AI provider: Claude ? Enter your Claude API key: [hidden] āœ… Configuration saved successfully! šŸŽ‰ You're ready to start using Visaire!

Command Reference

visaire

Start interactive conversation mode

visaire interactive

Explicitly start interactive mode

visaire setup

Interactive setup and configuration

visaire "question"

Ask a direct question

visaire --provider claude

Use specific AI provider

visaire config show

Show current configuration

visaire config set

Update configuration settings

visaire --help

Show all available commands