<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: KRISHNA </title>
    <description>The latest articles on DEV Community by KRISHNA  (@spidertox).</description>
    <link>https://dev.to/spidertox</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4279629%2Fb36d59a4-df9a-496a-851e-797170f08d33.png</url>
      <title>DEV Community: KRISHNA </title>
      <link>https://dev.to/spidertox</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/spidertox"/>
    <language>en</language>
    <item>
      <title>How I Built a Mobile Workspace to Run Claude Code and AI Agents on Android</title>
      <dc:creator>KRISHNA </dc:creator>
      <pubDate>Thu, 03 Dec 2026 04:55:00 +0000</pubDate>
      <link>https://dev.to/spidertox/how-i-built-a-mobile-workspace-to-run-claude-code-and-ai-agents-on-android-4p14</link>
      <guid>https://dev.to/spidertox/how-i-built-a-mobile-workspace-to-run-claude-code-and-ai-agents-on-android-4p14</guid>
      <description>&lt;p&gt;The Problem: Coding on the Go is Broken&lt;br&gt;
As developers, we've all been there. You're away from your desk, maybe commuting or traveling, and you get an idea or need to fix a quick bug. You pull out your phone, open an SSH client, and try to use Claude Code or Codex.&lt;/p&gt;

&lt;p&gt;It’s a terrible experience. Mobile terminals truncate long outputs, ANSI escape codes break, and you lose the structured UI—like tool approvals, diff viewers, and thinking blocks—that makes these AI agents so powerful.&lt;/p&gt;

&lt;p&gt;So, I decided to build Intelli, an Android app that gives you a full Linux workspace and a native UI for AI coding agents, right on your phone.&lt;/p&gt;

&lt;p&gt;Here is a deep dive into how it works under the hood.&lt;/p&gt;

&lt;p&gt;The Architecture: No Root, Real Linux&lt;br&gt;
The biggest challenge was providing a real Linux environment without requiring users to root their devices. I ended up using a patched Termux userland (ARM64). It runs silently in the background, providing standard Linux tools, package managers, and the ability to compile code (Kotlin, Flutter, React Native) directly on the device.&lt;/p&gt;

&lt;p&gt;The "Go Bridge" and Structured JSON&lt;br&gt;
The initial versions of the app just scraped the terminal screen for text. But AI agents like Claude Code output complex, structured data.&lt;/p&gt;

&lt;p&gt;To solve this, I wrote a custom Go bridge (agy_ide_bridge). It sits between the Linux environment and the Android UI.&lt;/p&gt;

&lt;p&gt;· The Go bridge launches the agent CLIs (Claude Code, Codex, OpenCode) as separate processes.&lt;br&gt;
· It communicates over gRPC/WebSockets using structured JSON (like stream-json for Claude Code).&lt;br&gt;
· The Android UI (built with Jetpack Compose) receives this JSON and renders it natively.&lt;/p&gt;

&lt;p&gt;This is why Intelli can show live prompt-cache countdowns, context-window meters, and native diff views instead of just a wall of text.&lt;/p&gt;

&lt;p&gt;Adding MCP (Model Context Protocol) Support&lt;br&gt;
I wanted the agents to be able to interact with the phone. I bundled 10 built-in MCP servers into the app, which can be toggled per agent.&lt;/p&gt;

&lt;p&gt;· Browser MCP: Lets the AI open tabs, click elements, and run JavaScript.&lt;br&gt;
· ADB/Shizuku MCP: Allows device-level automation (if the user enables it).&lt;br&gt;
· File Ops: Read/write files securely.&lt;/p&gt;

&lt;p&gt;Since security is a huge concern, all agents run in a sandboxed environment. API keys and sensitive data are stored in a Private Space Vault encrypted with AES-256-GCM and Android's hardware Keystore. The agents cannot read this vault.&lt;/p&gt;

&lt;p&gt;Honest Limitations&lt;br&gt;
It’s not all perfect. Building this came with trade-offs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;ARM64 Only: Right now, it only supports ARM64 architecture.&lt;/li&gt;
&lt;li&gt;Bootstrap Time: The initial Linux setup takes a few minutes on the first launch.&lt;/li&gt;
&lt;li&gt;Battery &amp;amp; Heat: Running local compiles and AI agents will drain your battery. It won't replace your laptop for massive projects, but for debugging and scripting, it's a lifesaver.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Try it out and Let me know what you think&lt;br&gt;
I built Intelli because I genuinely needed it. It’s free to try right now. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8s7qi8wy2cp2ya034enl.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8s7qi8wy2cp2ya034enl.jpg" alt=" " width="800" height="391"&gt;&lt;/a&gt;&lt;a href="https://spidertox.github.io/Intelli/" rel="noopener noreferrer"&gt;https://spidertox.github.io/Intelli/&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;I would love to hear your thoughts on the Go bridge architecture, how you handle remote environments on mobile, or if you have any ideas for new MCP servers!&lt;/p&gt;

&lt;p&gt;Let's discuss in the comments! 👇&lt;/p&gt;

</description>
      <category>ai</category>
      <category>android</category>
      <category>linux</category>
      <category>mobile</category>
    </item>
  </channel>
</rss>
