Run OpenCode on Your Android Phone

Acode is the only Android IDE that lets you run OpenCode — the open-source AI coding agent — natively in a full Alpine Linux terminal. Free. Open source. No API costs.

Download Acode — Free Setup Guide

AI Coding Tools Are Locked to Desktops

Most AI coding tools — Claude Code, Codex, Cursor, Windsurf — are either desktop-only or require expensive API subscriptions. There's been no open-source alternative that works on mobile.

OpenCode is an open-source AI coding agent that anyone can run for free. But like other coding agents, it needs a real terminal environment — something Android apps typically don't provide.

Regular Android code editors can't help. They can edit text, but they can't run CLI tools, install packages, or execute AI agents. They're editors, not development environments.

The combination of open-source AI coding + mobile development has been impossible — until Acode brought a real Linux terminal to Android.

Acode + OpenCode: Open-Source AI Coding on Android

Acode provides a full Alpine Linux terminal on Android. Install Node.js with apk add nodejs npm git and you have everything needed to clone and run OpenCode.

Since OpenCode is open source (github.com/anomalyco/opencode), there are no API costs or subscriptions. It's completely free to use, matching Acode's own MIT license philosophy.

OpenCode runs in Acode's terminal as an agentic AI coder — it can create, edit, and manage files across your project. View every change in Acode's editor with full syntax highlighting.

This is the first time open-source AI coding is available on Android. No vendor lock-in. No API bills. Just real AI development tools running on your phone.

Install OpenCode on Acode

  1. Install Acode: Download Acode from Google Play or F-Droid.

  2. Initialize the Terminal: Tap the terminal icon in Acode. Alpine Linux will install via proot on first launch. Takes about 60 seconds.

  3. Install Dependencies: Run in Acode's terminal:
    apk update && apk add nodejs npm git

  4. Clone or Install OpenCode: Clone the OpenCode repository:
    git clone https://github.com/anomalyco/opencode.git
    Or follow the project's installation guide for the latest instructions. Install dependencies with npm.

  5. Configure Your AI Provider: OpenCode supports multiple AI backends. Set your API key (Anthropic, OpenAI, or others) as an environment variable:
    export ANTHROPIC_API_KEY=your-key-here
    Or configure a local model for fully offline AI coding.

  6. Run OpenCode: Start OpenCode in Acode's terminal. It can now access your files, create new code, and help you develop — all from your Android phone. Use acode . to open your project in the editor.

Why OpenCode + Acode Is Powerful

Completely Free AI Coding

OpenCode is open source and free. Acode is open source and free. Combine them for AI-powered coding on Android with zero software costs.

No Vendor Lock-In

OpenCode supports multiple AI backends — Anthropic, OpenAI, local models. You're not locked into one provider. Switch anytime based on your needs.

Full Transparency

Both Acode and OpenCode are open source. Every line of code is visible and auditable. No black boxes. No hidden telemetry.

Terminal + Editor Workflow

OpenCode runs in Acode's terminal while you edit files in the editor. Use the acode CLI to bridge both environments for seamless development.

Full Linux Environment

Beyond AI coding, Acode gives you a complete Alpine Linux system. Install any package with apk. Use Git, Python, compilers, databases — everything you need.

Community-Driven

Both Acode (5,500+ GitHub stars) and OpenCode are community projects. Contribute to either, build plugins, and shape the future of mobile development.

Frequently Asked Questions

Is OpenCode really free?

Yes. OpenCode is an open-source project under a permissive license. There are no subscription fees or API markups. You may need API keys from your chosen AI provider (Anthropic, OpenAI), which have their own costs — but the tool itself is free.

Can OpenCode work completely offline?

If you configure OpenCode to use a local AI model (running in Acode's terminal or on a local server), it can work offline. With cloud AI providers, an internet connection is needed.

What's the difference between OpenCode and Claude Code?

Claude Code is Anthropic's proprietary tool tied to their API. OpenCode is community-built, supports multiple AI backends, and is fully open source. Both run in Acode's terminal — you can use whichever fits your workflow.

Is Acode's terminal powerful enough for AI coding?

Yes. Acode's proot-based Alpine Linux terminal provides a complete Linux environment. You can install Node.js, Python, compilers, and any CLI tool. It handles AI agent workloads without issues.

Does Acode cost anything?

Acode is free and open source under the MIT license. Optional in-app purchases are available for premium features, but the core editor, terminal, and plugin system are completely free.

Can I contribute to OpenCode through Acode?

Yes! Clone the OpenCode repo in Acode's terminal, make changes in the editor, test in the terminal, and push back to GitHub — all from your phone.

Related Pages

Ready to Start Coding on Android?

Acode is free, open source, and trusted by 3.6M+ developers. Get it now.

Download Acode — Free