OpenCode AI
By ᴠɪᴄᴛᴏᴢᴇᴇ
Version 0.3.1
Version License Acode Run the OpenCode AI coding agent inside Acode Editor Features • Installation • Requirements • Build • Contributing OpenCode AI is an Acode plugin that launches OpenCode — an AI coding agent — as a background HTTP server inside Acode's built-in Alpine Linux terminal, then embeds its web UI in a full-page iframe. Instead of running OpenCode on a separate machine, this plugin runs it locally on your device and talks to it over loopback, giving you a fully self-contained AI coding workflow inside Acode. Screenshot Requirements Node.js and npm must be available in Acode's built-in Alpine Linux terminal, and OpenCode is installed automatically on first launch. Acode must be a recent version with Terminal and Executor API support: Features - Local OpenCode server. Runs OpenCode as a background HTTP server inside Acode's Alpine terminal — no external machine required. - Automatic install. Detects whether OpenCode is present and installs it on demand ( npm install -g @opencode/cli ). - V2 ready with automatic sign-in. V2 servers start password-protected and the embedded UI signs in on its own; V1 installs keep working, and updating migrates V1 → V2. - Dedicated port. Serves on 127.0.0.1:4123 , so it never clashes with a manually started server. Installation 1. Open Settings 2. Select Plugins 3. Search for "OpenCode AI" 4. Tap Install 5. Restart Having trouble? If the automatic install fails, you can run the installation commands manually in terminal make ur research just incase How It Works The plugin follows a Check → Install → Serve → Render workflow: | Stage | Responsibility | | ------------------- | ------------------------------------------------------------------------- | | Check | Verify OpenCode is installed and whether the server is already running | | Install | Install OpenCode via npm install -g @opencode/cli if missing | | Serve | Start opencode serve --port 4123 --hostname 127.0.0.1 in the background | | Render | Embed the web UI in an iframe and reactively reflect the current state | Project Structure Contributing Contributions are welcome! Please feel free to submit a Pull Request and leave a ⭐ Credits & Attribution This project (the Acode OpenCode integration) is licensed under the MIT License. See the LICENSE file. - OpenCode — https://github.com/anomalyco/opencode Licensed under the MIT License. Support & Contact - Issues :…