Configuration Guide
Configure NikCLI to match your development workflow with comprehensive settings for API keys, agent behavior, security, and performance.🔑 API Keys Setup
Supported AI Providers
NikCLI supports multiple AI providers for maximum flexibility:Anthropic Claude
Recommended - Best for complex reasoning and code generation
OpenAI GPT
Popular - Excellent for general tasks and creativity
Google Gemini
Efficient - Great for analysis and optimization
Ollama Local
Private - Run models locally for complete privacy
Setting API Keys
Environment Variables
You can also set API keys via environment variables:Verify Configuration
⚙️ Agent Configuration
Universal Agent Settings
Configure the Universal Agent for optimal performance:VM Agent Settings
Configure the VM Agent for secure development:🎛️ System Preferences
Model Selection
Creativity Settings
Session Management
🔒 Security Configuration
Approval System
Configure the approval system for sensitive operations:Sandbox Settings
Developer Mode
📊 Performance Settings
Caching Configuration
Memory Management
Parallel Execution
🎨 UI Customization
Display Settings
Color Themes
🔧 Advanced Configuration
LSP Integration
Context Management
Logging Configuration
📁 Configuration Files
Main Configuration
NikCLI stores configuration in~/.nikcli/config.json:
Environment Variables
Set these environment variables for advanced configuration:🔍 Configuration Validation
Check Configuration
Troubleshooting
API Key Issues
API Key Issues
Problem: API keys not workingSolutions:
Permission Errors
Permission Errors
Problem: Permission denied errorsSolutions:
Performance Issues
Performance Issues
Problem: Slow performanceSolutions:
🎯 Best Practices
1. Start with Defaults
Begin with default configuration and adjust as needed:2. Use Environment Variables
For team projects, use environment variables:3. Regular Configuration Review
Periodically review and optimize configuration:🚀 Next Steps
Agent System
Learn about cognitive orchestration
Command Reference
Master all commands
Advanced Features
Explore advanced capabilities
Troubleshooting
Solve common problems