🧠

OpenClaude

Claude Code · On Android · No Server

The open-source Claude Code agent running natively on your Android phone. Full Linux environment, 19 tools, multi-agent swarms, MCP integration — provider-agnostic. No root. No server. No PC.

Download APK Google Play GitHub Claw Code Docs

In action

Claude Code, on a phone

OpenClaude Agent Multi-Thread Sessions

Origin

They leaked Claude Code

In March 2026, Anthropic accidentally published 512K lines of Claude Code source via an npm source map. The community rebuilt it as Claw Code (48K+ ★), then forked it as OpenClaude with multi-provider support. We put it on Android.

Capabilities

Full agent, your pocket

OpenClaude Mobile brings the complete Claude Code agent architecture to Android — 19 built-in tools, multi-agent swarms, MCP integration, and support for 10+ LLM providers. All running in an embedded Linux environment.

🧠

Claude Code Agent

Full OpenClaude agent — 19 tools, query engine, session memory, transcript compaction. The real thing.

🔧

19 Built-in Tools

File I/O, bash execution, grep, glob, Git operations, web search, notebook editing — all permission-gated.

👥

Multi-Agent Swarms

Spawn sub-agents for parallel tasks. Decompose complex work into independently executable subtasks.

🔌

MCP Integration

Model Context Protocol with 6 transport types — Stdio, SSE, HTTP, WebSocket, SDK, ClaudeAiProxy.

🔮

Provider Agnostic

Claude, OpenAI, Gemini, Ollama, DeepSeek, OpenRouter, GitHub Models — not locked to any vendor.

🐧

Embedded Linux

Complete Termux-derived userland — sh, apt, Bun, Node.js, Python, SSL certs. Extracted from APK.

Any model

Pick your provider

OpenClaude is provider-agnostic. Use the /provider command or environment variables to switch models on the fly.

🤖
OpenAI
GPT-4o, o3, GPT-4.5
🧠
Claude
Opus, Sonnet, Haiku
💎
Gemini
API key or ADC
🦙
Ollama
Local, no API key
🌐
OpenRouter
100+ models
🐋
DeepSeek
V3, Coder
🐙
GitHub Models
Interactive onboarding
☁️
Bedrock / Vertex
AWS / GCP

Under the hood

Agent architecture, on device

┌────────────────────────────────────────────────────────┐
                 Android Device                          
                                                        
  ┌──────────────────────────────────────────────────┐  
             OpenClaude Agent                         
                                                      
    Query Engine  → LLM API (streaming, caching)     
    Tool System   → 19 built-in tools                 
    MCP Client    → 6 transport types                 
    Agent Swarms  → parallel sub-agents               
    Session Mgr   → persistence, compaction           
  └──────────────────────────────────────────────────┘  
                                                        
  Rust Core    → 6 crates, 16 runtime modules        
  Bun / Node   → runtime + dependencies               
  Python 3.10  → agent orchestration                   
  Git, rg, fd  → dev toolchain                         
└────────────────────────────────────────────────────────┘

Boot sequence

From cold start to ready

Battery & Service

Request Doze exemption. Start foreground service with persistent notification.

Bootstrap Extraction

Extract Termux bootstrap into app’s private storage. Fix hardcoded paths.

Runtime Setup

Install Bun, Node.js, Python, ripgrep, and build dependencies via proot Ubuntu.

OpenClaude Install

Install OpenClaude globally. Build Rust core. Configure tool permissions.

Provider Auth

Run /provider for guided setup or set env vars for your LLM.

Agent Ready

Full agent loop active. 19 tools loaded. MCP connected. Start coding from your phone.

Get started

Install & run

terminal
# option 1: npm install npm install -g @gitlawb/openclaude openclaude # option 2: build from source git clone https://github.com/friuns2/openclaude-android.git cd openclaude-android bun install && bun run build node dist/cli.mjs # option 3: just download the APK # → https://friuns2.github.io/openclaude-android/

Or download the latest APK directly, or get it from Google Play. For Termux setup, see ANDROID_INSTALL.md.

Stack

What’s inside

LayerTechnologyDetails
🧠 AI AgentOpenClaude (Claude Code architecture)19 tools, query engine, swarms
🦀 PerformanceRust core (6 crates, 16 modules)JSON parser, OAuth, terminal
🐍 OrchestrationPython agent layer3.10+
⚙️ RuntimeBun + Node.js1.3+ / 22+
🔮 LLM ProvidersProvider-agnostic (10+)Claude, OpenAI, Gemini, Ollama…
🔌 ProtocolMCP (6 transport types)Stdio, SSE, HTTP, WS, SDK
📱 AndroidKotlin + WebView2.1.0
🐧 LinuxTermux bootstrap (aarch64)

Latest upstream release

Awaiting first release

Synced from Gitlawb/openclaude

Release notes will appear here automatically when upstream publishes a release.

All Releases