DrGPT Documentation¶
DrGPT is a powerful, cross-platform command-line interface for interacting with multiple AI providers including OpenAI, Anthropic, and Google’s AI services. It offers four specialized modes for different use cases, from simple queries to complex code generation and system administration.
Key Features¶
Multi-Provider Support: OpenAI (GPT-4, GPT-3.5), Anthropic (Claude), Google AI (Gemini)
Four Specialized Modes: Standard, Code, Shell, and Interactive
Rich Output: Beautiful markdown rendering and syntax highlighting
Cross-Platform: Full support for Windows, macOS, and Linux
Configuration Management: Easy provider and model configuration
Interactive Interface: Advanced AI chat with special commands
Quick Start¶
Install DrGPT:
pip install drgpt
Set up your API keys:
export OPENAI_API_KEY="your-key-here"
export ANTHROPIC_API_KEY="your-key-here"
export GOOGLE_API_KEY="your-key-here"
Basic usage:
# Standard AI assistant
drgpt "Explain quantum computing"
# Code generation mode
drgpt --code "Create a Python function to sort a list"
# Shell command mode
drgpt --shell "Find all Python files larger than 1MB"
# Interactive mode
drgpt --interface
Table of Contents¶
Getting Started
Usage Modes
Advanced Features
Development