Your brilliant AI companion for desktop and mobile!
A modern, native application that brings powerful AI conversations to your desktop, phone, and tablet with seamless MCP integration.
Luna AI is your intelligent companion that combines the power of modern AI with the beauty of native integration. Available on desktop and mobile, Luna brings you:
- 🤖 Smart Conversations - Real-time streaming responses that feel natural and engaging
- 📱 Mobile & Desktop - Use Luna on your phone, tablet, or desktop - all in sync
- 🔧 MCP Superpowers - Connect to tools and services through Model Context Protocol
- 🎨 Beautiful Interface - Native design that feels right at home
- 💾 Memory Management - Save, organize, and revisit your conversations
- 🔌 Flexible Backends - Support for multiple AI providers and local models
- Real-time Chat: Watch responses stream in with smooth, non-blocking UI
- Cross-Platform: Desktop and mobile apps that sync seamlessly
- Voice Mode: Speech recognition and text-to-speech for hands-free conversations
- Conversation History: Never lose a brilliant idea - save and search all your chats
- MCP Integration: Connect to external tools, APIs, and services
- File Attachments: Share documents and images directly in conversations
- Keyboard Shortcuts: Navigate like a pro with efficient keyboard controls (desktop)
Luna's MCP integration opens up a world of possibilities:
- File Operations: Read, write, and manage files directly from conversations
- Web Search: Fetch real-time information from the internet
- Email Management: Send, receive, and organize emails
- Task Management: Integrate with your todo lists and productivity tools
- Custom Tools: Extend Luna's capabilities with your own MCP servers
# Ask Luna to help with programming
"Write a Rust function that sorts a vector of integers"
# Get real-time information
"What's the current weather in Warsaw?"
# File management
"Read the contents of my project's README file"
# Email tasks
"Send an email to my team about the project update"
# Web research
"Find the latest news about AI developments"
# Task management
"Add 'fix the bug in login module' to my todo list"Luna AI supports multiple AI providers, giving you flexibility and choice:
- OpenAI - GPT-4, GPT-3.5, and other OpenAI models
- Anthropic - Claude models with advanced reasoning
- Google - Gemini models and Google AI services
- Azure OpenAI - Enterprise-grade OpenAI deployments
- Ollama - Run local models like Llama, Mistral, and more
- Custom endpoints - Connect to any OpenAI-compatible API
Easily switch between backends in the settings or configure multiple providers for different use cases. See the Configuration Guide for detailed setup instructions.
git clone https://github.com/digit1024/LunaAI.git
cd LunaAI
cargo buildcargo runRun Luna in server mode to access it from mobile devices and other clients:
cargo run -- --serverThe mobile app is available in the mobile_app/ directory. Built with Flutter, it connects to the desktop server via WebSocket.
See the Mobile App README for installation instructions.
Luna AI is built with modern technologies:
- Desktop: Rust with COSMIC desktop framework for native integration
- Mobile: Flutter for cross-platform mobile support (Android, iOS)
- Server Mode: HTTP/WebSocket server for multi-device access
- tokio: Async runtime for smooth performance
- MCP Protocol: Tool calling and external service integration
- Real-time Streaming: Live response updates across all platforms
Beautiful conversations on the COSMIC desktop
Manage and revisit your conversation history
Configure your AI backends and preferences
Powerful MCP tool integration and configuration
We welcome contributions! Whether it's bug reports, feature requests, or code contributions, feel free to:
- Open an issue
- Submit a pull request
- Join the discussion
MIT License - Feel free to use, modify, and distribute!
Ready to experience intelligent desktop computing?
Clone the repo and start chatting with Luna today! 🚀


