zafiro
Powerful, Elegant BYOK AI agent for Android with phone control, native Shell & Python 3, Skills, and MCP support. Built with Material 3 Expressive. Works via Sh
What is zafiro?
Powerful, Elegant BYOK AI agent for Android with phone control, native Shell & Python 3, Skills, and MCP support. Built with Material 3 Expressive. Works via Shizuku
Overview of zafiro
What it is
Zafiro is an open-source intelligent agent for Android devices that supports Bring Your Own Key (BYOK). It can understand the screen, control the device, and perform operations across apps with full support for Skills, MCP, and memory. It runs Shell and Python 3 natively and can wrap tools for tasks like web search, file downloads, or connecting to a remote development machine via SSH.
Key features
- Modern UI Design Language: Material 3 Expressive & Apple Liquid Glass, personalized theming with dark mode and dynamic color extraction, multilingual support (English, 中文, 日本語, Español, Русский), background interaction via floating ball and notification tray.
- Device Control: Screen interaction to open apps, pick music, order food, etc.; an on-screen pointer shows every step the agent takes.
- Agent System: Built-in support for OpenAI, Anthropic, Google Gemini, DeepSeek, OpenRouter, Kimi, Alibaba Bailian, SiliconFlow, and more; full support for Skills and MCP; permission management with configurable rules; context management with compression; conversation management with branching, rewinding, and regeneration.
- Python Tools: Run Python 3 natively on the device; meta-tooling to wrap custom Python tools; built-in scenarios for web search, web page reading, and APK installation.
- Remote Environments: Use Linux commands via Termux; connect to a dev machine or server via SSH; issue dev tasks from phone to a remote Coding Agent via Claude Code.
- Voice Assistant Takeover: Through LSPosed framework (requires Root), Zafiro can take over system voice assistants like Breeno or XiaoAi, with keyword-based routing.
Use cases
- Automating phone tasks such as opening apps, ordering food, or controlling music.
- Running Python scripts directly on the Android device without a separate server.
- Connecting to remote servers or development machines via SSH for command execution.
- Using Zafiro as a replacement for the system voice assistant (with Root and LSPosed).
Getting started
Build from source: bash ./gradlew assembleDebug Requirements: Android Studio (or Android SDK + JDK 17) and an Android 11 or above device. For release signing, use your own signing key with the provided keytool and Gradle commands.
License and pricing
MIT License. Open source.
Based on the project's public README and repository metadata.