jieapi/aicode
View on GitHub ↗在 Android 上运行的 AI 代码编辑器,内置 Linux 终端、AI Agent 与 MCP 协议。
20 ★5 forksKotlinUpdated 19d ago
What you need to know
Android AI coding tool (Kotlin, Jetpack Compose) that pairs a local Alpine Linux terminal (Termux + PRoot) with AI agents, Git integration, remote SSH execution, and MCP client support (stdio or remote HTTP) to turn a phone into a mobile coding workstation.
Install
./gradlew :app:assembleUniversalDebug ./gradlew assembleRelease
Usage
- •Run AI agents with Anthropic (Claude), OpenAI (GPT) or Gemini backends that can read/write files and execute shell commands in the built-in Linux container.
- •Connect a remote SSH server as the execution backend (exec channel for commands, SFTP for file I/O, shell channel for terminal) with auto-reconnect.
- •As an MCP client, add local (stdio) or remote (HTTP) MCP servers to extend agent tools.
- •Use built-in visual Git operations (status/branch/commit/tag) and SFTP/FTP workspace sync.
Key features
- ✓Built-in PRoot Alpine Linux container + Termux terminal emulator with background sessions and multi-tab management.
- ✓Remote SSH mode for working on remote projects from the phone.
- ✓MCP protocol client (stdio and HTTP) for dynamically extending tool capabilities.
- ✓Markdown rendering in chat, customizable system prompts that survive app upgrades.
- ✓Three release flavors (armsolo / x86solo / universal) matching CPU architecture and container images.
Best for
Developers who want an on-device AI coding environment with a real Linux terminal on Android, or a remote SSH workstation in their pocket.
Caveats
- ⚠Android 8.0+ (API 26), arm64-v8a or x86_64 devices only.
- ⚠targetSdk is locked to 28 to bypass Android 10+ W^X policy so PRoot can execute — a deliberate limitation.
- ⚠Wrong-architecture packages cannot run PRoot; universal build is large.
- ⚠GPL-3.0 licensed.
Platforms: Android · Remote · LocalClients: MCP client (connects to stdio/HTTP MCP servers)
Reviewed 2026-08-18
Topics
- Stars
- 20★
- Forks
- 5
- Language
- Kotlin
- License
- GPL-3.0
- Created
- 2026-07-12
- Last push
- 2026-08-16