User Guide¶
This comprehensive user guide covers everything you need to know to use Perspt effectively, from basic conversations to advanced productivity techniques.
User Guide Contents
- Basic Usage
- Advanced Features
- Configuration Profiles and Multi-Provider Setup
- Enhanced Streaming and Real-time Features
- Advanced Conversation Patterns
- Session Persistence
- Multi-Model Conversations
- Plugin System
- Advanced Conversation Patterns
- Automation and Scripting
- Configuration Validation
- Performance Optimization
- Custom Integrations
- Next Steps
- AI Providers
- Troubleshooting
Overview¶
Perspt is a high-performance terminal-based chat application built with Rust that provides a unified interface for interacting with multiple Large Language Model (LLM) providers. Using the modern genai crate (v0.3.5), Perspt offers seamless access to the latest AI models with enhanced streaming capabilities, robust error handling, and intuitive CLI functionality.
Key Features:
Multi-Provider Support: OpenAI, Anthropic, Google, Groq, Cohere, XAI, and Ollama
Latest Models: Support for reasoning models (o1-mini, o1-preview, o3-mini), GPT-4.1, Claude 3.5, Gemini 2.5 Pro
Real-time Streaming: Enhanced streaming with proper reasoning chunk handling
Robust CLI: Working command-line arguments with model validation
Beautiful UI: Responsive terminal interface with markdown rendering
Learn the fundamentals of chatting with AI models, keyboard shortcuts, and everyday usage patterns.
Discover powerful features like input queuing, markdown rendering, and productivity workflows.
Complete guide to all supported AI providers, their models, and specific configuration options.
Solutions to common issues, error messages, and optimization tips.
Quick Reference¶
Essential Keyboard Shortcuts¶
Shortcut |
Action |
---|---|
Enter |
Send message |
Ctrl+C |
Exit application |
↑/↓ Keys |
Scroll chat history |
Page Up/Down |
Fast scroll |
Ctrl+L |
Clear screen |
Common Commands¶
# Start with default settings (gpt-4o-mini)
perspt
# Use specific model with validation
perspt --model gpt-4.1
# Switch provider and model
perspt --provider-type anthropic --model claude-3-5-sonnet-20241022
# List available models for current provider
perspt --list-models
# Use custom configuration file
perspt --config my-config.json
# Override API key from command line
perspt --api-key your-api-key
# Use provider profile from config
perspt --provider work-profile
Typical Workflows¶
Daily Development¶
Code Review: Paste code and ask for feedback
Documentation: Generate or improve documentation
Debugging: Discuss error messages and solutions
Learning: Ask about new technologies or concepts
Research and Writing¶
Information Gathering: Ask questions about topics
Content Creation: Get help with writing and editing
Brainstorming: Generate ideas and explore concepts
Fact Checking: Verify information and get references
Getting the Most from Perspt¶
Best Practices¶
Be Specific: Clear, detailed questions get better answers
Provide Context: Include relevant background information
Iterate: Build on previous responses for deeper understanding
Experiment: Try different models for different types of tasks
Productivity Tips¶
Use Configuration Files: Set up profiles for different use cases
Learn Keyboard Shortcuts: Speed up your workflow
Leverage Streaming: Keep typing while AI responds
Save Important Conversations: Copy valuable responses
What’s Next?¶
Choose your path based on your experience level:
New Users: Start with Basic Usage to learn the fundamentals.
Experienced Users: Jump to Advanced Features for productivity techniques.
Multi-Provider Users: Check out AI Providers for provider-specific tips.
Having Issues?: Visit Troubleshooting for solutions.
See also
Getting Started - Initial setup and first conversation
Configuration Guide - Customizing Perspt for your workflow
Developer Guide - Contributing and extending Perspt