An AI-powered code editor for Android
Cursor / Windsurf β but open source and runs on your phone.
Xed-Editor is a full-featured code editor for Android that brings desktop-class development to your phone. Built on a modern Kotlin + Jetpack Compose stack, it packs in a proper terminal, language server support, and a multi-agent AI system β all running locally with zero telemetry.
Forked from Rohit Kushvaha's original work, actively maintained by algospider (Mohan Sharma).
- Native vibe-coding agent β multi-pipeline architecture (GenerationHandler, transformer chain, 30+ tools, security hooks, context memory)
- Multi-provider β OpenAI-compatible APIs, Google AI, Claude, Gemini CLI, OpenCode, Codex CLI, Antigravity
- MCP bridge β external agents can hook into the same editor tooling via the Model Context Protocol
- On-device β no data leaves your phone unless you configure otherwise
- Full Termux-based terminal with proot/Ubuntu chroot support
- Session management, extra keys, customizable keybinds
- Working directory integration with the editor
- Diagnostics, completions, go-to-definition, hover documentation
- Languages: Python, TypeScript/JavaScript, HTML, CSS, JSON, XML, Markdown, Bash
- Dynamic file-type registration and extensible server management
- Syntax highlighting, minimap, multi-cursor editing, code folding, bracket matching
- Drag-and-drop split panes, smart toolbar, full-screen mode
- Custom fonts for editor, terminal, and UI
- Index-based code search via Room DB (persistent, fast)
- Find/replace across files, command palette
- Git status and file information in properties panel
- Material 3 theming with dynamic colors
- Custom fonts, icon packs, keybinds, auto-closing brackets
- Plugin system with extension repository and detail screens
- Zero telemetry β no Firebase, no analytics, no tracking
- Your code stays on your device. No phone-home.
| Layer | Technology |
|---|---|
| Language | Kotlin 2.3.0 |
| UI | Jetpack Compose + Material 3 |
| Editor Engine | SoraX (TextMate grammars, Tree-sitter, Monarch) |
| Build | AGP 8.13.1, Gradle 8.x, KSP |
| Networking | Ktor, OkHttp (with SSE) |
| Persistence | Room, DataStore Preferences |
| AI/LLM | OpenAI-compatible APIs, Gemini, Claude, Anthropic |
| Protocol | Model Context Protocol (MCP) Kotlin SDK |
| Terminal | Termux (emulator + view) |
| Git | JGit |
| Min SDK | 26 (Android 8.0) |
- Download the latest APK (requires Android 8.0+)
- Open the AI sheet from the toolbar
- Add an API key for your preferred AI provider
- Start coding β just type what you want done
Nightly debug builds are available via GitHub Actions. Grab them if you're feeling adventurous.
Xed-Editor/
βββ app/ # Main application module
βββ core/
β βββ main/ # Core app logic
β βββ ai/ # AI integration layer
β βββ vibe-coding/ # Vibe-coding agent system
β β βββ ai-core/ # Core AI abstractions
β β βββ ai-models/ # LLM model definitions
β β βββ ai-providers/ # Provider implementations
β β βββ ai-service/ # AI service orchestration
β β βββ ai-streaming/ # Streaming response handling
β β βββ ai-integration/ # Integration glue
β β βββ ai-mcp-client/ # MCP client bridge
β β βββ ai-persistence/ # AI session & context storage
β β βββ agent-runtime/ # Tool execution engine
β β βββ agent-tools-search/ # Code search tooling
β βββ components/ # Shared UI components
β βββ resources/ # Resources & theming
β βββ extension/ # Plugin/extension system
β βββ terminal-emulator/ # Terminal emulation
β βββ terminal-view/ # Terminal UI
β βββ termux-shared/ # Termux integration
βββ soraX/ # SoraX editor engine (submodule)
βββ plugin-sdk/ # Plugin development SDK
βββ baselineprofile/ # Baseline profile module
βββ benchmark/ # Benchmarking module
βββ docs/ # Documentation
βββ scripts/ # Utility scripts
Releases are triggered manually from GitHub Actions (Android Release CI workflow):
- Go to Actions β Android Release CI β Run workflow
- Enter the version name (or leave blank to use
version.properties) - Optionally add changelog notes β defaults to
CHANGELOG.md - The workflow builds a signed APK, creates a GitHub release, and auto-bumps
versionCode
./scripts/bump-version.sh patch # 3.2.9 β 3.2.10
./scripts/bump-version.sh minor # 3.2.9 β 3.3.0
./scripts/bump-version.sh major # 3.2.9 β 4.0.0
./scripts/bump-version.sh manual 3.5.0 # specific versionBefore running the release, add notes to
CHANGELOG.mdunder the new version header.
The native vibe-coding agent uses a pipeline architecture:
- GenerationHandler β manages multi-step LLM interactions (model calls, tool call loops, compaction, doom-loop detection)
- Transformer chain β input/output transformers for placeholders, prompt injection, think tags, base64 images, lorebook documents
- Tool system β 30+ tools for reading/writing files, search, command execution, git, LSP queries, web fetching
- Security hooks β blocks dangerous patterns (eval, pickle, SQL injection) before writes
- Context memory β tracks project structure, recent edits, and tool history across the session
Under the hood it talks to any OpenAI-compatible API, Google AI, Claude, or custom providers you configure. The MCP bridge allows external agents to hook into the same editor tooling.
Because nothing on Android had all of these in one package:
| Feature | Xed-Editor | Others |
|---|---|---|
| AI agents | β Native + multi-provider | β Rare or proprietary |
| Full terminal | β Termux-based | β Limited or none |
| LSP support | β Multi-language | β Often missing or basic |
| Open source | β GPLv3 | β Usually closed |
| Privacy | β Zero telemetry | β Analytics galore |
| Active dev | β Regular releases | β Abandoned |
- Discord β active community chat
- Telegram β announcements channel
- GitHub Issues β bugs, feature requests, ideas
- Contributing Guide β how to build & contribute
GPL v3 β see LICENSE.
Copyright (C) 2025 Rohit Kushvaha β Fork maintained by algospider (Mohan Sharma)


