AI Annotation
Point. Write precise feedback. AI understands exactly what you mean.
A SwiftUI debug overlay for macOS that lets you visually select any UI component and generate AI-friendly markdown. Your AI assistant will know exactly which element you're talking about.
The Problem
AI coding assistants struggle to identify exactly which UI element you're talking about.
Text Descriptions Are Ambiguous
'The blue button at the bottom' could match multiple elements. Your AI assistant has to guess which one you mean.
Screenshots Lack Context
Images show what the UI looks like, but not the technical details your AI needs — identifiers, hierarchy, frames.
How It Works
A Swift Package you can integrate into any SwiftUI app. One line of code, instant clarity.
Activate
Tap the floating annotation button to enter debug mode
Select
Hover and click any UI element to select it
Annotate
Add your feedback or change request
Paste
Structured markdown is copied — paste into your AI
AI-Friendly Output
Structured markdown that gives your AI assistant everything it needs.
**Element:** Button [signInButton]
**Hierarchy:** TabView > ScrollView > VStack > Button
**Frame:** (16, 420, 343, 50)
Change the button color to match the brand guidelines.
Built for Developer Workflows
Every feature designed to make AI-assisted development faster.
Visual Selection
Hover highlight and click-to-select. No guessing which element you mean.
Smart Detection
Automatically prioritizes accessibility identifiers for precise targeting.
Hierarchy Path
Full view hierarchy from root to element. Your AI knows exactly where it is.
Annotation History
Collect multiple annotations before copying. Review all at once.
Frame Coordinates
Exact position and size. Useful for layout debugging.
Keyboard Shortcuts
Enter to copy, ESC to close. Built for speed.
Quick Setup
Add AI Annotation to your project in under a minute.
Add Package Dependency
Add to Your Root View
Start Annotating
Click the floating button
Select any UI element
Paste markdown to AI
Technical Details
A lightweight Swift Package with no dependencies.
Requirements
- Platform — macOS 13.0+ / iOS 16.0+
- Swift — 5.9+
- Framework — SwiftUI only
- Dependencies — None
Open Source
- License — MIT (with attribution)
- Contributions — PRs welcome
- Issues — GitHub Issues
- Discussions — GitHub Discussions
Inspired by Agentation.dev
This tool brings the same concept to native SwiftUI apps. Agentation pioneered visual UI annotation for web applications — now you can have the same power in your iOS and macOS development workflow.
Visit Agentation.devStart Building Better with AI
Open source, easy to integrate, and designed for the way developers actually work.