Using Devin SWE-2 Max to Build an iOS App Running Gemma 4 E2B On-Device
Melvin Vivas · X video post · 2026-09-19 · 0:55 · 9,583 views · Open on X
Topics: AI Dev Tools & Productivity, Portfolio Projects · Level: intermediate
Summary
Melvin Vivas shows a short demo (no narration) of an iOS app built by the AI coding agent Devin. The app runs the small Gemma4-E2B model locally on an iPhone. He says he built it with Devin's SWE-2 Max model, which he says is free right now. The post shows what agentic coding tools can do, but it doesn't explain how the app was built.
Key points
- Devin, the AI software-engineering agent from Cognition, was asked to build a complete iOS app from a prompt.
- The app runs the Gemma4-E2B model locally on the iPhone, with on-device inference and no cloud API.
- The model used inside Devin was SWE-2 Max, which the creator says was free to use when he posted (Sept 2026).
- Gemma 'E2B' variants are small, edge-sized models built for phones and other devices, which is why they can run on an iPhone.
- The video has no narration, so implementation details are not shown. Treat it as a demo, not a tutorial.
Resources mentioned
- Devin · tool · x.com · paid
A desktop app from the makers of the Devin coding agent for planning, delegating, reviewing and shipping work across fleets of local and cloud coding agents.
Also in: Using the Devin iOS App to Build iOS Apps (Quick Demo) (Melvin Vivas on X · notes), Use Your ChatGPT Plus/Pro Subscription to Run Devin (Melvin Vivas on X · notes), OpenAI DevDay recap: Dots, GPT-6.1 Sol, Codex Cloud, Agents API (Melvin Vivas on X · notes), Devin price cuts and top score on FrontierCode 1.1 Extended (Melvin Vivas on X · notes) and 44 more - SWE-2 · tool · cognition.com · free
Cognition's SWE-2 coding model (Max tier) that runs inside Devin for agentic software tasks.
Also in: Comparing Coding Models on the Same Task in Devin iOS (Melvin Vivas on X · notes), Devin's SWE-2 Coding Model Is Free for a Limited Time (Until Oct 8/15) (Melvin Vivas on X · notes), Devin's SWE-2 model is free on paid plans for a limited time (Melvin Vivas on X · notes), Using Devin CLI with the free SWE-2 model for sysadmin tasks (Melvin Vivas on X · notes) and 8 more - Gemma 4 · tool · ai.google.dev · free
Google's family of open-weight models in several sizes, built to run on devices and offline, with multimodal and agentic abilities, and open to fine-tuning.
Also in: Gemma 4 Runs Locally On-Device in the Antigravity SDK (Melvin Vivas on X · notes), On-Device AI: Running Gemma 4 E2B Offline on an iPhone with LiteRT (Melvin Vivas on X · notes), Running Gemma 4 Models Offline on an iPhone (Melvin Vivas on X · notes), Fine-tuning Gemma4-E2B on your own tweet style with Unsloth (Melvin Vivas on X · notes) and 25 more
Try this
- Try Devin's SWE-2 Max while it's free and give it a full app-building task.
- Use an AI coding agent to build an iOS app that runs a small open model (e.g., Gemma 4 E2B) entirely on the iPhone.
More in AI Dev Tools & Productivity
- Codex Plus tip: avoid Astra to save your usage limits
- Devin Supports Multiple Models, Including Open Models, to Save on Limits
- Devin SWE-2 Max Builds an iOS App Running Gemma 4 E2B On-Device
- Free coding with the SWE-2 model in Devin
- Claude Code Now Reads AGENTS.md When CLAUDE.md Is Missing
- SWE-2 Is Currently Free in Devin Desktop