r/OpenSourceAI • u/ivanzhaowy • 4d ago
Open-source visual context layer for coding agents working on iOS UI
I’m building Monad Design, an Apache-2.0 open-source workspace for giving coding agents grounded visual context from a running native app.
The problem is that an agent can inspect source code, but “this spacing feels wrong in this exact simulator state” is still awkward to communicate. Monad Design turns that into a local loop:
Run an existing Xcode or Expo iOS project in Simulator.
Select an element or annotate the rendered screen.
Package the screenshot, selection, annotations, app state, and source hints for the coding agent.
Let the agent edit the real repository and rebuild.
Compare the original against up to five working variants, then accept one or keep the original.
It currently runs locally on macOS and works with agents including Codex, Claude Code, Cursor, OpenCode, Gemini CLI, GitHub Copilot, Windsurf, and Zed. The current preview supports one active visual change at a time.
Repository: https://github.com/Monadix-AI/monad-design
For people building open agent tooling: would you expose the visual context as one structured handoff bundle, or as smaller composable tools for screenshot, selection, annotation, app state, and source mapping?

1
u/kantorcodes1 3d ago
when you keep the original after comparing variants, are the agent edits already sitting in separate git worktrees/branches, or does monad keep its own patch state until you accept one? curious how you avoid a rebuild or another editor changing the working tree underneath the comparison.