Documentation
Complete guide to using Xibe Chat. Learn how to get started, configure models, and leverage advanced features.
Installation
Download from GitHub
Visit the Releases page and download the appropriate version for your platform.
Windows
Download .exe or .zip
Android
Download .apk file
Linux
Download .deb or .AppImage
macOS
Download .dmg file
Quick Start
1. Configure API Keys
Navigate to Settings → AI Models and add your API keys:
Open Settings
Click the gear icon in the top right
Add API Keys
Enter keys for OpenAI, Anthropic, Google, etc.
Select Default Model
Choose your preferred model
2. Start Chatting
Click "New Chat" and start your conversation. The app automatically:
- Streams responses in real-time
- Saves conversations locally
- Maintains conversation history
Configuration
API Keys Configuration
Configure API keys for different providers:
Anthropic Claude
Get your API key from console.anthropic.com
Settings → AI Models → Anthropic → Add API KeyAI Models
Xibe Chat supports multiple AI providers. Each model has unique strengths:
GPT-4 Turbo
Best for: Complex reasoning, creative writing, detailed analysis
- • 128K context window
- • Vision capabilities
- • Function calling
Claude 3 Opus
Best for: Long documents, nuanced conversations, coding
- • 200K context window
- • Enhanced safety
- • Code generation
Gemini 1.5 Pro
Best for: Multimodal tasks, large contexts, fast responses
- • 1M+ context window
- • Video understanding
- • Efficient processing
Local Models (Ollama)
Best for: Privacy, offline usage, no API costs
- • 100% private
- • No internet needed
- • Free to use
AI Profiles
Profiles let you customize AI behavior with system prompts. They're completely optional!
Creating a Profile
- 1Navigate to Settings → AI Profiles
- 2Click "Create New Profile"
- 3Give it a name and description
- 4Write your system prompt (how the AI should behave)
Example: Code Assistant Profile
System Prompt:
You are an expert programmer. Provide concise, well-commented code examples. Focus on best practices, clean architecture, and performance. Explain your reasoning when helpful. Privacy & Security
Xibe Chat is designed with privacy as a core principle. Your data stays on your device.
Local-First Architecture
- All conversations stored locally in SQLite database
- No cloud sync or external data collection
- Complete control over your data - export or delete anytime
API Key Security
Your API keys are stored securely on your device:
- • Never transmitted to Xibe Chat servers (we don't have any!)
- • Used only to authenticate directly with AI providers
- • Stored in encrypted local storage
Open Source Transparency
Xibe Chat is 100% open source. You can review the code on GitHub to verify our privacy claims. Read our full Privacy Policy.
Code Execution
Execute code directly in the chat using the E2B sandbox environment.
Supported Languages
Python
JavaScript
Bash
Custom API Providers
Add your own API providers to use custom AI models with your API keys. Xibe Chat supports OpenAI, Anthropic, OpenRouter, and any OpenAI-compatible API.
Built-in Providers
OpenAI
GPT-4, GPT-3.5, and other OpenAI models
https://api.openai.com/v1
Anthropic
Claude 3.5 Sonnet, Haiku, and more
https://api.anthropic.com/v1
OpenRouter
Access to 100+ models from various providers
https://openrouter.ai/api/v1
Groq
Ultra-fast inference for open models
https://api.groq.com/openai/v1
How to Add a Provider
- 1Navigate to Settings → Custom Providers → API Providers
- 2Select a built-in provider or click + to add custom one
- 3Enter your API key for the provider
- 4Click the list icon to add models
- 5Configure model details: name, ID, capabilities
- 6Use your custom model in any chat!
Example: Adding OpenAI GPT-4
1. Edit OpenAI provider and add your API key
API Key: sk-proj-xxxxxxxxxxxxx2. Add a model:
Security Note
API keys are stored locally and encrypted. Never share your API keys with others.
MCP Servers
Model Context Protocol (MCP) servers extend AI capabilities with custom tools and data sources.
Configuration
Configure MCP servers in Settings → MCP Servers
Example configuration:
{
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/dir"]
}
}Building from Source
Prerequisites
- • Flutter SDK (3.0+)
- • Dart SDK
- • Android SDK (for Android builds)
- • Xcode (for macOS/iOS builds)
Build Commands
Android:
flutter build apk --releaseWindows:
flutter build windows --releaseLinux:
flutter build linux --releasemacOS:
flutter build macos --releaseContributing
Contributions are welcome! Here's how to get started:
- 1Fork the repository on GitHub
- 2Create a feature branch:
git checkout -b feature/amazing-feature - 3Make your changes and commit:
git commit -m 'Add amazing feature' - 4Push to your fork and submit a Pull Request
Resources
Need More Help?
Can't find what you're looking for? Check out our GitHub repository or open an issue.