Release2026-10-29

Draw Things AI released the source code for Local Code. It is a private AI agent for Mac, iPad and iPhone. The app runs DeepSeek 4.1 on device. It includes Python, Node.js and a shell built in. Models are streamed from disk to fit in memory. The agent works inside an app sandbox. It can read and write only in allowed folders. Built-in tools include a browser, document editors and image generation. Performance benchmarks show faster prefill speeds than MLX-Serve and oMLX on M5 Ultra. The code is available on GitHub.

What changed

Local Code source code was not publicly available.

What it unlocks

Building and modifying a private AI agent that runs on Apple devices with built-in tools.

  • 376 GB to 412 GB download size for DeepSeek 4.1 Flash 1017
  • 4,600 tokens/sec prefill on M5 Ultra for DeepSeek 4.1 Flash 1017
  • 203 GB engram file shared by DeepSeek 4.1 Flash 1017 quantizations

What you need to act on it

  • an Apple Silicon Mac, iPad, or iPhone
  • sufficient device memory for selected model

Sources

Send this to someone who needs it

Shares the story and its sources. Nothing about you.

What does this mean for your job?

This is the story as everyone gets it. Once a week we send you the version written for your role — what changed, why it matters for the work you actually do, and one thing to try. Free while we tune it.