About this project

LastChat is an Android AI assistant application forked from RikkaHub with an overhauled UI and additional features. It aims to deliver a privacy-focused and highly personalized AI chat experience. Key capabilities include: - Multi-Provider Support: Provider presets for quick setup, with support for custom providers. - RAG Memory: A retrieval-augmented generation memory system lets assistants remember details from past conversations using embeddings. - Multi-Modal Inputs: Interact using text, images, video, and audio. - Built-in Engines: Includes a Python engine powered by Workspaces/PRoot-based Linux environments and a JavaScript engine using QuickJS. - Web Search: Integrated web search for fetching real-time information. - MCP: Support for MCP servers. - Assistant Management: Create and switch between unlimited custom personas, organize them with a tagging system, and import/export configurations. - UI: Designed with Material You 3 Expressive, featuring rich Markdown rendering with LaTeX for math, code highlighting, and tables. - Image Generation: Dedicated interface for generating images with supported models. - Text-to-Speech: Supports system TTS or other providers. - Privacy: Chat history and vector memory are stored locally on-device, with WebDAV backup support. The project is built with Kotlin and Jetpack Compose, uses Koin for dependency injection, Room and DataStore for persistence, and WorkManager/AlarmManager for background tasks.