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: Devin's open-source vulnerability-fixes agent plugin (Melvin Vivas on X · notes), Gemini 4 Argon now available in Devin (Melvin Vivas on X · notes), Devin Defaults to Opus 5.5 in Normal and Fusion Modes (Cloud) (Melvin Vivas on X · notes), Devin: Preview Websites in Its Built-in Cloud Browser (Melvin Vivas on X · notes) and 57 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: Meetily: Open-Source Local AI Meeting Notes App (Melvin Vivas on X · notes), New Gemma Developer Documentation Site (Melvin Vivas on X · notes), A100 80GB GPUs in Google Colab via Google AI Pro plans (Melvin Vivas on X · notes), A day of work done from a phone with Grok Bot agents (Melvin Vivas on X · notes) and 32 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