Python 引擎依赖 Workspaces/PRoot 的 Linux 环境,需额外准备;RAG 记忆需要 embedding 模型,README 未说明来源;项目由 AI agents 修改,可能与上游 RikkaHub 行为不一致
LastChat
CocolalilalAGPL-3.0活跃维护一款 Android 端 AI 聊天客户端,基于 Rikkahub 重做界面并增强功能,支持自带 API Key 接入大模型,适合角色扮演和日常对话。
A Fork of Rikkahub with an overhauled UI and feature additions
README 未提供安装或构建命令README 未说明;这是 Android 应用,未提及显存、CPU 或 GPU 型号要求
Android 上的隐私优先 AI 助手,RikkaHub 的分支,重做了界面并加了新功能
一款 Android 端 AI 聊天客户端,基于 Rikkahub 重做界面并增强功能,支持自带 API Key 接入大模型,适合角色扮演和日常对话。
核心能力
- 支持多家服务商预设与自定义 Provider 接入
- 用 embedding 做 RAG 记忆,让助手记住历史对话
- 内置 QuickJS 的 JavaScript 引擎和 PRoot 的 Python 环境
- 支持文本、图片、视频、音频多模态输入与联网搜索
- 聊天记录和向量记忆本地存储,可备份到 WebDAV
容易踩的坑
- 1.4.8LastChat 1.4.8最新正式版2026-09-30 · 2026-09-30 19:52 UTC
- Fixed BYOK auth after the 1.4.7 key-pool change (empty Bearer / authentication errors)
- Fixed null crashes on fork/export and wipe deleted TTS secrets
- Added workspace environment backup/restore and manager
- Added image viewing capabilities to the workspace file inspect tool and web search for the characters
- Tweaks to some chat UI elements
- 1.4.7LastChat 1.4.72026-09-22 · 2026-09-22 18:10 UTC
查看更新说明
- Added the ability to use multiple api keys on one llm provider
- Added indications to the local model import process
- Fixed the Keyless search provider
- Fixes for stuff that could have triggered crashes
- Removed GitHub Models from the LastChat catalog
- 1.4.6LastChat 1.4.62026-09-19 · 2026-09-19 21:18 UTC
查看更新说明
Make sure to backup before updating!!
After a long wait, here's LastChat 1.4.6! This version has a lot of changes, so some of them may not be fully polished yet. Just keep that in mind.
Additions:
- Support for local LLM and embedding models through LiteRT-LM
- Support for various local speech-to-text models through sherpa-onnx
- Deeper Android integration by allowing you to choose LastChat as the system assistant
- UI to quickly check the currently selected model's context size and context usage
- A smarter context management system that will probably replace the old per-character context management settings in the future
- OAuth MCP server support
- Added token capacities and custom reasoning modes to the LastChat catalog
- Queued / gapless TTS playback for longer replies
Improvements:
- Character card import/parsing is more robust
- Binary / huge files aren’t shoved into the prompt anymore (you’ll get pointed toward a workspace instead)
- General improvements to ui consistency and other stuff
- A lot of other things I forgot
- 1.4.5LastChat 1.4.52026-07-02 · 2026-07-02 17:24 UTC
查看更新说明
- Workspaces have been added to the tablet mode settings
- The update process has been reworked to be more seamless and also work in tablet mode
- Decreased possibility of stutters when scrolling in a chat
- Added fallback RSS mode to the Bing search provider
- Added workspace support for ARMv7 devices
- Fixed an issue where provider presets would autonomously get added to the user's provider list
- Some small fixes to the memory system
The new update popup is inspired by the Nuvio update process
- 1.4.4LastChat 1.4.42026-06-30 · 2026-06-30 15:58 UTC
查看更新说明
Make sure to back up before updating! This release changes the local workspace architecture, contains a database schema migration, and replaces sandbox file handlers, it's recommended that you backup your data before updating.
Visible changes:
- The Chaquopy Python sandbox got fully replaced with Workspaces/PRoot-based Linux environments
- Added support for OpenAI-compatible speech-to-text models
- Added some new providers to the catalog
- Lorebooks can now be toggled per-chat too
- The activity timeline got redesigned to better match the rest of the UI
- The activity pill in the webUI got refined to look more like the in-app counterpart
- Provider and model icons in the webUI should now better match their in-app counterparts
- Added a fullscreen mode to the message input field when there's a lot of text
- The main settings screen got simplified
- Other small refinements
Hidden changes:
- Replaced standard Java I/O streams with platform-agnostic okio buffers, sources, and sinks across file compressor routines, database backups, media encoders, web uploads, and attachments
- Removed Java concurrency utils (such as ConcurrentHashMap and thread locks) in favor of portable Kotlin Atomic references and Mutex locks for throttling, provider balances, and file storage mappings
- Introduced PlatformHttpClient and platform JWT signers to facilitate portable network handling outside of Android-specific library contexts
- Replaced java.time.Duration references with Kotlin's native Duration class for timeout parameters and scheduled task definitions
- Extracted system logging (PlatformLog), haptics (PlatformHaptics), syntax highlighting labels, and media encoding logic to remove direct dependencies on the JVM
- Added boundaries on database fetches and DAO actions to prevent freezes and memory exhaustion
- Capped the number of assistant memory entities retrieved during RAG fetches (limited to 50 for empty/simple queries, and coerced at a maximum database limit of 100 to 200)
- Swapped in-memory filtering with database-level constraints (getMemoryEntitiesOfAssistantLimited directly in Room) to avoid loading massive history payloads into JVM heap memory. This should prevent app stuttering and freezes during long conversations
- Simplified the internal Android cache stores (PerKeyFileCacheStore and SingleFileCacheStore) by replacing heavy Java ReentrantLock structures with lightweight Kotlin/JVM monitor locks
- Optimized prompt formatting to maximize caching
Other stuff I'd like to mention:
- The APK size is less than half of what it was before because the Python sandbox isn't bundled with the app anymore
Found an issue after release: The workspace feature and update banner aren't currently supported in tablet mode. I will release an update with these fixes as soon as possible!
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。
LastChat
LastChat is a feature-rich AI assistant application for Android. It is a fork of RikkaHub, modified using AI agents
This project aims to provide a privacy-focused and highly personalized AI chat experience on Android
Gallery
✨ Key Features
Advanced AI Capabilities
- Multi-Provider Support: Provider presets make it easier to get up and running. There's support for custom providers too!
- RAG Memory: Features a RAG-based memory system. Assistants can "remember" details from past conversations using embeddings.
- Multi-Modal Inputs: Interact using Text, Images, Video, and Audio.
Tools & Integrations
- Python: Built-in Python Engine, powered by Workspaces/PRoot-based Linux environments.
- JavaScript: Built-in JavaScript Engine (QuickJS)
- Web Search: Integrated web search capabilities to fetch real-time information.
- MCP: Support for MCP servers.
Assistant Management
- Multiple Personas: Create, manage, and switch between unlimited custom assistants.
- Tagging System: Organize assistants with custom tags.
- Import/Export: Easily share or backup your assistant configurations.
Modern & Fluid UI
- Material You: The app was designed with Material You 3 Expressive in mind.
- Rich Rendering: Markdown support with LaTeX for math, code highlighting, and tables.
Additional Modules
- Image Generation: Dedicated interface for generating images using supported models.
- Text-to-Speech (TTS): Supports system TTS or other providers.
Privacy & Data
- Local-First: Chat history and vector memory are stored locally on your device.
- WebDAV Backup: Securely sync and backup your data to any WebDAV-compatible server.
Built With
- Kotlin & Jetpack Compose
- Koin for Dependency Injection
- Room & DataStore for persistence
- WorkManager & AlarmManager for reliable background tasks
- QuickJS for JavaScript integration
Credits
- Original Project: RikkaHub
- Image cropper is an edited version of the image editor found in LavenderPhotos
- Made with various AI Agents
Note: This project is a fork and may contain modifications or features not present in the original RikkaHub repository.